Skip to content

test: ignore tests that flake on wall-clock search budgets (#1067) - #1166

Merged
milindsrivastava1997 merged 1 commit into
mainfrom
1067-ignore-flaky-tests
Nov 2, 2026
Merged

milindsrivastava1997 merged 1 commit into
mainfrom
1067-ignore-flaky-tests

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Collaborator

Part of #1067.

Why

The planner search stops on wall-clock budgets: phase caps, pane-width round caps and the HiGHS time limit. Under CI load it stops at a different point, so tests that assert a selected plan fail intermittently, on a different test each run and on unrelated branches, main included. The decision recorded on #1067 is to park the real fix (stopping only on a proven-optimal plan, with no time or count budgets) and skip these tests until then.

What

Mark 9 tests #[ignore = "flaky: depends on wall-clock search budgets (#1067)"]. Each failed in the last 25 failed CI runs with execution-scope expansion exceeded the deadline, or with the round-dependent Cost { .. Overflow } that #1164 traces:

  • planner_layering_example2::production_memo_selects_a_validated_example2_plan
  • joint_search_equivalence::{custom_accuracy_policy_is_respected, different_windows_and_raw_retention_policies_produce_valid_plans, seeded_small_mixed_workloads_return_validated_plans}
  • sharing_issue_regressions::{grouped_filtered_quantile_plans, nested_exact_sum_reuses_newest_panes, slower_repeat_reuses_faster_sum, sql_sum_shares_nested_windows_and_slower_readers}
  • rollup_controlled::production_distinct_rollup_finds_shared_kmv

Not ignored, because their failures look like real bugs rather than timing: stage_pipeline::workload_examples_preserve_data_and_valid_materialized_views (direct-cost objective disagrees with the evaluator) and memo_enumeration::choices_whose_candidates_read_each_other_are_left_out.

Before this PR

CI fails intermittently on one of the tests above, for example joint planning failed: plan selection: MILP solver: execution-scope expansion exceeded the deadline.

After this PR

Those tests are skipped. In those four modules, 48 tests pass and 13 are ignored (9 new, 4 already ignored). cargo test -- --ignored still runs them.

Key code interfaces added / modified

None.

Major algorithm changes

None.

🤖 Generated with Claude Code

These tests fail intermittently on CI across unrelated branches (main
included) because the search stops on wall-clock budgets. Ignore them
until #1067 replaces budget-based stopping with optimal-only stopping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@milindsrivastava1997
milindsrivastava1997 merged commit c83aa19 into main Nov 2, 2026
3 checks passed
@milindsrivastava1997
milindsrivastava1997 deleted the 1067-ignore-flaky-tests branch November 2, 2026 20:29
zzylol added a commit that referenced this pull request Nov 2, 2026
…r deadline (#1067) (#1180)

Follows #1166. A search budget (wall_time, time_limit_ms) or a short real
deadline (Instant::now() + a few ms or s) decides these tests' outcome on a
slow or loaded machine; e.g. structural_seed_timeout_preserves_validated_incumbent
sleeps 1.1 s against a 1 s budget and fails under load. Stage 3 is being
replaced (#1095), and #1067 moves to optimal-only stopping; until then they
are ignored. Tests whose deadline is already expired (Instant::now(),
Duration::ZERO) or whose fake evaluator never reaches its budget stay.
milindsrivastava1997 added a commit that referenced this pull request Nov 2, 2026
…1175)

#1166 and #1180 ignored the tests seen failing on deadlines; every other
test that reaches the time-limited search (plan_installable, e2e_plan,
optimize, run_planning, or the planner binary) can fail the same way
under CI load. Ignore them as a stopgap; #1175 tracks re-enabling or
rewriting each once Stage 3's design (#1095, #1067) is final. Tests
that only use select_among_plans or installable_plan_of (no deadline)
still run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
milindsrivastava1997 added a commit that referenced this pull request Nov 2, 2026
…1175)

#1166 and #1180 ignored the tests seen failing on deadlines; every other
test that reaches the time-limited search (plan_installable, e2e_plan,
optimize, run_planning, or the planner binary) can fail the same way
under CI load. Ignore them as a stopgap; #1175 tracks re-enabling or
rewriting each once Stage 3's design (#1095, #1067) is final. Tests
that only use select_among_plans or installable_plan_of (no deadline)
still run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
milindsrivastava1997 added a commit that referenced this pull request Nov 2, 2026
…1175) (#1181)

#1166 and #1180 ignored the tests seen failing on deadlines; every other
test that reaches the time-limited search (plan_installable, e2e_plan,
optimize, run_planning, or the planner binary) can fail the same way
under CI load. Ignore them as a stopgap; #1175 tracks re-enabling or
rewriting each once Stage 3's design (#1095, #1067) is final. Tests
that only use select_among_plans or installable_plan_of (no deadline)
still run.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant