Repository navigation
Prune Trial Harness caches and completed Experiment repositories - #1361
Merged
Merged
Conversation
Merged
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.
Summary
The outer runner also handles older Arms and failed sessions. Reopening a completed Experiment retries repository cleanup. The guide and hand-written site pages describe retention.
Closes #1360
Evidence
repository/; the session-outcome regression failed because.codex/cache/remained.After: both regressions pass; all 19 Trial execution tests and 84 Experiment CLI tests passed (1 subprocess helper ignored).
cargo test --bin thirdshift evals::experiment::execution::tests::ended_muse_trial_drops_model_catalog_cache -- --exact --nocapture, failed withended Muse Trial retained its model catalog cache.After: the same command passes, preserving the sibling native transcript. The regression is retained.
cargo checkpassed. CLI coverage checks retained Session contents, interruption/resume without replaying finished Trials, borderline rechecks, warning-only failures and cleanup retry./usr/bin/time -p scripts/affected-tests mainpassed: 3,092 Rust tests (69 skipped) and 50 site tests. Total wall time was 1,876.48 seconds, including browser checks and compilation. The selectedcargo nextest runreported 1,711.525 seconds of execution plus 1m 35s of compilation.Merge Danger
Door: one-way
Completed attempt repository copies are deleted. Rolling back the code cannot restore those copies; Session evidence, reports, packets and Scores remain.
Blast Radius: Experiments
Test seams
thirdshift experiment,experiments [--session]andrecheckthrough the CLI and retained Experiment files, using fake Harnesses.Review coverage
Independent Standards and Spec reviews used
git diff main...HEAD. Standards: 0 findings. Spec: 1 finding, reproduced and fixed (Muse's cached model catalog). Both reviewers read all 13 changed files, including the generated HTML and the correction. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
src/evals/experiment/retention.rsplus its three call sites): symlink-redirect probes showedremove_dir_allremoves only the link and never the target (leaf dir-link, leaf file-link, inner links), cache ancestors are checked withsymlink_metadata, non-dir entries are skipped, and prune-too-early guards (Completed, no pending rechecks, not waiting_on_rechecks) are covered by the retention/recheck suites. No introduced finding to fix, so none is unaddressed.Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.