Skip to content

qCRM demo test flaked on CI: hourly() wrote no snapshot #4120

Open

Description

@QuinnsCode

apps/qcrm/test/demo.test.ts ("the demo opens on the shared snapshot, keeps a visitor's edit, and writes only what they touched") failed once on CI and passes on the builder.

A guess, not checked: hourly decides from the wall clock (hour or minute) whether to build the snapshot, so the test depends on what time it runs. Pinning the clock in the test, or passing the time into hourly, would make it stable.

Activity

  1. QuinnsCode commented on Nov 9, 2026

    @QuinnsCode
    OwnerAuthor

    Duplicate of #4122. The cause is the module-level snapshot cache shared across test files; the fix is in #4112.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions