Repository navigation
ci: check versioned manifests against gosqlx.Version; validate Glama commit SHA - #856
Merged
Merged
Conversation
…commit SHA - New TestVersionManifestsMatchVersion (pkg/gosqlx) fails when glama.json, vscode-extension/package.json, the Claude Code plugin and marketplace manifests, performance_baselines.json or python/pyproject.toml (lockstep, .postN allowed) disagree with gosqlx.Version. v1.15.0 shipped with several of these at 1.14.0; release.yml only checks the tag against Version. Skips when the files are absent (module downloads). - glama-sync.yml: fail clearly if the release tag does not resolve to a 40-hex commit SHA instead of posting an empty pinnedCommitSha (review suggestion on #855). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Claude finished @ajitpratap0's task in 17s —— View job Review of PR #856Overall this is a small, useful guard. I found no blocking issues. I read the diff and checked that each manifest has the expected version field at 1.16.0. I did not run the tests myself. Test:
|
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
Follow-ups from the v1.16.0 release reviews:
TestVersionManifestsMatchVersion(pkg/gosqlx) requiresglama.json,vscode-extension/package.json,plugins/gosqlx/.claude-plugin/plugin.json,.claude-plugin/marketplace.json,performance_baselines.jsonandpython/pyproject.toml(lockstep;.postNallowed) to equalgosqlx.Version. v1.15.0 shipped with several of these at 1.14.0;release.ymlonly guards the tag againstVersion, so this makes the release PR bump everything together. It runs in the normaltask test:racesuite and skips when the files are absent (e.g. a module download).glama-sync.ymlfails with a clear error if the release tag does not resolve to a 40-hex commit SHA, instead of posting an emptypinnedCommitSha(suggested in the docs: v1.16.0 post-tag updates (banners, integrations, pins, benchmarks, Glama sync) #855 review).Test Plan
go test -race -run TestVersionManifestsMatchVersion ./pkg/gosqlx/: 6/6 subtests pass at 1.16.0glama.jsonto1.16.9makes the glama.json subtest failgofmt,go vet ./pkg/gosqlx/; workflow YAML parsesBreaking Changes
None.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9