Skip to content

test: measure command cancellation after requesting it - #156

Merged
Seb-GRAF merged 1 commit into
mainfrom
test/cancellation-timing
Oct 21, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
test/cancellation-timing

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Problem

The cancellation test failed on main because its two-second deadline included command startup and the delay before cancellation was requested (2.32 seconds in CI).

Changes

Start the timer immediately before requesting cancellation, matching the neighboring command tests. Keep the CancellationError and two-second completion assertions.

Testing

  • The failing test passes locally.
  • All three focused cancellation tests pass, including both shell-child cases.
  • git diff --check passes.
  • No application behavior or visible UI changes.

Merging

Squash merge after CI passes. The push to main triggers the beta release workflow.

GPT-6 Astra via Codex in T3 Code.

@Seb-GRAF
Seb-GRAF merged commit caa6096 into main Oct 21, 2026
4 checks passed
@Seb-GRAF
Seb-GRAF deleted the test/cancellation-timing branch October 21, 2026 14:11
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant