Skip to content

test: close the served site before removing it in the add-on integration test - #673

Merged
jimhoyd merged 1 commit into
mainfrom
claude/fix-windows-integration-cleanup
Sep 24, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/fix-windows-integration-cleanup

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

The 0.6.0 release run (run 36040276739) was cancelled by the 20-minute timeout of workspace-integration (windows-latest, 24).

Every product step passed on Windows: init, adding all six extensions, list --strict, static and full validate, the refused remove auth, and remove admin. The test's cleanup failed, not the product:

  1. The after hook removed the temporary site while the auth service still held data/auth.sqlite open. Windows refused the delete (EBUSY).
  2. The close hook then never ran, and the live server kept the test process alive until the job timed out.

Fix. The test now closes the server and host itself, in a finally, before the site is removed, and the removal retries.

Evidence. All 3 integration tests pass locally. Pull-request CI doesn't run the Windows integration matrix, so I dispatched the full ci.yml matrix on this branch and will merge only when it passes.

🤖 Generated with Claude Code

…ion test

On Windows the after-hook removed the temporary site while the auth service still
held data/auth.sqlite open (EBUSY); the close hook then never ran, the server kept
the process alive, and the job hit its 20-minute timeout, cancelling the 0.6.0
release run. Close the server and host in the test itself, and retry the removal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd merged commit 7c01f46 into main Sep 24, 2026
102 of 121 checks passed
@jimhoyd
jimhoyd deleted the claude/fix-windows-integration-cleanup branch September 24, 2026 18:55
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