Repository navigation
Commit 113c017
committed
Expect a total rollback failure where nothing reached the end state
This PR makes rollback report status "error" (code rollback_failed)
when something failed and nothing was rolled back, already original or
not installed. Two tests still expected partial_failure for that case:
- e2e_bun_lockb's shared refused-binary-pin helper: the takeover caller
sees alreadyOriginal 1 (partial_failure), but the alias/transitive
caller sees 0, a total failure. Derive the expected status from
alreadyOriginal.
- apply/bun_global_store rollback_refuses_bun_global_store_packages
(from #1009, arrived via the main merge): every package is refused, so
it is a total failure now.
Also merges origin/main.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2990e48 commit 113c017
2 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
0 commit comments