fix(#67): guard GITHUB_WORKSPACE fallback against empty values#69
Conversation
When GITHUB_WORKSPACE is unset or empty, the workspace-directory fallback for companion script lookup expands to absolute paths /scripts and /.fullsend/scripts, probing the filesystem root. Wrap each fallback loop in a non-empty guard so the loop only runs when GITHUB_WORKSPACE is actually set and non-empty. Affected files: - scripts/post-code.sh (resolve/install script fallback) - scripts/post-fix.sh (resolve/install and process-fix-result fallbacks) - scripts/pre-code.sh (resolve/install script fallback) - scripts/pre-fix.sh (resolve/install script fallback) Closes #67
f121b3f to
a9fcbde
Compare
|
🤖 Finished Retro · ✅ Success · Started 7:10 AM UTC · Completed 7:20 AM UTC |
Retro: PR #69 — guard GITHUB_WORKSPACE fallback against empty valuesTimeline
AssessmentWhat went well: The full pipeline (retro → issue → triage → code → PR → merge) completed with zero rework. The retro agent correctly identified all 4 affected files when creating issue #67. The triage agent produced an accurate analysis in 5 minutes. The code agent implemented the fix in 10 minutes with a correct, minimal change. The code agent's PR was approved on first submission. Known gaps (already tracked):
Novel finding: Pre-scripts ( Proposals filed
|
When GITHUB_WORKSPACE is unset or empty, the workspace-directory fallback for companion script lookup expands to absolute paths /scripts and /.fullsend/scripts, probing the filesystem root. Wrap each fallback loop in a non-empty guard so the loop only runs when GITHUB_WORKSPACE is actually set and non-empty.
Affected files:
fallbacks)
Closes #67
Post-script verification
agent/67-guard-workspace-fallback)284bcfd9c77b44e00222290bd6b94e45caff32c5..HEAD)