Skip to content

Fix failing structured trace handler reuse test on master - #1246

Open
MySweetEden wants to merge 1 commit into
scipopt:masterfrom
MySweetEden:fix/structured-trace-test-timeout
Open

Fix failing structured trace handler reuse test on master#1246
MySweetEden wants to merge 1 commit into
scipopt:masterfrom
MySweetEden:fix/structured-trace-test-timeout

Conversation

@MySweetEden

@MySweetEden MySweetEden commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary
Fix test_structured_optimization_trace_reuses_handler_for_repeated_contexts, which is currently failing on master.

On the Windows runner, the one-second time limit could be exhausted during presolving, before any trace event was emitted. This left the trace with only a run_end record and caused the test to fail.

This PR:

  • disables presolving in the structured trace handler reuse test
  • retains the five-second optimization limit configured by _model()

Why this was not caught before merge
The failure was detected only after merging because the Integration test workflow runs on pushes to master, but not on pull requests.

Follow-up
I propose tracking the pre-merge CI coverage gap in a separate issue, including whether the Integration test workflow should run before merge. This PR leaves the CI configuration unchanged and is limited to fixing the failing test.

@MySweetEden MySweetEden changed the title Fix structured trace test timeout Fix failing structured trace handler reuse test on master Aug 10, 2026
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