Repository navigation
fix(test): harden long-running Python supervision - #3917
Merged
Merged
Conversation
Document that FastLED.show() must not run in interrupt context. Let the Python worker, quiet-process monitor, and top-level watchdog outlive the bounded fbuild QEMU smoke test; preserve actionable rerun guidance and prevent filtered pytest runs from contaminating full-suite fingerprints. Closes #999 Closes #3913 Closes #3914 Closes #3915 Closes #3916
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe CI runner now disables fingerprint caching when pytest options are active, aligns test timeout layers, tolerates quiet processes, and emits category-specific failure guidance. FastLED documents interrupt-safety restrictions for both ChangesCI test execution safeguards
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant test.py
participant pytest_addopts_active
participant RunningProcessGroup
participant fbuild_QEMU
test.py->>pytest_addopts_active: Check PYTEST_ADDOPTS
pytest_addopts_active-->>test.py: Return cache eligibility
test.py->>RunningProcessGroup: Start Python test worker with derived timeouts
RunningProcessGroup->>fbuild_QEMU: Monitor quiet QEMU process
fbuild_QEMU-->>RunningProcessGroup: Complete or remain quiet
RunningProcessGroup-->>test.py: Return result or classified failure guidance
Possibly related issues
Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FastLED.show()is blocking and must not be called from an ISRValidation
bash lintbash test --cpp(279 unit tests and 84 examples passed)bash test --py --verboseaggregate completed and wrote a success fingerprint after 919 tests were collectedclud-review: clean(review agents launched: 1)Closes #999
Closes #3913
Closes #3914
Closes #3915
Closes #3916
Summary by CodeRabbit
Bug Fixes
Documentation