Skip to content

ci: run pytest with its default capture on Windows (drop --capture=sys) - #87

Merged
tae898 merged 2 commits into
mainfrom
windows-default-capture
Oct 26, 2026
Merged

tae898 merged 2 commits into
mainfrom
windows-default-capture

Conversation

@tae898

@tae898 tae898 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Windows runs pytest with its default capture again, so --capture=sys is gone from .github/workflows/test-jvm.yml.

--capture=sys was added for humemai/arcadedb-embedded-python#10: pytest's default fd capture swaps fds 1 and 2 with dup2 around every test, which on Windows closed the OS handle the JVM had cached for System.out/System.err, and the next Java log line blocked forever in WriteFile (caught on 2026-09-29, in LSMVectorIndex.build's progress log). #78 made the engine log to the log file only on Windows (ARCADEDB_LOG_CONSOLE, src/arcadedb/_logdir.py), which removes the cause, and the workflow comment already said the flag would go once a run with the default capture passed on the Windows legs.

Merge condition

Do not merge before both dispatch runs of this branch, all legs, are green on the Windows legs with no hang (the pytest step has a 30 minute limit) and no failure: 40250608731 and 40250615309. If either hangs or fails, keep the flag instead: put it back and replace the comment with what still breaks and the run ids.

The branch only changes the comment and the pytest command, so the rest of the legs say nothing about this.

🤖 Generated with Claude Code

…pture=sys)

PR #78 made engine logs go to the log file only on Windows, which removes the cause of humemai/arcadedb-embedded-python#10. This branch is for the dispatch runs that show it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@tae898
tae898 merged commit 3ef4626 into main Oct 26, 2026
21 checks passed
@tae898
tae898 deleted the windows-default-capture branch October 26, 2026 07:20
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