Skip to content

fix test and generation of schema#220

Merged
Yakwilik merged 4 commits into
mainfrom
fix/issues/217
May 3, 2026
Merged

fix test and generation of schema#220
Yakwilik merged 4 commits into
mainfrom
fix/issues/217

Conversation

@Yakwilik
Copy link
Copy Markdown
Member

@Yakwilik Yakwilik commented May 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 2, 2026 23:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the EasyP config schema generation flow so generate.plugins[].opts can describe non-string scalar values, and adjusts tests/artifacts around that behavior in the schema/MCP layer.

Changes:

  • Expanded the generated JSON schema for plugin options to allow number and boolean values, both as scalars and inside arrays.
  • Regenerated the checked-in schema artifacts and added MCP/schema tests covering the new shape.
  • Updated config/test fixtures and one managed-mode test expectation to align with current behavior.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
schemas/easyp-config.schema.json Regenerated latest JSON schema artifact with broader plugin option value types.
schemas/easyp-config-v1.schema.json Regenerated versioned JSON schema artifact to match the schema model changes.
mcp/easypconfig/schema_model.go Source-of-truth schema model now allows numeric/boolean plugin option values and arrays containing them.
mcp/easypconfig/easypconfig_test.go Adds schema-path assertions and helpers for the updated plugin options schema.
internal/core/generate_managed_mode_test.go Adjusts mock expectations for current lockfile interactions in managed-mode generation tests.
internal/config/validate_raw_test.go Extends raw config validation fixture to include boolean and numeric plugin option scalars.
go.mod Adds formatting-only whitespace change.
easyp.yaml Updates the repo’s sample/default config by adding a Python plugin entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread easyp.yaml Outdated
Comment thread go.mod Outdated
Comment thread mcp/easypconfig/schema_model.go
Comment thread mcp/easypconfig/schema_model.go
Comment thread easyp.yaml Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mcp/easypconfig/spec_docs.go Outdated
Comment thread mcp/easypconfig/easypconfig_test.go Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mcp/easypconfig/spec_docs.go
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 22 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mcp/easypconfig/schema_model.go
@Yakwilik Yakwilik merged commit 9f81ba6 into main May 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants