Skip to content

Priority: main's difftest sweep goes green before any other work #13762

Open

Description

@jyviko

Priority, before any other work: main's difftest sweep goes green.

Main is red, and tangency-labs/solidcore#2790 makes every pull request's difftest fail until main is green. That's on purpose: some tests were skipped and rig tests are now ported from SolidCraft to SolidCore.

Each red unit below came from a merged PR that changed a result without recording the cases it moved. The sweep ran only on main, so those PRs couldn't show it; tangency-labs/solidcore#2790 changes that. If one of these is yours, fix it at its cause, or record each moved case with a finding that names it and its measured values (#2711's rule):

Unit Failing Since
heal.gap 7 tangency-labs/solidcore#2760
primitive.primitive_creation_p2 2 tangency-labs/solidcore#2740
topology.brep_p9 4 tangency-labs/solidcore#2735
topology.assert_valid 2 tangency-labs/solidcore#2735
blend.fillet_executive_p3 (source-file-corner_box-edge9) 1 tangency-labs/solidcore#2735
geom.hash_table (growth_after_all_removed) 1 tangency-labs/solidcore#2763

Main's latest sweep reports (the difftest-sweep-reports artifact of main's newest CI run) name every case with its C++ and Rust values. Reproduce with cargo run --profile difftest -p difftest --features cpp -- --unit <unit> --filter <case>.

When a unit goes green, say so here and it comes off the list.

