Skip to content

Commit 449b51c

Browse files
authored
πŸ”„ chore: update schema URL to v0.64.2 (#2637)
## Schema URL Update Updates the MCP Gateway JSON schema validation URL from `v0.64.0` to `v0.64.2`. ### Files Changed - `internal/config/validation_schema.go` β€” `schemaURL` variable updated to `v0.64.2` - `internal/config/rules/rules.go` β€” `SchemaURL` constant updated to `v0.64.2` - `internal/config/validation_schema_test.go` β€” hardcoded schema URLs updated to `v0.64.2` ### Why Pinning to a specific release tag ensures reproducible, deterministic configuration validation β€” the schema won't silently change between runs. ### Release Notes See the [gh-aw release notes](https://github.com/github/gh-aw/releases/tag/v0.64.2) for changes in this schema version. > [!WARNING] > <details> > <summary><strong>⚠️ Firewall blocked 1 domain</strong></summary> > > The following domain was blocked by the firewall during workflow execution: > > - `invalidhostthatdoesnotexist12345.com` > > To allow these domains, add them to the `network.allowed` list in your workflow frontmatter: > > ```yaml > network: > allowed: > - defaults > - "invalidhostthatdoesnotexist12345.com" > ``` > > See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information. > > </details> > [!NOTE] > <details> > <summary><b>πŸ”’ Integrity filter blocked 1 item</b></summary> > > The following item were blocked because they don't meet the GitHub integrity level. > > - [https://github.com/github/gh-aw/releases/tag/v0.64.2](https://github.com/github/gh-aw/releases/tag/v0.64.2) `get_latest_release`: has lower integrity than agent requires. The agent cannot read data with integrity below "unapproved". > > To allow these resources, lower `min-integrity` in your GitHub frontmatter: > > ```yaml > tools: > github: > min-integrity: approved # merged | approved | unapproved | none > ``` > > </details> > Generated by [Nightly Schema Updater](https://github.com/github/gh-aw-mcpg/actions/runs/23646102140) Β· [β—·](https://github.com/search?q=repo%3Agithub%2Fgh-aw-mcpg+%22gh-aw-workflow-id%3A+nightly-schema-updater%22&type=pullrequests) > - [x] expires <!-- gh-aw-expires: 2026-04-03T12:29:45.109Z --> on Apr 3, 2026, 12:29 PM UTC <!-- gh-aw-agentic-workflow: Nightly Schema Updater, engine: copilot, model: auto, id: 23646102140, workflow_id: nightly-schema-updater, run: https://github.com/github/gh-aw-mcpg/actions/runs/23646102140 --> <!-- gh-aw-expires-type: pull-request --> <!-- gh-aw-workflow-id: nightly-schema-updater -->
2 parents ccbb875 + 33bb97d commit 449b51c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

β€Žinternal/config/rules/rules.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var log = logger.New("config:rules")
1212
// Documentation URL constants
1313
const (
1414
ConfigSpecURL = "https://github.com/github/gh-aw/blob/main/docs/src/content/docs/reference/mcp-gateway.md"
15-
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.64.0/docs/public/schemas/mcp-gateway-config.schema.json"
15+
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.64.2/docs/public/schemas/mcp-gateway-config.schema.json"
1616
)
1717

1818
// ValidationError represents a configuration validation error with context.

β€Žinternal/config/validation_schema.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ var (
6363
// Current schema version: v0.50.7
6464
//
6565
// Alternative: Embed the schema using go:embed directive for zero network dependency.
66-
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.64.0/docs/public/schemas/mcp-gateway-config.schema.json"
66+
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.64.2/docs/public/schemas/mcp-gateway-config.schema.json"
6767

6868
// Schema caching to avoid recompiling the JSON schema on every validation
6969
// This improves performance by compiling the schema once and reusing it

β€Žinternal/config/validation_schema_test.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func TestEnhancedErrorMessages(t *testing.T) {
556556
"Location:",
557557
"Error:",
558558
"Details:",
559-
"https://raw.githubusercontent.com/github/gh-aw/v0.64.0/docs/public/schemas/mcp-gateway-config.schema.json",
559+
"https://raw.githubusercontent.com/github/gh-aw/v0.64.2/docs/public/schemas/mcp-gateway-config.schema.json",
560560
},
561561
},
562562
{

0 commit comments

Comments
Β (0)