Skip to content

fmt: reformat the #1095 probe assertion (workspace fmt was red on main) - #1100

Closed
AdaWorldAPI wants to merge 1 commit into
mainfrom
claude/fmt-1095
Closed

fmt: reformat the #1095 probe assertion (workspace fmt was red on main)#1100
AdaWorldAPI wants to merge 1 commit into
mainfrom
claude/fmt-1095

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Superseded by #1101 and closed unmerged.

This PR fixed the one workspace-scoped rustfmt diff #1095 introduced (crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs:73). #1101 does that and the 214 diffs in the workspace-excluded jc / sigker / thinking-engine, and adds CI gate steps so none of it recurs — so this change is a strict subset of it.

The scoping analysis here was superseded too, and corrected in #1101: the 214 were investigated and shown not to be a 1.95.0 → 1.97.1 toolchain artefact (rustfmt is 1.9.0 under both; both report the identical 214), so leaving them out was no longer the right call.

PR #1095 merged with one rustfmt diff in
crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs:73 --
a windows(2).all(...) chain rustfmt wants split across lines. Formatting
only; the assertion, its inputs and its meaning are unchanged, and the
probe still passes.

Scope, measured rather than assumed. Workspace-scoped `cargo fmt --check`
was red on exactly ONE file, which is this one. `cargo fmt --all --check`
reports 215 diffs, but 214 of those predate #1094/#1095 (verified by
re-running the check at 703ac52, the merge-base before both) and all sit
in crates/jc, crates/sigker and crates/thinking-engine -- all three
workspace-EXCLUDED in Cargo.toml, so CI's fmt gate never reaches them.
Those 214 are left untouched: they are a pre-existing condition in
excluded crates, not this PR's business, and sweeping them would put ~200
unrelated files in a formatting commit.

Verification: cargo fmt --check clean (workspace scope); the probe test
passes.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9e0633eb-90f9-45bd-bfc1-a80a7327a56a

📥 Commits

Reviewing files that changed from the base of the PR and between e4db066 and 8143387.

📒 Files selected for processing (1)
  • crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.


📝 Walkthrough

Walkthrough

The P64 target identity probe reformats one equal-distance assertion into a multiline chained expression. The assertion condition and test behavior remain unchanged.

Changes

P64 Target Identity Probe

Layer / File(s) Summary
Reformat equal-distance assertion
crates/cognitive-shader-driver/tests/p64_target_identity_probe.rs
The raw.windows(2) assertion uses multiline formatting. Its condition remains unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 81433

This PR only reformats one test assertion without changing its behavior or inputs; the affected test passes and no actionable merge-blocking risk remains.

Poem

A rabbit found the lines too wide
So split the test with care and pride
The distances still match
No behavior fell through the hatch
Clean code now hops beside

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the formatting-only change to the probe assertion and explains that it fixes the workspace formatting failure.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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

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.

2 participants