fix: restore setup-agent-env.sh copy in prioritize scaffold workflow - #1457
Conversation
Site previewPreview: https://f884a2cf-site.fullsend-ai.workers.dev Commit: |
Align prioritize.yml template with gh-classify and reusable workflows: copy setup-agent-env.sh from internal/scaffold/fullsend-repo/.github/scripts/ instead of the non-existent repo-root .github/scripts path. Pairs with fullsend-ai/.fullsend#77. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Barak Korren <bkorren@redhat.com>
4563093 to
3a8f8d8
Compare
ReviewFindingsNo findings. The fix correctly addresses a broken path in the prioritize scaffold workflow. The old code tried to copy The sparse-checkout simplification from listing individual subdirectories to the broader The two new test assertions ( |
Summary
setup-agent-env.shfrominternal/scaffold/fullsend-repo/.github/scripts/(the script’s real location), not the non-existent repo-root.github/scripts/path.internal/scaffold/fullsend-repo/.github/workflows/prioritize.ymlwithgh-classify.yml,scribe.yml, and the reusable agent workflows: broad sparse-checkout ofinternal/scaffold/fullsend-repo/,SRC+LAYERED_DIRSpattern, and explicitcp "${SRC}/.github/scripts/setup-agent-env.sh"..defaults/.github/scripts.Pairs with fullsend-ai/.fullsend#77 (runtime fix in the config repo). After both merge, orgs that sync from scaffold get the corrected template;
.fullsendgets immediate relief without waiting for av0tag bump for the script itself (it already exists at the scaffold path on@v0).Test plan
go test ./internal/scaffold/ -run TestPrioritizeWorkflowContentprioritize.ymlfor new installs.fullsend#77merged: re-run Prioritize workflow and confirm Setup agent environment succeedsMade with Cursor