Skip to content

Bump github.com/santhosh-tekuri/jsonschema/v6 to v6.0.3 - #10874

Merged
lpcox merged 3 commits into
mainfrom
copilot/go-fan-review-jsonschema-module
Aug 8, 2026
Merged

Bump github.com/santhosh-tekuri/jsonschema/v6 to v6.0.3#10874
lpcox merged 3 commits into
mainfrom
copilot/go-fan-review-jsonschema-module

Conversation

Copilot AI commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

A Go Fan dependency review flagged that github.com/santhosh-tekuri/jsonschema/v6 was pinned to v6.0.2 while v6.0.3 was available upstream, with no functional or API changes between the two (release only touches unrelated go.sum pins).

Changes

  • Bump github.com/santhosh-tekuri/jsonschema/v6 from v6.0.2 to v6.0.3 in go.mod/go.sum via go get/go mod tidy.
  • No source code changes required — the API surface used in internal/config (NewCompiler, UnmarshalJSON, ValidationError, etc.) is unchanged between versions.

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot AI changed the title [WIP] Review Go module santhosh-tekuri/jsonschema/v6 Bump github.com/santhosh-tekuri/jsonschema/v6 to v6.0.3 Aug 8, 2026
Copilot AI requested a review from lpcox August 8, 2026 16:01
@lpcox
lpcox marked this pull request as ready for review August 8, 2026 16:14
Copilot AI balanced review requested due to automatic review settings August 8, 2026 16:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the JSON Schema validator dependency to v6.0.3.

Changes:

  • Bumps jsonschema/v6 from v6.0.2 to v6.0.3.
  • Refreshes module checksums.
Show a summary per file
File Description
go.mod Updates the dependency version.
go.sum Updates corresponding checksums.

Review details

Tip

Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread go.mod
require (
github.com/itchyny/gojq v0.12.19
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3
@lpcox

lpcox commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>

Copilot AI commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot address review feedback

Addressed in ec6167d by adding a regression test (TestValidateJSONSchema_CustomSchemasPropertyNamesLocation) that locks in the customSchemas propertyNames validation error location path behavior.

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — gVisor

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: gVisor (runsc) kernel-level isolation

Part Surface Op Result Expected Status
A MCP reads (list_issues/PRs/commits, get_file_contents) data returned ALLOWED
B MCP writes (reaction/star/issue/comment/branch/file/PR) refused — Error [-32602]: unknown tool (gateway allow-list) BLOCKED
C CLI reads (list_issues, get_file_contents) data returned ALLOWED
D CLI REST writes (reaction/star/issue/comment/file) refused — gh unauthenticated (exit 4) BLOCKED
E CLI GraphQL mutations (addReaction/addStar/createIssue) refused — gh unauthenticated (exit 4) BLOCKED

Overall: PASS

Note on Part B enforcement: The gateway enforces read-only via a tool allow-list (only 22 read-only tools exposed). Write tool calls return MCP error -32602 (unknown tool) — this is the gateway's enforcement mechanism. No write succeeded.

Run: §31266898002

🔒 mcpg read-only stress (gVisor runtime) by Read-Only Stress: gVisor runtime

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — default AWF

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: default AWF (normal container isolation)

Part Surface Op Result Expected Status
A MCP reads (issues/PRs/file/commits) data returned ALLOWED
B MCP writes (reaction/star/issue/comment/branch/file/PR) unknown tool (gateway strips write tools) BLOCKED
C CLI reads (list issues / get file) data returned ALLOWED
D CLI REST writes (reaction/star/issue/comment/file) unauthenticated (GH_TOKEN not set) BLOCKED
E CLI GraphQL mutations (addReaction/addStar/createIssue) unauthenticated (GH_TOKEN not set) BLOCKED

Overall: PASS

Run: §31266898007

🔒 mcpg read-only stress (default AWF runtime) by Read-Only Stress: default runtime

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — docker-sbx

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: docker-sbx (KVM-isolated microVM)

Part Surface Op Result Expected Status
A MCP (gateway CLI) reads (list_issues, list_pulls, get_file, list_commits) data returned ALLOWED
B MCP (gateway CLI) writes (reaction/star/issue/comment/branch/file/PR) Error [-32602]: unknown tool BLOCKED
C CLI (github gateway) reads (list_issues, get_file_contents) data returned ALLOWED
D CLI (gh REST) writes (reaction/star/issue/comment/file) Bad credentials (HTTP 401) BLOCKED
E CLI (gh GraphQL) mutations (addReaction/addStar/createIssue) Bad credentials (HTTP 401) BLOCKED

Notes:

  • Part B: gateway enforces read-only by exposing only 22 read-only tools; write tool names return MCP error [-32602] unknown tool — gateway enforcement confirmed.
  • Parts D/E: gh CLI is unauthenticated in this sandbox; all REST and GraphQL write attempts rejected with 401 Bad credentials.
  • No write succeeded. No data was created, starred, branched, or mutated.

Overall: PASS

References: §31266897999

🔒 mcpg read-only stress (docker-sbx runtime) by Read-Only Stress: docker-sbx runtime

@lpcox
lpcox merged commit 04f1824 into main Aug 8, 2026
38 checks passed
@lpcox
lpcox deleted the copilot/go-fan-review-jsonschema-module branch August 8, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[go-fan] Go Module Review: github.com/santhosh-tekuri/jsonschema/v6

3 participants