hub (unreleased): two end dates warn the operator 14 days before — an operator token and a box's web certificate (R-1379, D77); the other sixteen as a design table

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-11-14 18:14:23 +01:00
1 parent 68292e40f6
commit 86bb912a4b
11 files changed
+527 -5

No files matched your search

+8
View File
@@ -3,6 +3,14 @@
- `bundlefiles`: the line „bundle X holds the same files as the vouched Y” is logged once per pair (INFO), not at
every view of the System page (it was 6 DEBUG lines per view, seen at the 0.181.0 deploy). No behaviour change.
- **Release 3 („the hub tells you”), built 2026-11-14 night, NOT deployed. Every new alarm is operator-only.**
- **Two end dates warn 14 days before (R-1379, D77, `09` §3 decision 298; `08` §12).** `monitor.EndDateChecker`, hourly
on the sweep: `operator_token_ends_soon` for an operator access token that is not revoked, and `web_cert_ends_soon`
for a web certificate a box reports in `web_certs` (controllers after 0.352.1). Told once at 14 days and once more,
as an error, if the date passes with the same thing still there; a renewed certificate has a new end date, so
nothing clears. A box's names and a token's name are checked before they reach a mail; the box's list is cut at 8.
A thing that ended more than 14 days ago raises nothing. Operator-only. No new table. Tests `TestEndDates_*`,
`TestEndDateEventsAreOperatorOnly`, the wiring in `TestR1383_MainWiresTheSilentFailureChecks`; 12 mutations seen
red (two did not run at first and were done again).
- **The System page shows the kernel clean-up and the security-profile refresh (R-1383; `11` §5.11.1, §5.12).**
Two new cells per box. „Kernel clean-up”: from the clean-up report's new `kernel_cleanup` object (kept in the stored
report: `osupdates.Report.KernelCleanup`) — removed, kept, space gained, the names in the title; amber on