Skip to content

🤖 tests: flaky delegatedConsent 'Keep republishes an already kept workspace' (published length 2) #7694

Closed

Description

@ThomasK33

Summary

src/node/services/workspaceTurnManager.delegatedConsent.test.ts > "delegated target default consent (#4453) > Keep republishes an already kept workspace, so a retry clears a stale banner (#5199)" failed once in a merge-group run and dequeued an unrelated PR.

Evidence

  • Merge-group run 40651288243, job "Test / Unit (2/6)" (job 122691783461), for 🤖 feat: VS Code webview dock uses the desktop live line #7692, which changes only vscode/src/webview/.
  • The assertion at line 779 is expect(published).toHaveLength(1). It expected length 1 and received length 2.
  • The same test passed on the PR's own CI run. It also passed 5 out of 5 local runs on the same head with Bun 1.4.3.

Expected

The test passes every time. The second publish looks like a timing-dependent extra publish (for example a startup pass or a late flag write). I did not verify this.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Activity

  1. ThomasK33 commented on Oct 28, 2026

    @ThomasK33
    MemberAuthor

    Picking this up: F201 lane, workspace 6c6977610a (sub-agent of desk 3203e76efb), branch tests/delegated-consent-keep-flake. Root cause first, plan to desk before any push.

  2. added a commit that references this issue on Oct 28, 2026
    a5fa317
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