Skip to content

test(lifecycle): tell a lane's process by an instance id, not its pid - #346

Merged
7schmiede merged 1 commit into
mainfrom
test/lane-instance-not-pid
Oct 28, 2026
Merged

7schmiede merged 1 commit into
mainfrom
test/lane-instance-not-pid

Conversation

@7schmiede

Copy link
Copy Markdown
Member

a_worktree_runs_as_a_lane failed once on Windows (#344's CI): after the restart that carries the lane over (ADR-0052), the lane's api had been started again (log: stopped, restored, healthy), but its new process got the old pid, so assert_ne!(pid, …, "the lane started again") failed. The fixture API's /info now also reports an instance id, one per process (a GUID made at start), and the test compares that.

Test only. a_worktree_runs_as_a_lane passes here (Windows, Docker Desktop).

🤖 Generated with Claude Code

Windows gave the restarted lane's api the old pid (seen in #344's CI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit 2b30ead into main Oct 28, 2026
13 checks passed
@7schmiede
7schmiede deleted the test/lane-instance-not-pid branch October 28, 2026 10:31
@7schmiede 7schmiede mentioned this pull request Oct 28, 2026
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