Skip to content

scale golden (50k) fails deterministically on main since 03792063..ad38be23 (likely the DuckDB 2.0.1 bump) #1206

Done

Description

@athvin

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 rust runs 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), and first_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.toml and 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:

  1. Bisect the 8 commits.
  2. 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.
  3. Get three consecutive green nightlies.

Dependencies / sequencing: None in the KEEP list.

Size: ~0.25 engineer-weeks.

Activity

  1. added
    ci-backlog
    on Nov 24, 2026
  2. changed the title [-]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)[/+] on Nov 27, 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

    ci-backlog

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions