fix(#5896): set FULLSEND_WIF_PROVIDER and store bot token in Secret Manager - #5898
Conversation
|
🤖 Finished Review · ✅ Success · Started 12:31 PM UTC · Completed 12:46 PM UTC |
Site previewPreview: https://4682c946-site.fullsend-ai.workers.dev Commit: |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
ReviewFindingsLow
Previous runReviewFindingsLow
Previous run (2)ReviewFindingsLow
Previous run (3)ReviewFindingsLow
Previous run (4)ReviewFindingsHigh
Medium
Low
Next steps:
Previous run (5)ReviewFindingsMedium
Low
Next steps:
Previous run (6)ReviewFindingsMedium
Low
Next steps:
Previous run (7)ReviewFindingsMedium
Low
Next steps:
Previous run (8)ReviewFindingsMedium
Low
Labels: PR modifies dispatch provisioner code (internal/dispatch/gcf/provisioner.go), WIF credential management and Secret Manager token storage (component/mint), and user-facing docs (ADR, CLI docs, infrastructure reference). Previous run (9)ReviewFindingsMedium
Low
Next steps:
Previous run (10)ReviewFindingsMedium
Low
Labels: PR modifies the install pipeline (internal/repos/install.go, internal/cli/repos_gitlab.go) and fixes bugs in GitLab WIF credential setup Next steps:
|
6c5969b to
632d9c2
Compare
|
🤖 Finished Review · ✅ Success · Started 12:51 PM UTC · Completed 1:05 PM UTC |
632d9c2 to
fbcfab2
Compare
|
🤖 Finished Review · ✅ Success · Started 1:16 PM UTC · Completed 1:35 PM UTC |
Superseded by updated review
fbcfab2 to
d1c88d4
Compare
|
🤖 Finished Review · ✅ Success · Started 1:40 PM UTC · Completed 2:00 PM UTC |
Superseded by updated review
…anager Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
a0414b0 to
39135d6
Compare
|
🤖 Finished Review · ✅ Success · Started 6:32 PM UTC · Completed 6:49 PM UTC |
|
🤖 Finished Review · ✅ Success · Started 7:31 PM UTC · Completed 7:47 PM UTC |
|
🤖 Finished Review · ✅ Success · Started 8:03 PM UTC · Completed 8:18 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 8:26 PM UTC · Completed 8:41 PM UTC |
Retro: PR #5898 — fix(#5896): set FULLSEND_WIF_PROVIDER and store bot token in Secret ManagerTimeline
Key findings1. Bot-detection regex bug caused 6 wasted fix dispatches (evidence for #5536) All 6 fix runs failed identically at the guard clause in 2. Silent guard-clause failures (evidence for #5863) None of the 6 fix failures posted a PR comment. ggallen had no visible indicator that the fix agent was being blocked. The only signal was buried in workflow run logs. 3. Review agent quality was excellent The review agent found 7 unique findings with 100% precision (0 false positives):
4. Review finding repetition across runs (evidence for #2959) The same 4 low-severity findings were posted 5–6 times each across 11 review runs. The review agent correctly stopped flagging fixed issues but re-posted unchanged low-severity findings on every push. Existing issue coverageAll improvement opportunities identified in this retro are covered by existing open issues: |
Summary
Fixes three bugs in GitLab WIF mode that were discovered during E2E testing on an internal GitLab instance. Two are missing variables that the implementation plan specified but were omitted during PR #5874. The third is an undocumented WIF requirement for OIDC issuer reachability.
Changes
FULLSEND_WIF_PROVIDERnot set: AddedFULLSEND_WIF_PROVIDERtoinstallProtectedVarsForForgeso it is written as a protected CI/CD variable when WIF mode is active. The scaffold templates reference this variable for the forge-token WIF credential exchange.FULLSEND_BOT_TOKEN_SECRETnot set: ModifiedsetupGitLabBotTokento support WIF-mode credential storage. WhenBotTokenWIFConfigis provided, the bot PAT is stored in GCP Secret Manager (create-or-update pattern), the WIF service account is grantedsecretAccessoron the secret, andFULLSEND_BOT_TOKEN_SECRETis set as a protected CI/CD variable pointing to the secret name. In variable mode (nil config), existing behavior is preserved.Testing
TestSetupGitLabBotToken_WIFMode)TestBotTokenSecretID)FULLSEND_WIF_PROVIDERin protected variablessetupGitLabBotTokentests pass with the new signature (nil wifCfg)go vetpasses on changed packagesgo build ./...succeedsCloses #5896
Post-script verification
agent/5896-gitlab-wif-bugs)75f34672a628827160af063870e14902573c9b0a..HEAD)