Skip to content

feat: enrich diagnostics and device capture output#197

Draft
quaxalber wants to merge 6 commits into
stagingfrom
feat/diagnostics-device-capture-output
Draft

feat: enrich diagnostics and device capture output#197
quaxalber wants to merge 6 commits into
stagingfrom
feat/diagnostics-device-capture-output

Conversation

@quaxalber
Copy link
Copy Markdown
Owner

Summary

  • Print the compact read-only smoketest summary as a normal pass line in non-verbose output and as a bold Read-only summary: line in verbose output.
  • Improve device capture live output with a spinner, countdown, spaced metrics, and stable value coloring.
  • Handle Ctrl-C captures with a warning followed by the regular [+] Wrote: success flow and capture validation summary.
  • Enrich device capture schema v2 with input properties, summarized EV_MSC, event-type coverage, first/last monotonic timing, per-code samples, timestamped hidraw samples, and a compact live evdev sample sequence.
  • Document that users should exercise representative controls during the capture countdown.

Validation

  • venv/bin/python -m unittest tests.test_device_capture -v
  • venv/bin/python -m unittest discover -s tests -v
  • venv/bin/python -m black --check src tests
  • venv/bin/python -m ruff check src tests
  • venv/bin/python -m compileall src tests
  • git diff --check

Hardware note

Also deployed the already-built Pi 4B wake kernel to pi4b outside this PR and validated that the host booted 6.12.81-b2u-wake, exposed wakeup_on_write, and passed smoketest/debug with the expected no-relayable-device warning.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 994325bb-a109-470b-8751-e3c90825de0d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/diagnostics-device-capture-output

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.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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

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