feat: enrich diagnostics and device capture output#197
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
Summary
Read-only summary:line in verbose output.device capturelive output with a spinner, countdown, spaced metrics, and stable value coloring.[+] Wrote:success flow and capture validation summary.EV_MSC, event-type coverage, first/last monotonic timing, per-code samples, timestamped hidraw samples, and a compact live evdev sample sequence.Validation
venv/bin/python -m unittest tests.test_device_capture -vvenv/bin/python -m unittest discover -s tests -vvenv/bin/python -m black --check src testsvenv/bin/python -m ruff check src testsvenv/bin/python -m compileall src testsgit diff --checkHardware note
Also deployed the already-built Pi 4B wake kernel to
pi4boutside this PR and validated that the host booted6.12.81-b2u-wake, exposedwakeup_on_write, and passed smoketest/debug with the expected no-relayable-device warning.