feat(repos): add upgrade and upgrade-mint subcommands - #4080
Conversation
|
🤖 Finished Review · ✅ Success · Started 9:50 PM UTC · Completed 10:02 PM UTC |
PR Summary by QodoAdd repos upgrade and upgrade-mint CLI subcommands
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1.
|
ReviewRe-review of 15207a0 (prior review at 6e05ef7, provenance: app-verified). All 11 files changed since prior review (1 commit). Prior review's low findings re-evaluated — both remain valid against unchanged patterns. No new medium+ findings. Security review confirmed all ref injection surfaces are covered by Low[edge-case]
|
aeaa431 to
2c0f558
Compare
|
🤖 Finished Review · ✅ Success · Started 2:00 AM UTC · Completed 2:13 AM UTC |
Superseded by updated review
2c0f558 to
368bdf2
Compare
|
🤖 Finished Review · ✅ Success · Started 2:24 AM UTC · Completed 2:38 AM UTC |
368bdf2 to
eed56eb
Compare
|
🤖 Finished Review · ❌ Failure · Started 2:51 AM UTC · Completed 3:03 AM UTC |
eed56eb to
6e2493a
Compare
|
🤖 Finished Review · ❌ Failure · Started 3:07 AM UTC · Completed 3:23 AM UTC |
6e2493a to
7262ac4
Compare
|
🤖 Finished Review · ❌ Failure · Started 3:27 AM UTC · Completed 3:41 AM UTC |
7262ac4 to
c26c56a
Compare
|
🤖 Finished Review · ✅ Success · Started 3:45 AM UTC · Completed 3:56 AM UTC |
7bf3b2d to
6e05ef7
Compare
|
🤖 Finished Review · ✅ Success · Started 6:25 PM UTC · Completed 6:41 PM UTC |
Superseded by updated review
Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
6e05ef7 to
15207a0
Compare
|
🤖 Finished Review · ✅ Success · Started 6:52 PM UTC · Completed 7:05 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 7:27 PM UTC · Completed 7:42 PM UTC |
|
Retrospective analysis of PR #4080 ( Key findings:
Proposals filed: 3 improvement proposals targeting fullsend-ai/fullsend. Proposals filed
|
Track counter-evidence from PR fullsend-ai#4080 (semver/regex Go implementation) where the human reviewer found all 5 medium+ severity issues. Create a structured evidence corpus for empirical review autonomy observations and cross-reference from autonomy-spectrum, code-review, and trustworthiness-evidence problem docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
fullsend repos upgradeto upgrade scaffold shim refs across repos in a manifest, with semver comparison, floating ref detection,--force/--dry-run/--refflags, positional args for repo filtering, and bounded concurrency.fullsend repos upgrade-mintto verify the mint deployment matches the manifest configuration.Changes
internal/repos/upgrade.goUpgrade(),UpgradeMint(),replaceShimRef(), semver helpersinternal/repos/upgrade_test.gointernal/cli/repos.gorepos upgradeandrepos upgrade-mintcommandsinternal/cli/repos_test.gointernal/repos/manifest.goIsValidRefvalidation inValidate()fordefaults.fullsend_refand per-repofullsend_refinternal/repos/manifest_test.godocs/ADRs/0057-repos-management.mdupgrade-mintdescriptiondocs/plans/repos-management.mdProvisionerFactorytype signaturedocs/cli/repos.mdupgradeandupgrade-mintcommand documentationdocs/guides/dev/cli-internals.mddocs/guides/getting-started/operations.mdADR edits
ADR 0057 (Accepted) is modified to:
repos upgradeandrepos upgrade-mintas implemented in PR feat(repos): add upgrade and upgrade-mint subcommands #4080upgrade-mintsubcommand description from "Upgrade token mint Cloud Function" to "Verify token mint deployment against manifest" (matches actual implementation)CLI pattern alignment (PR #4081)
Follows the patterns established by PR #4081 (
repos add,repos remove,repos uninstall):reposUpgradeConfig/reposUpgradeMintConfigstructs withtestClient/testProvisionerfields for test injectionupgrade [repos...]) instead of--repoflagrunReposUpgrade(ctx, opts, repoFilter)Test plan
go test ./internal/repos/)go test ./internal/cli/ -run TestReposUpgrade)go build ./...compiles cleanlygo vetpasses🤖 Generated with Claude Code