Skip to content

[Bug]: Windows auth SQLite cleanup fails with EBUSY and stalls workspace verification #189

Closed

Description

@jimhoyd

Runtime revision and environment

Commit d2656ec, GitHub Actions windows-latest, Node 22. All three Windows workspace matrix jobs (22/24/26) timed out at about 605 seconds; the detailed log inspected here is Node 22.

Minimal reproduction

Run the existing main verify workflow, or on Windows install the workspace dependencies, build core, and run npm run verify:workspaces.

Expected: the auth test suite cleans up its SQLite fixture and exits, permitting admin and composition tests to run.

Observed: UI passes 57 tests. Auth typecheck/build complete. The first auth test in packages/auth/test/abuse-http.test.ts fails in a hook while unlinking its temporary auth.sqlite file. No further test output appears for about nine minutes, until the job timeout. The exact handle owner and reason the runner remains alive are not yet verified.

Relevant output

Windows Node 22 job

At 00:39:26 UTC: hookFailed, EBUSY: resource busy or locked, unlink .../abuse-http-.../auth.sqlite.
At 00:48:28 UTC: The operation was canceled.

In the same run, Linux workspace jobs passed in 131–160 seconds and macOS in 133–216 seconds. Windows core jobs passed in 321–483 seconds, isolating the persistent timeout to workspace verification.

Historical run 35478070652, after #188 raised the combined verify timeout, still canceled all three Windows legs after 1504–1506 seconds. This is evidence against treating the issue solely as insufficient runner time. #187 split core/workspace jobs and retained 10-minute caps; its PR checks passed on Linux, but the post-merge Windows workspace validation is not green.

Track alongside #185. Fix and verify Windows cleanup/termination before treating a smaller OS matrix or a longer timeout as resolution.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions