Skip to content

Conversation

@botty-mcbottington
Copy link
Contributor

@botty-mcbottington botty-mcbottington bot commented Sep 23, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/google/jsonschema-go v0.2.3 -> v0.3.0 age confidence

Release Notes

google/jsonschema-go (github.com/google/jsonschema-go)

v0.3.0

Compare Source

Breaking Changes

The key of ForOptions.TypeSchemas is now reflect.Type instead of any, because some types can't be map keys.

Validating structs directly cannot be done in general, so the ability to do so has been removed. See #​23.

What's Changed

Full Changelog: google/jsonschema-go@v0.2.3...v0.3.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@botty-mcbottington botty-mcbottington bot enabled auto-merge (squash) September 23, 2025 00:32
@codecov
Copy link

codecov bot commented Sep 23, 2025

❌ 8 Tests Failed:

Tests completed Failed Passed Skipped
1064 8 1056 0
View the top 3 failed test(s) by shortest run time
github.com/macropower/kat/pkg/mcp::TestServer_Integration/get_resource_found
Stack Traces | 0s run time
=== RUN   TestServer_Integration/get_resource_found
    server_test.go:470: 
        	Error Trace:	.../pkg/mcp/server_test.go:470
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"apiVersion":"v1","kind":"Pod","name":"test-pod","namespace":"default","path":"/test/path"}
        	            	against
        	            		 {"type":"object","required":["apiVersion","kind","namespace","name","path"],"properties":{"apiVersion":{"type":"string","description":"The API version of the resource (e.g. v1 or apps/v1)."},"kind":{"type":"string","description":"The kind of the resource (e.g. Pod or Deployment)."},"name":{"type":"string","description":"The name of the resource."},"namespace":{"type":"string","description":"The namespace of the resource. Use an empty string for resources without a namespace."},"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_Integration/get_resource_found
--- FAIL: TestServer_Integration/get_resource_found (0.00s)
github.com/macropower/kat/pkg/mcp::TestServer_Integration/get_resource_with_path
Stack Traces | 0s run time
=== RUN   TestServer_Integration/get_resource_with_path
    server_test.go:470: 
        	Error Trace:	.../pkg/mcp/server_test.go:470
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"apiVersion":"v1","kind":"Pod","name":"test-pod","namespace":"default","path":"/another/path"}
        	            	against
        	            		 {"type":"object","required":["apiVersion","kind","namespace","name","path"],"properties":{"apiVersion":{"type":"string","description":"The API version of the resource (e.g. v1 or apps/v1)."},"kind":{"type":"string","description":"The kind of the resource (e.g. Pod or Deployment)."},"name":{"type":"string","description":"The name of the resource."},"namespace":{"type":"string","description":"The namespace of the resource. Use an empty string for resources without a namespace."},"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_Integration/get_resource_with_path
--- FAIL: TestServer_Integration/get_resource_with_path (0.00s)
github.com/macropower/kat/pkg/mcp::TestServer_Integration/list_resources
Stack Traces | 0s run time
=== RUN   TestServer_Integration/list_resources
    server_test.go:470: 
        	Error Trace:	.../pkg/mcp/server_test.go:470
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"path":"/test/path"}
        	            	against
        	            		 {"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_Integration/list_resources
--- FAIL: TestServer_Integration/list_resources (0.00s)
github.com/macropower/kat/pkg/mcp::TestServer_Integration/list_resources_with_path
Stack Traces | 0s run time
=== RUN   TestServer_Integration/list_resources_with_path
    server_test.go:470: 
        	Error Trace:	.../pkg/mcp/server_test.go:470
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"path":".../some/other/path"}
        	            	against
        	            		 {"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_Integration/list_resources_with_path
--- FAIL: TestServer_Integration/list_resources_with_path (0.00s)
github.com/macropower/kat/pkg/mcp::TestServer_Integration/get_resource_not_found
Stack Traces | 0.01s run time
=== RUN   TestServer_Integration/get_resource_not_found
    server_test.go:470: 
        	Error Trace:	.../pkg/mcp/server_test.go:470
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"apiVersion":"v1","kind":"Pod","name":"nonexistent-pod","namespace":"default","path":"/test/path"}
        	            	against
        	            		 {"type":"object","required":["apiVersion","kind","namespace","name","path"],"properties":{"apiVersion":{"type":"string","description":"The API version of the resource (e.g. v1 or apps/v1)."},"kind":{"type":"string","description":"The kind of the resource (e.g. Pod or Deployment)."},"name":{"type":"string","description":"The name of the resource."},"namespace":{"type":"string","description":"The namespace of the resource. Use an empty string for resources without a namespace."},"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_Integration/get_resource_not_found
--- FAIL: TestServer_Integration/get_resource_not_found (0.01s)
github.com/macropower/kat/pkg/mcp::TestServer_LatestResultsAfterReload
Stack Traces | 0.02s run time
=== RUN   TestServer_LatestResultsAfterReload
=== PAUSE TestServer_LatestResultsAfterReload
=== CONT  TestServer_LatestResultsAfterReload
    server_test.go:643: 
        	Error Trace:	.../pkg/mcp/server_test.go:643
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"path":"/test/path"}
        	            	against
        	            		 {"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_LatestResultsAfterReload
--- FAIL: TestServer_LatestResultsAfterReload (0.02s)
github.com/macropower/kat/pkg/mcp::TestServer_Integration
Stack Traces | 0.04s run time
=== RUN   TestServer_Integration
=== PAUSE TestServer_Integration
=== CONT  TestServer_Integration
--- FAIL: TestServer_Integration (0.04s)
github.com/macropower/kat/pkg/mcp::TestServer_PathReconfiguration
Stack Traces | 0.12s run time
=== RUN   TestServer_PathReconfiguration
=== PAUSE TestServer_PathReconfiguration
=== CONT  TestServer_PathReconfiguration
    server_test.go:526: 
        	Error Trace:	.../pkg/mcp/server_test.go:526
        	Error:      	Received unexpected error:
        	            	calling "tools/call": validating
        	            		{"path":"/new/path"}
        	            	against
        	            		 {"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"The directory path to operate on, relative to the project root."}}}:
        	            	 validating root: cannot validate against a struct; see https://github..../jsonschema-go/issues/23 for details
        	Test:       	TestServer_PathReconfiguration
--- FAIL: TestServer_PathReconfiguration (0.12s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 6 times, most recently from ebf7f0b to 3466afb Compare October 1, 2025 06:12
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 5 times, most recently from 05bdc81 to 1e0a650 Compare October 13, 2025 12:14
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 5 times, most recently from 6080055 to 51c0625 Compare October 20, 2025 12:15
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 2 times, most recently from 2c4559f to 8b4dc38 Compare October 29, 2025 00:35
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 4 times, most recently from 8c4b632 to c75d5f5 Compare November 6, 2025 06:13
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 6 times, most recently from f44c9c0 to 1968fa8 Compare November 18, 2025 06:13
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 3 times, most recently from f13c751 to 5c75b42 Compare November 24, 2025 01:08
@MacroPower MacroPower force-pushed the main branch 3 times, most recently from c7f8c27 to 6cc48d4 Compare November 24, 2025 03:25
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 12 times, most recently from 0c4e475 to 83644ba Compare December 1, 2025 00:43
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch 4 times, most recently from fb39903 to 9b1ab30 Compare December 4, 2025 12:16
MacroPower and others added 2 commits December 6, 2025 10:07
Validation errors were sometimes pointing to the wrong line number.
For a path like $.profiles.helm, the error pointed to the first child
property's value (e.g. the `source` value) instead of the parent key
(in this case `helm:`). This happened because getTokenFromPath was
returning the VALUE node's token rather than the KEY token.
@botty-mcbottington botty-mcbottington bot force-pushed the renovate/github.com-google-jsonschema-go-0.x branch from 9b1ab30 to 15c45bb Compare December 7, 2025 00:39
@botty-mcbottington
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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