P1-1: Fix Doc Decompose bash -e fragility
Source: docs/review/gh-workflow/ci-workflow-optimization.md Finding 2
Parent Epic: #62
Problem
Workflow doc-decompose.yml uses shell: bash (implicitly bash -e). When gh issue create or gh pr create returns non-zero (duplicate issue, API rate limit), bash -e aborts the entire script.
Fix
- Change line 75:
shell: bash → shell: bash {0}
- Remove
set -e at line 77
- Existing
|| fallbacks (lines 209, 265, 270, 276-283) will then work correctly
Files
.github/workflows/doc-decompose.yml
Verification
Doc Decompose workflow should pass even when gh commands encounter non-fatal errors.
P1-1: Fix Doc Decompose bash -e fragility
Source:
docs/review/gh-workflow/ci-workflow-optimization.mdFinding 2Parent Epic: #62
Problem
Workflow
doc-decompose.ymlusesshell: bash(implicitlybash -e). Whengh issue createorgh pr createreturns non-zero (duplicate issue, API rate limit), bash -e aborts the entire script.Fix
shell: bash→shell: bash {0}set -eat line 77||fallbacks (lines 209, 265, 270, 276-283) will then work correctlyFiles
.github/workflows/doc-decompose.ymlVerification
Doc Decompose workflow should pass even when gh commands encounter non-fatal errors.