Skip to content

fix: build stub binary in test_empty_enter_freeze (was hanging CI)#12

Merged
capocasa merged 1 commit into
mainfrom
windows
Jun 26, 2026
Merged

fix: build stub binary in test_empty_enter_freeze (was hanging CI)#12
capocasa merged 1 commit into
mainfrom
windows

Conversation

@capocasa

Copy link
Copy Markdown
Owner

The Linux legs of release.yml hang for the full 20m CI timeout because test_empty_enter_freeze.nim forks a child via newTtySession("/tmp/3code_tty_stub") but never builds that binary. In CI the binary is absent, execv fails, the child quit 127s with no output, and the PTY harness expect() never finds its prompt.

Fix: copy the ensureStubBinary() proc from the sibling test_tty_functional.nim, which compiles a fresh per-pid stub binary into a temp dir, and use its result as the first arg to newTtySession instead of the hardcoded path.

@capocasa capocasa merged commit be298de into main Jun 26, 2026
6 checks passed
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