Commit 58a4600
test(memory): mock getOverrideAvailableMemoryGB in the override-chain integration test
Fix A routed the override survival-floor check through the new
getOverrideAvailableMemoryGB; the override-chain integration test mocks the
hardware boundary and hadn't defined it (auto-mock → undefined → NaN < floor
never refused). Delegate it to getAvailableMemoryGB (no swap in this scenario)
so both the loads-after-evict and hard-limit-refuses cases stay accurate.
Blast-radius caught by pre-push --findRelatedTests (the §D hub rule in action).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 197f28a commit 58a4600
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
0 commit comments