fix(#860): sync org variable visibility when enabling repos#862
fix(#860): sync org variable visibility when enabling repos#862fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
When `fullsend admin enable repos` enrolls new repositories, the FULLSEND_MINT_URL org variable's "selected" visibility is not updated to include the new repos. This causes the shim workflow in newly enrolled repos to fail because the variable is empty. Add SetOrgVariableRepos and GetOrgVariableRepos to the forge client interface (paralleling existing SetOrgSecretRepos). After saving the updated config in runEnableRepos, call a new syncOrgVariableVisibility helper that collects all enrolled repo IDs (plus the config repo) and updates the variable's repository access list. The sync is best-effort: failures are logged as warnings but do not block the enable command, since repo-maintenance can reconcile later. Closes #860
|
fullsend review is working on this — view logs |
Site previewPreview: https://1005cb93-site.fullsend-ai.workers.dev Commit: |
Review: #862Head SHA: 7c9c886 SummaryThis PR fixes a real bug where newly enrolled repos cannot read the FindingsMedium
Info
FooterOutcome: approve |
When
fullsend admin enable reposenrolls new repositories, the FULLSEND_MINT_URL org variable's "selected" visibility is not updated to include the new repos. This causes the shim workflow in newly enrolled repos to fail because the variable is empty.Add SetOrgVariableRepos and GetOrgVariableRepos to the forge client interface (paralleling existing SetOrgSecretRepos). After saving the updated config in runEnableRepos, call a new syncOrgVariableVisibility helper that collects all enrolled repo IDs (plus the config repo) and updates the variable's repository access list. The sync is best-effort: failures are logged as warnings but do not block the enable command, since repo-maintenance can reconcile later.
Closes #860
Post-script verification
agent/860-sync-org-variable-visibility)c95b51ec1bad556d3486bf85721dec12fab53024..HEAD)