Skip to content

fix: apply shell options to status - #3060

Open
kris70lesgo wants to merge 1 commit into
go-task:mainfrom
kris70lesgo:fix/status-shell-options
Open

kris70lesgo wants to merge 1 commit into
go-task:mainfrom
kris70lesgo:fix/status-shell-options

Conversation

@kris70lesgo

@kris70lesgo kris70lesgo commented Sep 30, 2026 •

Copy link
Copy Markdown

Description

Fixes #2469.

Status commands did not inherit global or task-level set and shopt
options. As a result, a status pipeline could succeed even when
pipefail was configured and an earlier command failed.
This applies the effective task shell options when evaluating status
commands. It also adds coverage for pipefail, nullglob, successful
pipelines, and command-level option scope.

Checklist

  • I have read and followed the Contribution Guide.
  • I have disclosed the use of any AI-generated content in this pull request per the AI Usage Policy.
  • I fully understand the changes and have hand-written the description (No AI) of this pull request.

This branch has not been deployed

No deployments
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.

Seems like pipefail is not applied to status commands

1 participant