Skip to content

flake: packages/cli/src/merge-two-features.test.ts > unit · two generated features, one merge > the other direction writes the same bytes #1277

Closed

Description

@github-actions

flake-hunt saw this fail in https://github.com/developerz-ai/ultimate/actions/runs/44506054895.

suite round seed
unit 2 3080077757
unit 3 2150480779

Replay each round in its order:

bun run x -- test unit --workers 4 --isolate -- --randomize --seed=3080077757
bun run x -- test unit --workers 4 --isolate -- --randomize --seed=2150480779

The file alone, same seed — order across files is lost, so green here is not a fix:

bun test ./packages/cli/src/merge-two-features.test.ts --randomize --seed=3080077757

What Bun printed:

108 | 
109 |   test('the other direction writes the same bytes', async () => {
110 |     expect(first).toHaveLength(REGISTRIES.length);
                        ^
error: expect(received).toHaveLength(expected)

Expected length: 5
Received length: 0

      at <anonymous> (/home/runner/work/ultimate/ultimate/packages/cli/src/merge-two-features.test.ts:110:19)

::error file=packages/cli/src/merge-two-features.test.ts,line=110,col=19,title=error: expect(received).toHaveLength(expected)::Expected length: 5%0AReceived length: 0%0A%0A      at <anonymous> (/home/runner/work/ultimate/ultimate/packages/cli/src/merge-two-features.test.ts:110:19)

Activity

  1. developerz-ai commented on Nov 19, 2026

    @developerz-ai
    Contributor

    Tracking pull request #1278 for this issue.

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

    flake-hunta test flake-hunt.yml saw fail under a shuffled order

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions