Skip to content

Stabilize native hot-run file readiness tests - #1086

Merged
teamleaderleo merged 1 commit into
mainfrom
fix/native-hot-run-file-ready-race
Sep 21, 2026
Merged

teamleaderleo merged 1 commit into
mainfrom
fix/native-hot-run-file-ready-race

Conversation

@teamleaderleo

Copy link
Copy Markdown
Owner

Fixes the mainline native hot-run test race observed in Verify run 35634307082.

The helper previously returned as soon as a child-created path became readable. Python opens/truncates the file before its buffered write is visible, so the test could observe an empty file and panic at worker.next().unwrap(); the shared mutex then poisoned and cascaded five more failures.

This changes only the test helper: it waits until the file is readable and non-empty. All existing callers immediately parse PID/group content, so path existence alone was never sufficient readiness evidence.

No production behavior, resource policy, cgroup settings, or execution authority changes.

@teamleaderleo
teamleaderleo merged commit e4fdc91 into main Sep 21, 2026
4 checks passed
@teamleaderleo
teamleaderleo deleted the fix/native-hot-run-file-ready-race branch September 21, 2026 18:01
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