Skip to content

Start the Watcher's Bash Blocks With set -Eeuo pipefail - #413

Merged
ptr727 merged 1 commit into
developfrom
fix/watcher-shell-mode
Nov 9, 2026
Merged

ptr727 merged 1 commit into
developfrom
fix/watcher-shell-mode

Conversation

@ptr727

@ptr727 ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

This answers a Copilot finding on promotion PR #411. WORKFLOW.md D9.3 and GOVERNANCE.md "Workflow YAML Conventions" require every multi-line bash run: block to start with set -Eeuo pipefail. Both blocks in check-upstream-dependency.yml used set -euo pipefail: the held step #410 added and the older resolve step. Both now use -E.

Neither block has a trap or a function, so behavior does not change. Every other multi-line bash block under .github/workflows and .github/actions already starts with set -Eeuo pipefail.

Refs #408

Verification

  • actionlint, editorconfig-checker, and the prose gate pass.
  • A local strict-review pass found nothing.

🤖 Generated with Claude Code

WORKFLOW.md D9.3 and GOVERNANCE.md "Workflow YAML Conventions" require
every multi-line bash run block to start with set -Eeuo pipefail, so an
ERR trap is inherited by functions and subshells. Both of this workflow's
blocks used set -euo pipefail, the held step and the resolve step alike.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings November 9, 2026 20:59
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head ec9932c59bdd9ab710527029dce96d141bc2a7f3, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 42 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3eaa486 and ec9932c.

Files selected for processing: 1

  • .github/workflows/check-upstream-dependency.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Both affected workflow shell blocks now follow the repository’s required Bash strict-mode convention, and no active review issues were identified.

No open issues 🎉

What changed in this PR

This pull request updates the upstream-dependency watcher workflow to follow the repository’s required Bash strict-mode convention by enabling inherited ERR traps in both multi-line shell blocks.

Changes:

  • Changed the dependency resolution block to use set -Eeuo pipefail.
  • Changed the held-review check block to use set -Eeuo pipefail.
  • No behavioral changes are expected because neither block defines an ERR trap.
File Description
.github/​workflows/​check-upstream-dependency.yml Applies the required Bash strict-mode header to both workflow shell blocks.

Review effort: Lite

@ptr727
ptr727 merged commit 8ca8660 into develop Nov 9, 2026
13 checks passed
@ptr727
ptr727 deleted the fix/watcher-shell-mode branch November 9, 2026 21:02
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.

2 participants