Skip to content

The tenant pipeline fails when its plan does: pipefail on every run step - #66

Merged
fgurbanov merged 1 commit into
mainfrom
pipeline/pipefail
Sep 27, 2026
Merged

fgurbanov merged 1 commit into
mainfrom
pipeline/pipefail

Conversation

@fgurbanov

Copy link
Copy Markdown
Contributor

A failed plan passed as green on the first tenant: on maestro-fps4 #40's first push, terraform init failed (Unreadable module directory), yet aws / plan concluded success.

Cause. The runner's default shell is bash -e {0}, without pipefail, so deploy.sh plan … | tee plan.txt exits with tee's status. The apply job runs the same line before deploy.sh apply.

Fix. Workflow-level defaults.run.shell: bash, which GitHub runs as bash --noprofile --norc -eo pipefail {0}.

🤖 Generated with Claude Code

The runner's default shell is bash -e without pipefail, so `deploy.sh plan | tee plan.txt` took tee's
status: a plan whose init failed (a module directory missing from the pinned checkout) reported
success on maestro-fps4 #40's first push. `shell: bash` runs with -eo pipefail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fgurbanov
fgurbanov merged commit 70c75a4 into main Sep 27, 2026
7 checks passed
@fgurbanov
fgurbanov deleted the pipeline/pipefail branch September 27, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant