Repository navigation
Description
The scheduled rust run's scale golden (50k) job fails intermittently with an unchanged tree. On 0379206 one scheduled run passed and another failed. It failed again on 3d7b8c3 (run 45345314931, job 138278392403), whose diff touches only er-server response types. Both golden_historical_50k tests panic: historical_50k_predict_and_cluster_match_golden at crates/dedupe-core/tests/common/mod.rs:161, and historical_50k_training_matches_golden at golden_historical_50k.rs:132. Earlier scheduled history: 6e81a41 failure. Needs diagnosis: determinism (thread count, float order) vs a fixture or cache problem.
Product context (2026-11-26)
Why this matters for the API product: This guards run and results. The 50k golden is the only scale check that scores and clusters stay identical to the fixture, which means a customer's resolution results stay reproducible. It runs only on schedule and dispatch, and is skipped on PRs and pushes, so nothing else catches this.
Current state: The failure is no longer intermittent.
- Count: I checked all 30 scheduled
rustruns on main, 2026-10-28 through 2026-11-26, first attempt for each. 5 failed: 11-03, 11-04, 11-24, 11-25 and 11-26. The dispatch on ad38be2 (2026-11-23) also failed. - The last 4 runs fail identically. That is 11-23 dispatch, then 11-24, 11-25 and 11-26 scheduled, on three different SHAs. Each shows the same values:
predictions.parquet: 32 mismatching rows(match_weight, for example 25.0330 vs 26.3352), andfirst_name m 0.664543967002083 vs 0.6645368462107837. - Identical values across runs point to a change in the code or the engine, not nondeterminism.
- The last green is 0379206 (scheduled on 11-22 and 11-23, and a dispatch on 11-21). That leaves an 8-commit window. It includes dba8b69 "move the engine to DuckDB 2.0.1 (build(duckdb): move the engine to DuckDB 2.0.1 (#1168) #1171)", which touches only Cargo files and
.cargo/config.tomland does not regenerate this fixture. That makes it the likely cause. Not bisected. - The body says 6e81a41 failed and that 0379206 had one red scheduled run. I couldn't reproduce either: both show success on attempt 1.
- The 11-03/11-04 failures are an older episode. I didn't diagnose them.
Definition of done:
- Bisect the 8 commits.
- If the cause is DuckDB 2.0.1, regenerate the 50k golden with the provenance recorded, or fix the drift. Say which, and why the change in values is acceptable.
- Get three consecutive green nightlies.
Dependencies / sequencing: None in the KEEP list.
Size: ~0.25 engineer-weeks.
Activity
[-]Nightly 'scale golden (50k)' fails intermittently on main[/-][+]scale golden (50k) fails deterministically on main since 03792063..ad38be23 (likely the DuckDB 2.0.1 bump)[/+]fix(golden): the 50k golden survives DuckDB 2.0's Unicode jaro_winkle…