Repository navigation
Commit 32bdcb8
committed
fix(drain): don't claim acceptance with nothing evicted; latch plan-unsupported
The drain toast appended "evictions were accepted" even when every
eviction failed or only skips happened, contradicting its own title.
It now says that only when at least one pod was actually evicted; the
node-stays-cordoned note is unconditional.
The plan-unsupported fallback came straight from the current mutation
error, which the next request clears, so toggling an option refired a
request known to 404 and bounced the dialog out of fallback mode. The
dialog now latches unsupported for as long as it stays open and stops
refetching while latched.
Claude-Session: https://claude.ai/code/session_01NE55VsYGkb5tV3neKDmtZw1 parent c1aa6a3 commit 32bdcb8
3 files changed
Lines changed: 39 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
201 | 214 | | |
202 | 215 | | |
203 | | - | |
| 216 | + | |
204 | 217 | | |
205 | 218 | | |
206 | 219 | | |
207 | | - | |
| 220 | + | |
208 | 221 | | |
209 | 222 | | |
210 | 223 | | |
| |||
702 | 715 | | |
703 | 716 | | |
704 | 717 | | |
705 | | - | |
| 718 | + | |
706 | 719 | | |
707 | 720 | | |
708 | | - | |
709 | | - | |
| 721 | + | |
| 722 | + | |
710 | 723 | | |
711 | 724 | | |
712 | 725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5213 | 5213 | | |
5214 | 5214 | | |
5215 | 5215 | | |
5216 | | - | |
| 5216 | + | |
| 5217 | + | |
| 5218 | + | |
5217 | 5219 | | |
5218 | 5220 | | |
5219 | 5221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
69 | 86 | | |
0 commit comments