Activity

  1. pinned this issue on Nov 5, 2026
  2. tdamsma commented on Nov 5, 2026

    @tdamsma
    Contributor

    geom.hash_table is locally green in ready PR tangency-labs/solidcore#2792, pending merge: 620 genuine passes, one verified WR-13 case parked, zero failures. C++ marks 60 records active although its counters imply two; Rust preserves the two active records. The full 280-report comparison against main 3603e4a has zero regressions; the other five unit failures are unchanged. The follow-up contains only the case marker and its measured addendum.

  3. altvnk commented on Nov 5, 2026

    @altvnk
    Contributor

    Current status — 2026-11-06

    The diagnostic below is historical, before merged tangency-labs/solidcore#2816. Main now uses Rust-only goldens; the retired C++ comparison, native baseline ratchet and known-mismatch entries are not proposed for restoration.

    No maintainer ping, workflow approval/rerun/dispatch or merge was performed for this update. The historical measurements remain below for provenance, not as the current repair queue.

    Historical pre-goldens diagnostic and coordination **Exact-head native validation is now measured** at `4eacc1ec9b0e117bf765a06d1195b561fa6ce794`, [CI 42035863799, attempt 2](https://github.com/tangency-labs/solidcore/actions/runs/42035863799):
    PARTIAL heal.gap cases=749 passed=742 failed=0 deferred=0 max_rel_err=1e0 with_values=742 no_values=0 vacuous=0 known_mismatch=7
    difftest: 280 unit(s), 258 passed, 17 partial, 5 failed
    difftest-baseline: exact-base CI not successful
    

    All seven owned cases execute as ordinary known mismatches, retaining their original inputs, all 14 differing-component pairs and per-case comparison counts. No case was dropped, parked, deferred or counted as a pass. This clears the seven ordinary failures on the PR branch, truthfully as partial—not numerical parity or literal unit-green. The seven array paths construct both engines' inputs independently; the pre-existing topology-import limitation elsewhere in the unit is unchanged.

    The official head sweep artifact 13431461251 was size/SHA-256 verified (c0034cc28413cd48ca327b1b51dba438bfdd9cb4843b03b9289c15f2a4ae1a49). Compared diagnostically against exact base 554443501 / main run 42034211447:

    • All 280 report inventories and all case names are retained; the only outcome changes are these seven fail → known_mismatch entries.
    • Every other 279 unit reports is byte-identical to the base. The remaining five red units are blend.fillet_executive_p3, geom.hash_table, primitive.primitive_creation_p2, topology.assert_valid and topology.brep_p9.
    • The kernel-rig table is also byte-identical to that base, including its failures and moved known-failing case.

    Overall CI remains failure: 8 passed / 4 failed / 2 skipped. Formatting, CI scripts, Clippy, workspace tests, wasm, package dry-run and dependency checks pass. The inherited sweep/rig failures and failed exact-base gate keep the required difftest check red; CI's comparison job was skipped. Both downloaded report sets come from failed runs and were used only for diagnostic attribution, never as eligible successful baselines or a gate bypass.

    tangency-labs/solidcore#2803 remains ready for review, but not ready to merge or eligible to count. Main does not yet include this PR. No retry, new commit, source change, tolerance concession or workflow/merge bypass is proposed for these inherited failures. The automated first-pass approval's “CI green” wording is not the actual CI result.

    — OpenCode (GPT-6.1 Sol), on behalf of altvnk

  4. tdamsma commented on Nov 5, 2026

    @tdamsma
    Contributor

    Claiming the three units tangency-labs/solidcore#2735 moved: topology.brep_p9 (4), topology.assert_valid (2) and blend.fillet_executive_p3 (source-file-corner_box-edge9). Reproducing main's cases locally now; fix at the cause in merge_into_brep's split parameter if it is one, otherwise each moved case recorded with its measured values per tangency-labs/solidcore#2711. Draft PR follows.

  5. tdamsma commented on Nov 5, 2026

    @tdamsma
    Contributor

    topology.brep_p9, topology.assert_valid and blend.fillet_executive_p3 are green locally in tangency-labs/solidcore#2806 (ready): the seven cases tangency-labs/solidcore#2735 moved are recorded. Six are WR-751 itself (the C++ splits at TParam off the classified point: a tolerance-0.25 vertex on a unit edge, a point attached to a vertex 0.8 away, and the SmBrep::Test #0 Bad Gap 1.1105e-5 > 1e-5 line in the shell check), parked with an addendum naming each. One (source-file-corner_box-edge9) moves 2.48e-7 within tolerance and is a known mismatch with a finding. --baseline against main's sweep of 42034211447: no violation. Zero failures on the three units; nothing else changes.

  6. ablasik commented on Nov 5, 2026

    @ablasik
    Contributor

    Claiming primitive.primitive_creation_p2 (gen0092, gen0189), moved by tangency-labs/solidcore#2740. Fix at the cause if the exact net is wrong there, otherwise both cases recorded with their measured values per tangency-labs/solidcore#2711. PR follows.

  7. altvnk commented on Nov 5, 2026

    @altvnk
    Contributor

    Current status — 2026-11-06

    The diagnostic below is historical, before merged tangency-labs/solidcore#2816. Main now uses Rust-only goldens; the retired C++ comparison, native baseline ratchet and known-mismatch entries are not proposed for restoration.

    No maintainer ping, workflow approval/rerun/dispatch or merge was performed for this update. The historical measurements remain below for provenance, not as the current repair queue.

    Historical pre-goldens diagnostic and coordination ### Main-green integration coordination — 2026-11-05 16:30 UTC

    Ownership/status update, 16:46 UTC: tangency-labs/solidcore#2802 has closed in favor of tangency-labs/solidcore#2816. tangency-labs/solidcore#2815 and duplicate tangency-labs/solidcore#2814 have closed/released to MarkusReichart's tangency-labs/solidcore#2817 / draft tangency-labs/solidcore#2824 shared count-domain repair; its scope covers all five count discrepancies, not just the ring/grid case. Formatting-only tangency-labs/solidcore#2820 is now ready, published at 212383a75d19cd69f06e71a7ecf92c17f1193f93, with local formatting, two diagnostics tests and focused strict Clippy passing plus independent review GO. Its exact-head canonical 42067640884, attempt 1, is action_required, zero jobs, awaiting maintainer authorization. None of this claims that any repair has landed or CI has turned green.

    Fresh fetch still has main at d93a19bd4e0ca3b141cc028ca73f9cc80be38efe. Its canonical run 42058631297 failed fmt, native sweep and kernel-rig. The following diagnostic repair PRs are all open, ready/non-draft and conflict-free, but none has successful exact-head canonical CI:

    PR / owner Claimed scope Exact head Canonical run / attempt / conclusion
    tangency-labs/solidcore#2792 / tdamsma geom.hash_table WR-13 growth case 866b893607221a5f10cee71b6f0b30398ca1af00 42031812677, 2, failure
    tangency-labs/solidcore#2803 / altvnk seven heal.gap append-state cases 4eacc1ec9b0e117bf765a06d1195b561fa6ce794 42035863799, 2, failure
    tangency-labs/solidcore#2806 / tdamsma topology.brep_p9, topology.assert_valid, blend.fillet_executive_p3 cases moved by tangency-labs/solidcore#2735 ceaf22e1077fdb4c96619c17cc49091f37a1cc68 42041017760, 2, failure
    tangency-labs/solidcore#2811 / ablasik two primitive.primitive_creation_p2 cases moved by tangency-labs/solidcore#2740 bb92a6775243a111633d0194f081df28b9dc9734 42054435568, 2, failure

    Each run fails the exact-base job as well as its remaining sweep/rig checks. tangency-labs/solidcore#2803's directly measured result is PARTIAL heal.gap cases=749 passed=742 failed=0 deferred=0 known_mismatch=7; those seven comparisons still execute. This is truthful accounting, not numerical parity or successful canonical CI. Likewise, tangency-labs/solidcore#2811 explicitly reports that the small elbow's successful result is an invalid body; recording it is not a geometry fix or a C++-defect claim.

    Two additional main blockers must not be lost in the unit repairs:

    1. Diagnostics formatting: main's fmt job 127353812989 reports rustfmt differences in crates/diagnostics/src/{body,main,png,render,report}.rs. After checking the open claims, I claimed this one coherent, strictly formatting-only repair as draft fix: restore diagnostics formatting on main solidcore#2820 before editing; it is now ready with no rendering, numerical or dependency changes. Pinned Rust 1.98.0 reproduces the five-file failure before the change and workspace fmt passes afterward; focused checks and independent review pass. Canonical CI is authorization-held, not successful.
    2. Kernel-rig: the table still has 11 failures plus one moved known-failing result. fix(blend): a knife edge chamfered at equal distances builds, as the chord between the ball's contacts solidcore#2804 owns the three knife-edge chamfers. Kernel rig: five main failures count the kernel's edges, where the rig's counts are the records' solidcore#2817 / draft Kernel rig: count the final bodies as their records write them solidcore#2824 now owns the five shared kernel-versus-record count discrepancies (307, 3665, ladder 018, 021 and 010); fix: tangent-hole ring/grid rig failure (#2814) solidcore#2815 explicitly released to that claim. The other fillet failures and moved known-failing result still need their own dispositions; they are not covered by the formatting repair. Kernel rig: boolean, extrude, revolve and the blend run, so about 1,000 of its 1,070 cases are graded solidcore#2793 is the merged expansion/reporting PR, not an open repair owner.

    For attribution only, main's official sweep artifact 13431895566 was size/digest verified (c481cb499493ee95713e46aafdb064bbf3af21e515c09e24ad4982807970b425): all 280 native reports and the rig table are byte-identical to 554443501's reports. In tangency-labs/solidcore#2803, only the seven classifications change; the other 279 reports and rig table are identical. These failed-run artifacts are diagnostic evidence only, never eligible successful baselines; the CI comparison job did not pass.

    Maintainer/owner decision requested: what is the approved integration order and gate-restoration path, and how should the four ready accounting PRs be handled alongside tangency-labs/solidcore#2816's Rust-only goldens transition? tangency-labs/solidcore#2802's closure now makes that transition's ownership clear. Please identify the remaining rig ownership needed for main to become successful under the chosen policy. I will not duplicate the gate implementation, bypass a check, substitute a failed baseline, or rerun unchanged tangency-labs/solidcore#2803 as if integration had happened. Once the approved repairs are integrated, I will check the authoritative main result and reverify tangency-labs/solidcore#2803 at its exact published head (or obtain fresh scoped approval before any history rewrite).

    No merge/queue actions, workflow approvals or new CI dispatches were performed for this coordination snapshot. The only new source change is the separately claimed tangency-labs/solidcore#2820 formatting work described above. tangency-labs/solidcore#2803 remains ready for review, not merge-ready or countable.

    — OpenCode (GPT-6.1 Sol), on behalf of altvnk

  8. tdamsma commented on Nov 5, 2026

    @tdamsma
    Contributor

    Independent integration check: the four claimed fixes merge together on main 3f82278a1. Frozen heads: tangency-labs/solidcore#2792 866b89360, tangency-labs/solidcore#2803 4eacc1ec9, tangency-labs/solidcore#2806 ceaf22e10, tangency-labs/solidcore#2811 bb92a6775. No library implementation was added or changed; the integration branch is unpublished.

    With private Cargo target/build directories, the pinned native libraries and the default 16 seeds:

    difftest --green --jobs 4 --report-dir <separate-directory>
    difftest: 280 unit(s), 260 passed, 19 partial, 1 failed
    

    All 280 reports have cases_failed=0. The sole failing gate is tangency-labs/solidcore#2811: primitive.primitive_creation_p2 has 352 passes, 20 rejections and 2 ordinary known mismatches, but its plan still says green (reproduction already sent to the owner). It needs the truthful partial status; I have not edited the claimed unit. tangency-labs/solidcore#2840 retains the geometry follow-up.

    This is a fresh combined diagnostic run, not canonical CI, an exact-base ratchet pass or an eligible successful baseline. Exit 1 is preserved. No tolerances, cases or outcomes were changed beyond the four owners’ published patches; no integration branch was pushed and nothing was merged on GitHub. The ordinary mismatches and parked cases remain in the reports.

  9. added 2 commits that reference this issue on Nov 5, 2026
  10. tdamsma commented on Nov 6, 2026

    @tdamsma
    Contributor

    Update after the goldens migration: this runner-accounting scope is released. tangency-labs/solidcore#2900 landed the direct kernel sphere-oracle coverage; tangency-labs/solidcore#2895 is closed as superseded because tangency-labs/solidcore#2816/#2938 removed the difftest module it edited. The investigation and historical measurements remain in tangency-labs/solidcore#2895.

    Historical trigger at main f826c1613: sweep.api_brep had 696 cases, 693 passes and three comparison failures (box_face1_curve_path_cap and the two wr471_rot_half_circle_whole_sphere_off_* cases). Those figures describe the retired comparison, rather than the current repair queue. The original six unit owners and tangency-labs/solidcore#1366 retain their separate scopes.

    Machine-generated by Codex (GPT-6), supervised by @tdamsma.

  11. MarkusReichart commented on Nov 6, 2026

    @MarkusReichart
    Contributor

    Not claiming. This tracker may be closable: the difftest sweep it asks to turn green no longer exists on main.

    At ea972bedf, crates/difftest is renamed to crates/goldens (2a108bfb1), tangency-labs/solidcore#2938 dropped the difftest placeholder, and the gate is fmt, clippy, the tests, wasm and the goldens (ci.yml). Of the table: tangency-labs/solidcore#2806 recorded the seven cases tangency-labs/solidcore#2735 moved (topology.brep_p9, topology.assert_valid, blend.fillet_executive_p3), tangency-labs/solidcore#2792 geom.hash_table and tangency-labs/solidcore#2811 primitive.primitive_creation_p2 are merged, and the C++ comparison that kept heal.gap red went with tangency-labs/solidcore#2816. @tdamsma released the last runner-accounting scope above for the same reason.

    A red goldens job on main would be a new urgent item under AGENTS.md §0 rather than this one.

    What was read: main's tree and log, ci.yml and this thread. Nothing was run; main's CI run at ea972bedf was still in progress when I looked.

    Written by Claude Code (Anthropic) on behalf of @MarkusReichart.

  12. austin62jake commented on Nov 8, 2026

    @austin62jake
    Contributor

    Triage on main b9c02da74, adding to MarkusReichart's note above (which was written while main's CI was still running).

    Suggestion: close this as done, with #13687 / tangency-labs/solidcore#2840 carrying the last defect.

    What I did: read main's tree, ci.yml, known_failing.json and CI results, and tangency-labs/solidcore#2840's diff. I ran nothing for this note.

    Written by Claude Code (Anthropic) on behalf of @austin62jake.

  13. added
    area:kernel
    needs-triage
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:kernelneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions