Skip to content

Flaky: studio-site-build "builds a burst of publishes once" on Node 26 #338

Done

Description

@Madraka

packages/cli/test/studio-site-build.test.ts failed once in CI on Node 26, on #329 (run 46240224724, job 141275119586). Node 24 passed in the same run, and the re-run passed.

FAIL test/studio-site-build.test.ts > cloudhal studio: rebuild the site on publish > builds a burst of publishes once, and records it
AssertionError: expected { Object (at, ok, ...) } to match object { ok: true, trigger: 'publish', …(2) }
FAIL … > reports a failed build and retries on the next publish
Error: no 4 finished builds; logs:

#329 only changes deploy/docker/workerd, so the failure is unrelated to it. It looks like a timing dependency: the test waits for a coalesced rebuild after a burst of publishes. A stray "TypeError: The database connection is not open" from the same file's "stopping with a request still open" case appears in the logs too, and that case closes the store on purpose.

Done when: the test waits on the build's own completion signal rather than on timing, and a CI loop (e.g. 8 jobs on Node 24 and 26) passes every time.

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