Skip to content

bounded-work's largest diffFlowchart case runs close to the default test timeout under coverage #42

Closed

Description

@Mearman

packages/core/graph/projection/src/bounded-work.unit.test.ts asserts work counts, but each case still runs under Vitest's default per-test timeout, and the largest cases are close to it under coverage instrumentation in CI. "diffFlowchart reading an unchanged flowchart of diamonds sharing a run half of which leads somewhere" passes on recent main runs but timed out in https://github.com/ExaDev/process-graph/actions/runs/38111508236 on #41, where the Test job also builds and tests the bundled process-graph package alongside it, and the same file timed out under the pre-push hook on a loaded machine while passing when run alone.

The property is about work, so the failure is the clock: the case's input size or its timeout needs to come from the work it does rather than the default.

Activity

  1. added 2 commits that reference this issue on Oct 11, 2026
    d4dd590
    ccdcf2b
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