Repository navigation
Description
Ready to start. Every prerequisite of this ticket has merged: TE-B-P2 (#19801, merged in #20145), TE-B-P3 (#19802, merged in #19861), TE-B-P4 (#19803, merged in #20212). Start from current
main; line numbers below were taken before those merges and may have moved.
Part of the typed-errors work (#13790). The index of all tickets, their order and the independence notes is #19799.
The foundation (#19636) is merged: Defect { why }, the per-file counts and the conversion guide are on main. The guide is section 6 of solidcore/docs/failure-codes-and-reproduction.md; rule numbers below are that section's. Paths are relative to solidcore/crates/solidcore/src/ unless they say otherwise. Site counts were measured at dd28d1111; the pinned lists on main are the truth if they differ.
This ticket owns its files. It converts every counted site in the files listed, of every kind, and edits only those files' lines in the pinned lists. To take it, open a draft PR that references this issue.
Audit figures below come from a reading of every StageFailed site at 11c641f04 (results); a * after a line number means a test reaches that site. Line numbers may have drifted since.
Corrections after checking this ticket against the goldens (2026-11-20)
For every conversion (beside rule 1):
Keeping the status means
solidcore::error::upstream_status(&e)returns what it did, because most goldens units read that, notsm_status(). A new Curve, Offset, Sweep or Blend cause must return true fromreplaces_upstream_status. A nurbs cause must be aBSplineFailurevariant. A bare site (sm_err/null_pointer/Upstream) is also read by runners that match onlySolidError::Upstream(listed in the "How the goldens read an error" comment on #19799), so run the goldens of every unit its error reaches.
Files:
file (under blend/) |
total | phrase (phrase_sites.rs PINNED) | stage (stage_sites.rs PINNED) | bare (error/blend.rs WAITING) |
|---|---|---|---|---|
fillet_executive/session.rs |
48 | 43 | 5 | |
fillet_executive/session/ball_regular.rs |
8 | 8 | ||
fillet_executive/session/band_cuts.rs |
12 | 12 | ||
fillet_executive/session/concave_nxn.rs |
1 | 1 | ||
fillet_executive/session/corner_marks.rs |
1 | 1 | ||
fillet_executive/session/finish.rs |
3 | 3 | ||
fillet_executive/session/fit_size.rs |
20 | 20 | ||
fillet_executive/session/insertion/geometry.rs |
2 | 2 | ||
fillet_executive/session/insertion/geometry/intersector.rs |
1 | 1 | ||
fillet_executive/session/insertion/geometry/topology_objects.rs |
1 | 1 | ||
fillet_executive/session/insertion/live.rs |
3 | 3 | ||
fillet_executive/session/law_corners.rs |
10 | 9 | 1 | |
fillet_executive/session/original_trim.rs |
1 | 1 | ||
fillet_executive/session/piecewise.rs |
13 | 13 | ||
fillet_executive/session/surface.rs |
4 | 4 | ||
fillet_executive/session/tangent_rollover.rs |
7 | 5 | 2 | |
fillet_executive/session/trace_reach.rs |
3 | 3 | ||
fillet_executive/session/two_offsets.rs |
18 | 18 | ||
fillet_tangent_rollover.rs |
2 | 2 | ||
round_room.rs |
1 | 1 | ||
| total | 159 | 151 | 8 |
What to do:
- 151 phrase sites, mostly
blend_missing(112: a solver, corner, edge use the session made: rule 2) and 8 stage sites.two_offsets.rschecks the caller's own lists (InvalidValue): rule 9, a named invalid-input cause keepingSM_ERR_INVALID_INPUT(its test at two_offsets.rs:585 asserts the phrase and the status). - session.rs's 5 stage sites: 3552 (an End that would wait again in the adjusted pass: defect, built on purpose) and the four calls of
band_stage_failed(6499, 6573, 6701, 6727). The audit read 6701 (then 6483) as a numeric stop (a closest-point search that stopped) and 6727 as a defect; 6499 and 6573 are unaudited. finish.rs:1082-1086("the fillet body is not built") is the phrase solidcore: a curved Setback that no fill certifies up to twice its setbacks is refused untyped, naming no size #16398 reports; TE-B-P2 (Typed errors [TE-B-P2]: The fillet executive's stages keep the stage's error as their cause #19801) makes it carry the cause, and this ticket names it. Its assertion is insolidcore-ops/src/blend/tests.rs.session.rs:1121(another corner's judgement that fails proves nothing:None) andsurface.rs:505,trace_reach.rs:200/203(continue) are control flow (rule 10).
Prerequisites: Foundation (#19636, merged 2026-11-20: Defect { why }, the per-file counts, the guide); TE-B-P2 (#19801) (the executive's stages keep the cause); TE-B-P3 (#19802) (delete the blend total); TE-B-P4 (#19803) (corner classification keeps the cause).
Watch for:
- This ticket's files hold cause-replacing callers of other tickets:
session.rs:2493, 2544(TE-B-P4 (Typed errors [TE-B-P4]: A corner whose classification fails keeps the failure as its cause #19803), lands first). The trait impls in session.rs (CornerVertexAccess,CornerEdgeAccess,SolverGeometryAccess, ...) run underfillet_executive/p3.rsignore(TE-B-P2 (Typed errors [TE-B-P2]: The fillet executive's stages keep the stage's error as their cause #19801)). - Shared helpers:
fillet_tangent_rollover.rsis called byfillet_solver/p1.rs,fillet_geom/p2.rs,p6.rs,fillet_corner/topology/join.rs,nx1_end.rs,session/fit_size.rs,ball_regular.rswith?.round_room.rsdefinesRoundRefusal(used bytrace_reach.rs,fillet_executive/p1.rs,band_room.rs). - Tests:
solidcore-ops/src/blend/tests.rs("the fillet body is not built"),solidcore-ops/tests/blend.rsandsolidcore-ops/tests/tangent_rollover.rs("the faces the rails enclose reach past the rails",original_trim.rs),solidcore-ops/tests/blend.rs(two_offsets),solidcore/tests/blend_refusal.rs(session refusals by operation),solidcore/tests/issue_2365_nxn_setback_corners.rs. - Audit (8 stage sites): session.rs 3 audited (3552 defect; 6701* numeric; 6727* defect), 2 unaudited;
session/law_corners.rs1 defect;session/tangent_rollover.rs2 defects. - Goldens units pinning statuses:
blend_fillet_executive_p3(callsfillet_executive::sessiondirectly); plus the end-to-end units that run whole blends and so reach this code:blend_fillet_executive_p1,blend_fillet_executive_p2,blend_fillet_executive_p3,blend_feature_executive,topology_assert_valid(it callsfillet_executive::api::fillet_edges).
Done when: every listed file's line is gone from the pin lists named in the table (or lowered to the agreed remainder stated under What to do, with the reason in the PR); no numeric status changed (the goldens named above unchanged); the tests listed under Watch for updated in the same PR; cargo test -p solidcore --lib -- error:: passes.
Also closes: none. Size: 159 sites, L.
Second reading of the sites that are not plain defects
Added 2026-11-21. The audit read these 1 sites a second time because the first reading did not class them as plain defects. This is that second reading, site by site, so the work is not repeated: its class, how sure it is, whether a test reaches the site, and the reasoning. It was done by reading the code at 11c641f04; nothing was run unless a test is named. Line numbers are that commit's and have moved since: find the site by the routine named in the reasoning. A class of "undetermined" means reading could not settle it; the reasoning says what would (usually a body that reaches the site).
The second reading, per site
Site (at 11c641f04) |
First reading | Second reading | Confidence | Reaches the application | Test | Reasoning |
|---|---|---|---|---|---|---|
blend/fillet_executive/session.rs:6483 |
NUMERIC | NUMERIC (confirmed) | medium | yes, via geometry_bands_clear_other_rails (fillet_executive/p3.rs:3449, ?); swallowed only when the sample lies off its face (session.rs:6496) |
in-file a_foot_that_cannot_be_found_on_the_run_is_not_replaced (synthetic closures, not geometry) | The drop onto a bounded run edge returned success=false (session.rs:6481-6483); a bounded curve always has a nearest point, so this is a solver that stopped. DroppedPoint's parameter and distance are at hand to name it. |
Written by Claude Code (Anthropic) on behalf of @brett19.
Activity
github-actions commentedon Nov 22, 2026
Claimed by @brett19 through #20750. The claim lapses after 14 days without pushes.
Typed errors (TE-B-14 part 1): the fillet session helpers' failures b…
Typed errors (TE-B-14 part 1): caller-reachable fillet session states…
Typed errors (TE-B-14 part 1): EdgeUseWithoutEdge reads as tangency-l…
Typed errors (TE-B-14, part 1 of 2): the blend fillet session helpers…
Name the fillet session's phrase and stage failures (TE-B-14 part 2)
Typed errors (TE-B-14, part 2 of 2): the blend fillet session's remai…
solidcore: typed errors in the fillet session's last phrase sites (TE…
solidcore: keep the edge curve cache failure a blend failure (TE-B-14…
Typed errors (TE-B-14, part 3 of 3): the fillet session's last phrase…
brett19 commentedon Nov 24, 2026
Closing as done. Its PRs merged (#20750, #20927 and #21349), and main at
e7aa2b4bfcpins 0 sites for this ticket's files: none of them is left in the phrase, stage or bare-status lists. The index #19799 lists TE-B-14 as done.Written by Claude Code (Anthropic) on behalf of @brett19.