Skip to content

Commit ca30b33

Browse files
authored
πŸ”„ chore: update schema URL to v0.51.6 (#1549)
## Schema URL Update Updates the MCP Gateway JSON schema validation URL from `v0.50.7` to `v0.51.6`. ### Files Changed - `internal/config/validation_schema.go` β€” `schemaURL` variable updated to `v0.51.6` - `internal/config/rules/rules.go` β€” `SchemaURL` constant updated to `v0.51.6` - `internal/config/validation_schema_test.go` β€” hardcoded schema URLs updated to `v0.51.6` ### 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.51.6) for changes in this schema version. > Generated by [Nightly Schema Updater](https://github.com/github/gh-aw-mcpg/actions/runs/22597949790) > [!WARNING] > <details> > <summary>⚠️ Firewall blocked 1 domain</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> > - [x] expires <!-- gh-aw-expires: 2026-03-09T22:15:16.286Z --> on Mar 9, 2026, 10:15 PM UTC <!-- gh-aw-agentic-workflow: Nightly Schema Updater, engine: copilot, id: 22597949790, workflow_id: nightly-schema-updater, run: https://github.com/github/gh-aw-mcpg/actions/runs/22597949790 --> <!-- gh-aw-expires-type: pull-request --> <!-- gh-aw-workflow-id: nightly-schema-updater -->
2 parents 18c5699 + c5b2eb6 commit ca30b33

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Ž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.50.7/docs/public/schemas/mcp-gateway-config.schema.json"
15+
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.51.6/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
@@ -41,7 +41,7 @@ var (
4141
// Current schema version: v0.50.7
4242
//
4343
// Alternative: Embed the schema using go:embed directive for zero network dependency.
44-
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.50.7/docs/public/schemas/mcp-gateway-config.schema.json"
44+
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.51.6/docs/public/schemas/mcp-gateway-config.schema.json"
4545

4646
// Schema caching to avoid recompiling the JSON schema on every validation
4747
// 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.50.7/docs/public/schemas/mcp-gateway-config.schema.json",
559+
"https://raw.githubusercontent.com/github/gh-aw/v0.51.6/docs/public/schemas/mcp-gateway-config.schema.json",
560560
},
561561
},
562562
{

0 commit comments

Comments
Β (0)