Skip to content

Tests: prompt preview worktree assertion on Windows - #255

Merged
smarzban merged 1 commit into
dispatchfrom
fix/windows-preview-path
Oct 21, 2026
Merged

smarzban merged 1 commit into
dispatchfrom
fix/windows-preview-path

Conversation

@smarzban

Copy link
Copy Markdown
Owner

#120 CI on 5c905416 fails both Windows Verify jobs on dispatch::tests::a_prompt_preview_renders_like_a_dispatch_and_changes_nothing (from T231, #253): the assertion expected /tsk-t1-ship-dispatch-2 on branch, but Windows renders the worktree path with \\ (…\\app\\tsk-t1-ship-dispatch-2 on branch…). tests/cli_dispatch.rs show_prompt_prints_the_layered_launch_for_any_status_and_writes_nothing has the same assertion and would fail next (integration tests don't run after a lib failure).

Fix: drop the leading separator from both assertions. Test-only; no product change.

Checks (macOS): cargo fmt --check, both tests pass, cargo clippy --all-targets --target x86_64-pc-windows-gnu -- -D warnings clean. Windows proof is #120's CI after merge.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
herdr-tsk Ignored Ignored Preview Oct 21, 2026 5:48pm UTC

@smarzban
smarzban merged commit 7ffaa91 into dispatch Oct 21, 2026
2 checks passed
@smarzban
smarzban deleted the fix/windows-preview-path branch October 21, 2026 18:22
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.

1 participant