fix(#3036): resolve per-repo runner script paths in agent workflows - #3039
Conversation
…workflows After fullsend-ai#3000, per-repo Prepare workspace copies scripts under .fullsend/, but setup-gcp and inline pre-script steps still invoked scripts/ at the workspace root. Add a scripts_dir input to setup-gcp and thread install_mode through all six reusable workflows so runner-side scripts resolve correctly. Fixes fullsend-ai#3036 Fixes fullsend-ai#3038 Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Review · |
PR Summary by QodoFix per-repo agent workflow script paths by threading scripts_dir into setup-gcp
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Site previewPreview: https://20ef64fc-site.fullsend-ai.workers.dev Commit: |
…cripts Scope this PR to code/review/fix inline pre-script steps only. The setup-gcp prepare-sandbox-credentials path is handled separately in fullsend-ai#3037. Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Finished Review · ✅ Success · Started 4:27 AM UTC · Completed 4:34 AM UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Labels: PR fixes CI workflow bug in per-repo script path resolution |
…workflows Use the same fullsend-dir prefix pattern everywhere runner-side scripts are invoked: setup-gcp prepare-sandbox-credentials and inline pre-scripts in code/review/fix workflows. Fixes fullsend-ai#3036 Fixes fullsend-ai#3038 Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Finished Review · ✅ Success · Started 4:41 AM UTC · Completed 4:50 AM UTC |
|
🤖 Finished Retro · ✅ Success · Started 5:32 AM UTC · Completed 5:38 AM UTC |
|
Retro for PR #3039: clean, human-authored bug fix threading Proposals filed
|
merge: integrate main (#3039 per-repo script paths)
merge: integrate main (#3039 per-repo script paths)
Summary
fullsend-dirinput to thesetup-gcpcomposite action and resolveprepare-sandbox-credentials.shunder${FULLSEND_DIR}scripts/(same prefix pattern as the agent action)fullsend-dir: ${{ inputs.install_mode == 'per-repo' && '.fullsend' || '' }}from all six reusable agent workflowsreusable-code.yml,reusable-review.yml, andreusable-fix.ymlusing the same${FULLSEND_DIR:+$FULLSEND_DIR/}scripts/...patternFixes #3036
Fixes #3038
Supersedes #3037 (consolidated here).
Background
After #3000, per-repo Prepare workspace copies scaffold content under
.fullsend/(includingscripts/). Several workflow steps still invokedscripts/...at the workspace root, causing exit 127 in per-repo agent runs. Per-org mode is unchanged.Test plan
actionlintpasses on changed workflow filesscripts/at workspace root