feat(cli): mint agent tokens in the binary instead of workflows#2389
feat(cli): mint agent tokens in the binary instead of workflows#2389ggallen wants to merge 1 commit into
Conversation
Site previewPreview: https://80f2eeac-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
Info
Previous runReviewFindingsHigh
Medium
Low
Info
Previous run (2)ReviewFindingsHigh
Low
Info
Previous run (3)ReviewFindingsHigh
Medium
Low
Info
Previous run (4)ReviewFindingsHigh
Medium
Low
Info
Previous run (5)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 |
Move GitHub App token minting from workflow YAML into the fullsend binary. The harness role field now drives token acquisition via mintclient when --mint-url is provided. Tokens are set in the process environment so RunnerEnv expansion and host_files pick them up automatically. Signed-off-by: Greg Allen <gallen@redhat.com> Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
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? |
Summary
mintAgentToken()tofullsend runthat calls the mint service using the harness'srolefield, settingGH_TOKENand role-specific env vars (PUSH_TOKEN,REVIEW_TOKEN,RETRO_SANDBOX_TOKEN) before env expansionmint-tokenaction only foractions/checkoutMINT_REPOSenv var support for retro's multi-repo caserolefield now drives token acquisition at runtime, aligning with ADR-0045's goal of portable harness definitionsTest plan
TestMintAgentToken_*,TestResolveMintRepos_*,TestRoleTokenVars_*)mintAgentTokenandresolveMintReposmake go-testpasses (including-race)make go-vetandmake lintpass🤖 Generated with Claude Code