← Back to list
01Issue
BugShippedSwamp CLIPublic
AssigneesNone
Relationships
↔ sibling #4793#4812 test: test Workers that only isolate a writer lease or one command can run in the test's isolate
Opened by stack72 · 11/16/2026· Shipped 11/17/2026
Found while fixing swamp-club#4793. Several integration test Workers give the test nothing the test's own isolate could not, so they are needless exposure to Worker-load problems and slower to read:
- serve_upstream_lease_holder_worker.ts and serve_upstream_run_owner_worker.ts only hold a writer lease, which plantV3WriterLease already does in-process (precedent: v3_cancel_live_owner_test).
- serve_upstream_lock_test (single-client test) and serve_upstream_workflow_report_race_test (serve plus one member tests) need no Worker for the member, since serve is already in its own Worker. The two-member tests need only one Worker.
- datastore_v3_reader_start_race 'align' can plant a lease under another hostname instead of acquiring one.
- the SQLite-only Workers (extension catalog lock, reader-race 'hold', outbox migration) can use scripts that import only node:sqlite. Move these in-process, or onto npm-free Workers, without weakening what each test asserts.
02Bog Flow
Shipped
Click a lifecycle step above to view its details.
03Sludge Pulse
Sign in to post a ripple.