Repository navigation
Conversation
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Restore the five-file formatting gate failure on main for #2794. Apply only Rust 1.98.0 rustfmt output; preserve behavior and gate policy. Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
CI authorization handoff — exact reviewed head#2820 is now ready for review at Local pinned Rust 1.98.0 evidence:
The actual exact-head canonical workflow 42067640884, attempt 1, currently reports This repairs only main's formatting blocker; it makes no numerical, output, dependency or gate changes and does not hide the inherited sweep/rig/exact-base problems. Their integration is coordinated on tangency-labs/solidcraft#13762: tangency-labs/solidcraft#13762 (comment). #2816 owns the gate transition and #2824 the five count-domain rig cases. — OpenCode (GPT-6.1 Sol), on behalf of @altvnk |
bherbruck
left a comment
There was a problem hiding this comment.
Format only: the removed and added code match token for token apart from trailing commas and rustfmt's closure braces. fmt, clippy and test pass; the difftest and kernel-rig reds are main's.
|
@altvnk: #2838 merged the diagnostics formatting as 0956246 (main 3f82278). I compared all five files in this PR at 212383a: their Git blob IDs are identical to current main. Fresh workspace |
|
Thanks @altvnk! This is approved, but its CI ran on an older main, and its kernel rig shows failures beyond the three knife-edge chamfers main also fails. Could you rebase on main so CI runs again? If the extra failures are gone after the rebase, it's ready to merge. |
Superseded / already landed: all five file blobs at this PR head are identical to authoritative main
513e6fcfcd049d41e9487599880479de4add63f2, through merged #2838 (3f82278a14c1a6104db8e090a59b4bcf677ace01). Closing this duplicate instead of rebasing an empty formatting change or retriggering CI. No source/history is discarded; the branch and verified evidence remain preserved. This PR is not counted as a separate completed delivery.Addresses the diagnostics formatting blocker reported on tangency-labs/solidcraft#13762: main
d93a19bd4failscargo fmt --all --checkin five diagnostics source files (job 127353812989). This PR repairs that formatting failure only, not the inherited sweep/rig failures or the gate policy.Units: diagnostics tooling / main formatting gate; no kernel unit change.
In scope: pinned Rust 1.98.0 rustfmt output for the five existing diagnostics source files.
Expected edits:
crates/diagnostics/src/body.rs,main.rs,png.rs,render.rs,report.rsonly.Evidence: exact-base red formatting check, successful post-change workspace formatting, identical before/after pinned formatter normal forms for every file, two existing diagnostics tests and focused strict Clippy; details below.
Related PRs / dependencies: tangency-labs/solidcraft#13762 coordination; #2816 owns the goldens/gate transition (#2802 closed in its favor). #2792, #2803, #2806, #2811 own diagnostic case accounting. #2804 and #2824 own their stated rig repairs. All are outside this scope.
Available follow-ups: behavioral diagnostics changes, rendering/PNG correctness, other rig failures, dependency changes and gate decisions remain independent work.
Status / blockers / next step: local validation and independent complete-diff review pass. Published exact reviewed head
212383a75d19cd69f06e71a7ecf92c17f1193f93from fresh maind93a19bd4e0ca3b141cc028ca73f9cc80be38efe. Ready for review, but exact-head canonical run 42067640884, attempt 1, isaction_required, zero jobs. Maintainer authorization is needed; CI must actually succeed before this can be considered merge-ready or countable. No inherited failure is waived, no baseline substituted, and no gate changed.Change
Apply exactly the repository's Rust 1.98.0 formatter output: line reflow, canonical trailing commas, closure-body blocks, and
serde_jsonimport ordering. It is rustfmt-only, not literally whitespace-only. No numerical expressions, algorithm/iteration order, strings, CLI behavior, outputs, dependencies, fixtures, expected results or CI configuration are changed.No new tests or geometry images are needed for source layout: the regression reproducer is the actual failing formatting check. This does not assert binary identity or a before/after rendered-output measurement.
Validation
Explicit
RUSTUP_TOOLCHAIN=1.98.0andcargo +1.98.0were used because the shell inherited a newer toolchain override. Builds usednice -n 10, two Cargo jobs, debug information/incremental off and a lane-private target; the missing sccache wrapper was unset.cargo +1.98.0 fmt --all --checkat claim/base sourcecargo +1.98.0 fmt --all --checkrustfmt --emit stdoutgit diff --checkand file-set checkcargo +1.98.0 test -p diagnosticspng::tests::header,png::tests::iend_crc)cargo +1.98.0 clippy -p diagnostics --all-targets -- -D warnings2aebaa148e674b615167bb268804dbe92b4dc06fbcf1ade7e9e49c80f5e7a83a, all five source hashes matched; no semantic change foundFormatter-normal-form identity is static evidence, not an AST-equivalence or runtime-output theorem. The two existing tests cover the PNG header/end chunk, not full rendering behavior. Full-system validation belongs to canonical CI; no local C++ build/difftest is claimed for this non-kernel formatting change.
Ownership was checked before the draft claim and before implementation. Gate-transition and case-accounting owners are not duplicated. Coordination: tangency-labs/solidcraft#13762 (comment).
— OpenCode (GPT-6.1 Sol), with DeepSeek V4.1 Flash Free implementation/review, on behalf of @altvnk
Summary by CodeRabbit