Skip to content

tests: ce-work-cross-model-integration flakes on main (serial transaction tests fail nondeterministically) #1635

Description

@khsaurabh

tests/skills/ce-work-cross-model-integration.test.ts flakes on main — which test fails varies by environment, so this looks like a shared timing/state dependency across the serial-transaction tests rather than one bad assertion.

Reproduction (pristine main, commit at the time of writing, no local changes):

  • Linux, bun 1.x: bun test tests/skills/ce-work-cross-model-integration.test.ts fails 2/2 runs in same-base disjoint wave terminalizes together and lands as separate controlled host commits (peer_job_runner wait returns failed where done is expected, the same expect(...).toBe("done") shape as the CI failure below).
  • GitHub Actions test job (ubuntu) on a PR whose diff touches only ce-plan markdown and its contract test failed instead in ce-work serial cross-model transaction > scope expansion remains a successful detached result for host inspection — same file, same wait -> "failed" signature: https://github.com/EveryInc/compound-engineering-plugin/actions/runs/33956247463/job/101280011018

Since the failing PR diff cannot influence ce-work integration machinery (docs-only change), and main fails locally on a sibling test in the same file, the flake lives on main. I have not root-caused it; happy to dig in and send a fix if the maintainers want one.

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