Skip to content

fix(phase4): make Linux acceptance failures legible - #76

Merged
gitcommit90 merged 1 commit into
mainfrom
fix/linux-acceptance-legible-failure
Aug 5, 2026
Merged

fix(phase4): make Linux acceptance failures legible#76
gitcommit90 merged 1 commit into
mainfrom
fix/linux-acceptance-legible-failure

Conversation

@gitcommit90

@gitcommit90 gitcommit90 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Adds an ERR trap to ops/platform-acceptance/linux.sh so a failing silent assertion reports its exact line and command instead of a bare exit code. No behavior change on success. Full CI green locally. No release/tag/production change.

Summary by CodeRabbit

  • Bug Fixes
    • Improved Linux acceptance test failure reporting by displaying the failed line, exit status, and command.

Many Linux acceptance checks are bare `[[ ... ]]` or `--quiet` assertions that
exit non-zero with no output. When one fails, the only signal is "Process
completed with exit code 1" with no indication of which check failed, forcing a
full candidate rerun to learn anything. Add an ERR trap that prints the exact
line number and failing command as a GitHub error annotation, so a failing
candidate is diagnosable from the log alone.

No behavior change on success; existing guarded checks keep their own messages.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 22b36633-c5e7-451b-9513-9e39e5ecf0c4

📥 Commits

Reviewing files that changed from the base of the PR and between 5c23cdc and 79d3862.

📒 Files selected for processing (1)
  • ops/platform-acceptance/linux.sh

📝 Walkthrough

Walkthrough

The Linux acceptance script now reports the failing line, exit status, and Bash command when a command fails.

Changes

Linux acceptance diagnostics

Layer / File(s) Summary
Failure trap diagnostics
ops/platform-acceptance/linux.sh
Adds an ERR trap that emits structured failure details.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and outcome but omits the required template sections, checklists, release notes, and verification evidence. Use the repository template and complete Summary, Type of change, Release notes, acceptance ledger, Verification, and Post-merge sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the Linux acceptance error-reporting change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/linux-acceptance-legible-failure

Comment @coderabbitai help to get the list of available commands.

@gitcommit90
gitcommit90 merged commit b6c17eb into main Aug 5, 2026
6 checks passed
@gitcommit90
gitcommit90 deleted the fix/linux-acceptance-legible-failure branch August 5, 2026 00:25
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