Skip to content

Docs: give the CI-mirroring recipes both onboard pytest passes - #1621

Merged
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
ChaoWao:docs/ci-mirroring-recipes
Aug 2, 2026
Merged

Docs: give the CI-mirroring recipes both onboard pytest passes#1621
ChaoWao merged 1 commit into
hw-native-sys:mainfrom
ChaoWao:docs/ci-mirroring-recipes

Conversation

@ChaoWao

@ChaoWao ChaoWao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

st-onboard-a2a3 has been two pytest invocations since #1609 — the sweep with -m "not sdma", then a separate step with -m sdma, so no fault-injection case meets a device that has already provisioned SDMA (#1425). Three places that claim to reproduce that job still issued one flat sweep — the exact invocation .claude/skills/testing/SKILL.md warns "is not what CI runs and will report failures that CI never sees".

Place Why it is a CI claim, not a local recipe
.claude/skills/test-all-device/SKILL.md Its own description is "Run the full hardware (onboard) CI pipeline", and it already reads --pto-session-timeout out of the st-onboard-<platform> job
.claude/skills/test-runtime-device/SKILL.md Same shape, scoped by --runtime
docs/ci.md The block is literally commented # Recommended CI invocation — missed by #1617 while it corrected the job table three sections above

Each now takes the marker expression from the same job it already takes the timeout from, rather than hardcoding a sweep. That is what stops them drifting again the next time the job changes. The a5 line is untouched: st-onboard-a5 carries no marker filter.

Out of scope, deliberately

The recipes that describe running the tests locally rather than mirroring a job — README.md, docs/testing.md, docs/user/reference/cli.md, examples/README.md, and the three SUBMIT_BY_CLUSTER.md copies — are unchanged. Whether a local sweep should exclude SDMA by default is a question about the documented default, not about matching CI, and it wants a maintainer's call rather than a drive-by. testing/SKILL.md already explains the symptom to anyone who trips over it.

Testing

  • Both skills' pass-1 and pass-2 commands match ci.yml in corpus and selector (examples tests/st, -m "not sdma" / -m sdma, ci.yml:606 and :627)
  • Ordered-list numbering re-checked after the inserted steps: test-all-device 1–8, test-runtime-device 1–9, no duplicates
  • docs/ci.md a5 line verified against ci.yml as correctly unfiltered
  • docs/ and .claude/ are both in NON_CODE, so every gated job should report skipping

`st-onboard-a2a3` has been two pytest invocations since hw-native-sys#1609 — the sweep with
`-m "not sdma"` and a later step with `-m sdma`, so that no fault-injection case
meets a device that has already provisioned SDMA (hw-native-sys#1425). Three places that
claim to reproduce that job still issued one flat sweep, which is the invocation
`.claude/skills/testing/SKILL.md` warns "is *not* what CI runs and will report
failures that CI never sees".

- **`test-all-device`** describes itself as running "the full hardware (onboard)
  CI pipeline" and already reads `--pto-session-timeout` out of the
  `st-onboard-<platform>` job. It now reads the marker expression from the same
  place, and runs the second pass after the first. Taking both from `ci.yml`
  rather than hardcoding them is what keeps the skill from drifting again.
- **`test-runtime-device`** likewise. Both quarantined tests are
  `tensormap_and_ringbuffer`, so the second pass is noted as needed only when
  that runtime is selected.
- **`docs/ci.md`'s "Recommended CI invocation"** block, which hw-native-sys#1617 missed while
  correcting the job table three sections above it. The a5 line is unchanged —
  `st-onboard-a5` carries no marker filter.

Left alone: the recipes that describe running the tests locally rather than
mirroring a job (`README.md`, `docs/testing.md`, `docs/user/reference/cli.md`,
`examples/README.md`, the `SUBMIT_BY_CLUSTER.md` trio). Whether a local sweep
should exclude SDMA by default is a question about the documented default, not
about matching CI, and `testing/SKILL.md` already tells anyone who trips over it
what happened.

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

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ChaoWao, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 28 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a3cce768-0f83-4c39-8269-3fa85b245006

📥 Commits

Reviewing files that changed from the base of the PR and between f2a20ca and 3eea4ff.

📒 Files selected for processing (3)
  • .claude/skills/test-all-device/SKILL.md
  • .claude/skills/test-runtime-device/SKILL.md
  • docs/ci.md

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

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

@ChaoWao
ChaoWao merged commit 883cfe7 into hw-native-sys:main Aug 2, 2026
14 checks passed
@ChaoWao
ChaoWao deleted the docs/ci-mirroring-recipes branch August 2, 2026 07:04
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