Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codex managed-policy tests repeatedly lose their runner at case 06. Their preservation check follows four disposable
.codex/tmp/arg0symlinks to the 263 MB Codex executable, retaining about 1 GB per snapshot. The mandatory version probe rotates those paths before ug rejects the override, making pytest attempt an enormous binary comparison.This change fingerprints regular files with streamed SHA-256, records symlink targets without following them, and excludes only the fetched managed-config cache and disposable Codex bootstrap directory. Persistent configuration additions, changes, and deletions remain failures, reported by path. All 19 managed Codex cases stay enabled; cases 06, 08, 10, and 12 share the repaired helper.
Managed CI also gets a five-minute per-case deadline with an earlier stack dump, a twenty-minute suite deadline below the existing thirty-minute job limit, phase timings, and peak-memory reporting. The required CI structure is unchanged.
Validation:
.codex/tmp/arg0alone is sufficient for the current failure: all 19 tests passed in 181.17 seconds, without changing hashing, assertions, timeouts, or CI. This PR adds safeguards against other large files and future hangs.The broader local suite passed 2,495 tests with six skips and three environment-dependent Codex failures. The two model-selection failures reproduce on unchanged main; the third uses the developer machine's Codex settings instead of the test capture endpoint. The fresh CI unit job passed. Host-level OOM as the original shutdown mechanism remains unconfirmed.