Repository navigation
Commit 22c23ba
authored
test(config): preserve native environment across provider tests (#130975)
Restore provider keys individually with Vitest env stubs instead of replacing process.env. The plain object replacement leaked across reused runtime-config forks, so later reconcile workers inherited a different shared state database and their leases were absent from the lifecycle test fence.
Reproduced both lifecycle failures after the provider tests on macOS and Linux Node 24. The repaired ordered pair passes 35 tests on both platforms; the broader session run passes 1042 tests across 92 files. check-changed and Codex autoreview pass. Production lease semantics and lifecycle assertions are unchanged.1 parent 1873d67 commit 22c23ba
1 file changed
Lines changed: 8 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
568 | | - | |
569 | 567 | | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
586 | 573 | | |
587 | 574 | | |
588 | 575 | | |
589 | | - | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
590 | 579 | | |
591 | 580 | | |
592 | 581 | | |
| |||
0 commit comments