Commit f9a87c5
test(agents): lock env in uninstall memory-digest tests (#263)
Two sync uninstall tests set TRACEDECAY_DATA_DIR via EnvVarGuard without
taking PROCESS_ENV_LOCK, racing every env-guarded test in the same
binary under plain parallel cargo test — most visibly
test_codex_install_exports_active_managed_skills, whose install read a
foreign profile root and exported no managed skills. nextest (one
process per test) never hits it, so CI stayed green while local runs
flaked. Take the lock like every other env-mutating test.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 41bb533 commit f9a87c5
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4147 | 4147 | | |
4148 | 4148 | | |
4149 | 4149 | | |
| 4150 | + | |
4150 | 4151 | | |
4151 | 4152 | | |
4152 | 4153 | | |
| |||
4270 | 4271 | | |
4271 | 4272 | | |
4272 | 4273 | | |
| 4274 | + | |
4273 | 4275 | | |
4274 | 4276 | | |
4275 | 4277 | | |
| |||
0 commit comments