feat(cli): mint agent tokens in the binary instead of workflows - #2389
Conversation
Site previewPreview: https://367a82b3-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 2:26 PM UTC · Completed 2:44 PM UTC |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
ReviewFindingsHigh
Low
Note: Prior medium findings from earlier iterations are resolved — the dead-code warning branch ( Previous runReviewFindingsHigh
Medium
Low
Note: Prior medium findings from earlier iterations remain resolved — the empty-role-with-mintURL silent pass-through has explicit warning branches, Previous run (2)ReviewFindingsHigh
Low
Note: Two prior medium findings are resolved in this iteration — the empty-role-with-mintURL silent pass-through now has an explicit warning branch (line 364), and Previous run (3)ReviewFindingsHigh
Medium
Low
Previous run (4)ReviewFindingsHigh
Low
Previous run (5)ReviewFindingsHigh
Low
Previous run (6)ReviewFindingsHigh
Low
Labels: PR modifies token minting infrastructure, CI workflow files, and harness integration. Previous run (7)ReviewFindingsHigh
Medium
Low
Labels: PR modifies token minting infrastructure, CI workflow files, and CLI run command Previous run (8)ReviewFindingsHigh
Medium
Low
Labels: PR modifies token minting infrastructure, CI workflows, and harness integration Previous run (9)ReviewFindingsHigh
Medium
Low
Previous run (10)ReviewFindingsHigh
Low
Info
Previous run (11)ReviewFindingsHigh
Medium
Low
Info
Previous run (12)ReviewFindingsHigh
Low
Info
Previous run (13)ReviewFindingsHigh
Medium
Low
Info
Previous run (14)ReviewFindingsHigh
Medium
Low
Info
Previous run (15)ReviewFindingsCritical
High
Medium
Low
Info
|
b14cf6f to
a7f2e35
Compare
|
🤖 Finished Review · ✅ Success · Started 3:25 PM UTC · Completed 3:39 PM UTC |
a7f2e35 to
9e99539
Compare
|
🤖 Finished Review · ✅ Success · Started 3:51 PM UTC · Completed 4:06 PM UTC |
9e99539 to
0d51413
Compare
|
🤖 Finished Review · ✅ Success · Started 4:17 PM UTC · Completed 4:35 PM UTC |
0d51413 to
54ff8d5
Compare
|
🤖 Finished Review · ✅ Success · Started 4:46 PM UTC · Completed 5:01 PM UTC |
|
Shouldn't you remove the mint-token step from the workflows as well? And also remove the action completely? |
waynesun09
left a comment
There was a problem hiding this comment.
ADR-0045 Review Squad — 12 findings (medium+ severity). Reviewed for correctness, security, and ADR alignment.
54ff8d5 to
e37f1b9
Compare
|
🤖 Finished Review · ❌ Failure · Started 3:50 PM UTC · Completed 4:08 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ❌ Failure · Started 4:20 PM UTC · Completed 4:34 PM UTC |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
3584915 to
277e2b4
Compare
|
🤖 Finished Review · ✅ Success · Started 12:02 PM UTC · Completed 12:18 PM UTC |
Summary
mintAgentToken()tofullsend runthat calls the mint service using the harness'srolefield, settingGH_TOKENand role-specific env vars (PUSH_TOKEN,REVIEW_TOKEN) before env expansionmint-tokenaction only foractions/checkoutMINT_REPOSenv var support for retro's multi-repo caserolefield now drives token acquisition at runtime, implementing the binary-side token minting described in ADR-0029 (Central token mint) and leveraging therolefield introduced by ADR-0045 (Portable harness schema)Test plan
TestMintAgentToken_*,TestResolveMintRepos_*,TestRoleTokenVars_*,TestSetupStatusNotifier_Factory*)mintAgentTokenandresolveMintReposfunctionsmake go-testpasses (including-race)make go-vetandmake lintpass🤖 Generated with Claude Code