diff options
| author | aur-build <aur-build@localhost> | 2026-11-19 12:00:46 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-19 12:00:46 +0000 |
| commit | fa921c26bade47634506b57b32713421f976ae22 (patch) | |
| tree | 77738f67fdf641c8a51dc070a3c628c5922be46e /src/http/routes/pages.rs | |
| parent | 2eb4500f089154b982f7c5dbbc7f1efbfd702ed5 (diff) | |
| download | aur-build-fa921c26bade47634506b57b32713421f976ae22.tar.gz aur-build-fa921c26bade47634506b57b32713421f976ae22.zip | |
sandbox: failure-mode tier — a FakeBackend that breaks on purpose
The recovery paths a remote pool makes newly reachable are now executed,
not described. A decorator over the loopback backend injects the four
faults that matter: a sandbox that vanishes mid-run (the step fails, the
lease expires, the reaper requeues, a healthy pool finishes from the
checkpoints — I5 across the sandbox boundary); a TTL that bites mid-build
(a failed step, not a retry-burned one); a pool at quota (the build
blocks on sandbox-pool using the same blocked machinery as missing deps,
rather than failing on an infrastructure fact); and a sandbox whose
pacman -Q lies about the installed world (provisioning refuses with a
dedicated world-mismatch class, so 'the sandbox lied' never reads as
'the sandbox broke').
Two error classes carry that vocabulary: PoolExhausted — capacity, so
wait, never retry — and WorldMismatch — fail-closed, never retried. The
remote and kata acquire timeouts now speak the first, which is what
makes a full pool a queue fact instead of a build failure.
Diffstat (limited to 'src/http/routes/pages.rs')
0 files changed, 0 insertions, 0 deletions
