Skip to content

test(cli): report the runner error in the issue 208 pipe-writer test - #290

Merged
zackees merged 1 commit into
mainfrom
fix/issue-208-test-flake
Nov 3, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/issue-208-test-flake

Conversation

@zackees

@zackees zackees commented Nov 3, 2026

Copy link
Copy Markdown
Member

issue_208_runner_finishes_after_closing_descendant_pipe_writers has failed intermittently on hosted macOS runners: x86 41540831671 and ARM 41554072594. Both failed at assert!(result.is_ok()) (test_mode.rs:810) and passed on rerun.

The shell exits with code 0, so the likely error is the 2 s output-drain deadline in run_test_commands_inner, where a backgrounded sleep 20 holds the pipes. That is unproven: the bare assertion hides the message. Locally on Linux the test passed 12/12 under load average ~190.

This change only makes the failure print the runner's error, so the next macOS failure names its cause. It is not a fix.

The test has failed intermittently on hosted macOS runners (x86 run
41540831671, ARM run 41554072594) at a bare assert!(result.is_ok()),
which hides the message. It passes 12/12 locally on Linux under load.
Print the runner's error so the next macOS failure names its cause.
@coderabbitai

coderabbitai Bot commented Nov 3, 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 59 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7b8ab7d0-9e8f-4aba-8c06-a904c8681d9f
Commits

Reviewing files that changed from the base of the PR and between 11f416b and 650ba07.

Files selected for processing: 1
  • crates/fastled-cli/src/test_mode.rs
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@zackees
zackees merged commit 24caacb into main Nov 3, 2026
35 checks passed
@zackees
zackees deleted the fix/issue-208-test-flake branch November 3, 2026 01:40
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