Skip to content

test(desktop): isolate side-chat slash dispatch - #3291

Merged
M4n5ter merged 1 commit into
mainfrom
fix/steering-composer-completion-fence
Aug 20, 2026
Merged

test(desktop): isolate side-chat slash dispatch#3291
M4n5ter merged 1 commit into
mainfrom
fix/steering-composer-completion-fence

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the unrelated steering submission from the /side slash-command E2E
  • keep the scenario focused on the running-turn command-dispatch contract
  • rely on the existing streaming-remount E2E for Desktop steering coverage

Fixes #2916.

Root cause

The test chained two asynchronous submissions. Under CI load, the second slash-menu interaction could begin while the steering submission still owned the previous draft, producing /compact explain/ instead of / and leaving no /side option to select. The same failure appeared on unrelated PRs #3242 and #3278.

The steering behavior is already covered by streaming-remount.spec.ts, so removing that duplicate prelude eliminates the race without adding another timing fence or product state solely for a test.

Verification

  • targeted /side E2E repeated 10 times: 10/10 passed
  • /side dispatch and the independent live-turn steering E2E: 2/2 passed
  • Biome check and git diff --check passed

The slash-command E2E chained an unrelated steering submission before exercising /side, creating a race against the composer's async draft settlement. Steering already has dedicated Desktop E2E coverage, so keep this scenario focused on the running-turn slash dispatch contract.
@M4n5ter
M4n5ter marked this pull request as ready for review August 20, 2026 06:22
@M4n5ter
M4n5ter requested a review from Astro-Han August 20, 2026 06:23

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It fixed the Flaky test with minimal change.

@M4n5ter
M4n5ter merged commit dd4b2d0 into main Aug 20, 2026
1 check passed
@M4n5ter
M4n5ter deleted the fix/steering-composer-completion-fence branch August 20, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(desktop): fence staged steering in slash-command E2E

2 participants