Skip to content

test: enable --terminate-on-thunk for all prove tests#1009

Merged
automergerpr-permission-manager[bot] merged 4 commits intomasterfrom
test/terminate-on-thunk-default
Apr 2, 2026
Merged

test: enable --terminate-on-thunk for all prove tests#1009
automergerpr-permission-manager[bot] merged 4 commits intomasterfrom
test/terminate-on-thunk-default

Conversation

@Stevengre
Copy link
Copy Markdown
Contributor

@Stevengre Stevengre commented Mar 31, 2026

Summary

  • Make --terminate-on-thunk the default for all prove tests instead of per-test opt-in via PROVE_TERMINATE_ON_THUNK
  • This exposes unresolved thunks (from incomplete semantics) that were previously silently propagated through proof execution
  • All 110 prove tests pass with this change on master — no regressions
  • Update 13 show expected files whose proof trees changed due to earlier thunk termination

Context

First introduced in PR #813, --terminate-on-thunk makes the prover treat any thunk(...) in the K cell as a terminal state, immediately stopping proof exploration. Previously only closure-staged opted in. Enabling it globally ensures we catch any test that silently relies on thunk propagation.

Test plan

  • All 110 test_prove parametrizations pass locally
  • CI passes

🤖 Generated with Claude Code

Make --terminate-on-thunk the default for all prove tests instead of
per-test opt-in. This exposes unresolved thunks (from incomplete
semantics) that were previously silently propagated. All 110 prove
tests pass with this change on master.

Update 13 show expected files whose proof trees changed due to earlier
thunk termination.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Stevengre Stevengre marked this pull request as draft April 1, 2026 09:19
@Stevengre Stevengre requested review from dkcumming and mariaKt April 2, 2026 03:45
@Stevengre Stevengre self-assigned this Apr 2, 2026
@Stevengre Stevengre marked this pull request as ready for review April 2, 2026 03:45
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Stevengre Stevengre requested a review from palinatolmach April 2, 2026 03:47
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 67c8ab37f0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread kmir/src/tests/integration/test_integration.py
Copy link
Copy Markdown
Collaborator

@dkcumming dkcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Let's give this a go, and if it works out we should consider removing thunk alltoghter

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit f38addb into master Apr 2, 2026
11 checks passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the test/terminate-on-thunk-default branch April 2, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants