fix: bump yaegi to v0.17.1 to resolve CodeQL checksum mismatch#117
Merged
fix: bump yaegi to v0.17.1 to resolve CodeQL checksum mismatch#117
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps github.com/GoCodeAlone/yaegi from v0.17.0 to v0.17.1 to resolve a CodeQL checksum mismatch caused by the v0.17.0 tag being moved after additional commits. However, the PR also includes a significant architectural refactoring that converts QueryHandler, CommandHandler, and the RoutePipelineSetter interface to use interfaces.PipelineRunner instead of concrete *module.Pipeline types, enabling better testability and plugin extensibility.
Changes:
- Bump yaegi dependency from v0.17.0 to v0.17.1 in go.mod and go.sum
- Refactor QueryHandler and CommandHandler to accept
interfaces.PipelineRunnerwith type assertion fallback to concrete*Pipelinefor full functionality - Update RoutePipelineSetter interface in engine.go to use
interfaces.PipelineRunner - Apply formatting fixes to test files (whitespace alignment)
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Bumps yaegi version from v0.17.0 to v0.17.1 |
| go.sum | Updates checksums for yaegi v0.17.1 |
| module/query_handler.go | Refactors to use interfaces.PipelineRunner with type assertion to *Pipeline for metadata/tracker support; adds fallback path for custom implementations |
| module/command_handler.go | Refactors to use interfaces.PipelineRunner with type assertion to *Pipeline for metadata/tracker support; adds fallback path for custom implementations |
| engine.go | Updates RoutePipelineSetter interface to accept interfaces.PipelineRunner |
| plugins/http/plugin_test.go | Formatting: aligns whitespace in test map literal |
| cmd/server/main_test.go | Formatting: aligns whitespace in mockFeatureFlagAdmin method declarations |
9e26b83 to
e0c22d3
Compare
The v0.17.0 tag was moved after additional commits (CI fixes, test improvements), causing the Go module proxy checksum to differ from the go.sum entry. This broke CodeQL's Analyze (go) step on all PRs. v0.17.1 is a stable re-release at the same content, with a fresh tag that won't conflict with the proxy cache. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e0c22d3 to
ea6d2ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/GoCodeAlone/yaegifromv0.17.0tov0.17.1ingo.modandgo.sumv0.17.0tag was moved after additional commits (CI fixes, test fixes), causing CodeQL's "Analyze (go)" step to fail with a checksum mismatch error on all PRsv0.17.1is a stable re-release of the same content with a fresh tagTest plan
go build ./...passesgo test ./...— all tests passgolangci-lint run— 0 issues (verified by pre-push hook)🤖 Generated with Claude Code