R-1288: a restore of a set-aside unit sets the replaced install's unit aside at once, with no alarm. R-1282: the later media restart time is stored and resumed at start, once. Red-proved. Commit only.
gates / gates (push) Successful in 1m26s

This commit is contained in:
admin committed 2026-10-25 21:37:55 +01:00
1 parent a79a292d72
commit b5863a96eb
8 files changed
+274 -13

No files matched your search

+18
View File
@@ -2,6 +2,24 @@
**MinAgent: 0.158.1** (unchanged). The hold acts only on a box whose agent reports `waiting_for_quiet` (≥ 0.165.0).
### A restore of a set-aside copy retires the replaced install's unit at once, quietly (R-1288, P4)
- `internal/backup/unit_owner.go` `RestoreSetAsideUnit` → `retireReplacedUnit`: after the household restored an earlier
install's set-aside unit (success, or „not started yet" — the data stays, D49 = A), the primary unit of the install the
restore REPLACED is set aside at once — moved whole (D47), one log line „replaced by the restored install", no
operator alarm. Before, the next backup's writer set it aside with a SECOND alarm and a second kept copy (measured on
Tester 1, 0.343.0, 17:36:54Z). A unit already of this install is left alone; a failed move leaves it for the next
writer's guard, as before. `TestR1288_ARestoreOfASetAsideUnitRetiresTheReplacedUnitQuietly` (the Tester 1 order; the
fake provider now adopts the unit's install id as the stack manager does).
### The household's „later" media restart survives a controller restart (R-1282, P3)
- `internal/web/media_events.go`: the 03:30 time is stored (`settings.media_restart_later_at`); `ResumeMediaLater`
(main, at start) re-arms it, runs it at once when it passed while the controller was down, and clears it when it ran —
once. `r1282_media_later_test.go`.
Red-proofs: felhom.eu `documentation/audits/night-2026-10-25/redproof-r1288-r1282.txt`.
### The line hold holds every seeder, forgets a removed app, and puts back the slot it held (R-1261, P3)
- **Every running seeder is held** (`internal/upwatch/linehold.go` `SeedLineTestNow`): qBittorrent AND Transmission —