Skip to content

Stop auth-gate/reliability sims leaking co-evolve-tmp-* into runs/ - #45

Merged
alanshurafa merged 1 commit into
masterfrom
claude/fix-sim-runs-leak
Jul 6, 2026
Merged

Stop auth-gate/reliability sims leaking co-evolve-tmp-* into runs/#45
alanshurafa merged 1 commit into
masterfrom
claude/fix-sim-runs-leak

Conversation

@alanshurafa

Copy link
Copy Markdown
Owner

Summary

  • Both hermetic E2E sims (tests/auth-gate-simulation.sh, tests/reliability-simulation.sh) let co-evolve-bouncer.sh default its artifact root to the repo's shared runs/, leaving an inert co-evolve-tmp-<sim>-* dir behind on every run.
  • Fix: prefix each sim's bouncer invocation with CO_EVOLVE_RUNS_DIR="$TEST_DIR/co-evolve-runs" (the existing v1.4 override), so artifacts land inside the sim's own TEST_DIR and ride its EXIT-trap cleanup instead.
  • No assertion changes — neither sim rediscovers run dirs by path, so behavior is identical, just cleaned up afterward.

Verification already done

  • Both sims pass solo, before and after, with the fix applied.
  • run-all.sh --quick is green in both trees (with and without the fix).
  • runs/ is byte-identical before/after a full sim run with the fix (confirming zero leakage), versus new co-evolve-tmp-* dirs appearing without it.

Test plan

  • CI green on this PR

The auth-gate and reliability E2E legs let co-evolve-bouncer.sh default
its RUNS_ROOT to the checkout, so every suite run left an inert
co-evolve-tmp-<sim>-* dir in the shared repo runs/. Pointing
CO_EVOLVE_RUNS_DIR (the existing v1.4 override) at TEST_DIR rides the
sims' EXIT-trap cleanup; neither sim rediscovers run dirs, so no
assertions change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alanshurafa
alanshurafa merged commit fcf4afb into master Jul 6, 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