R-304: the recovery screen says 'we do not know' when earlier packages were not checked (hu + en)
gates / gates (push) Successful in 54s
gates / gates (push) Successful in 54s
Unreleased; ships with tomorrow's release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -446,6 +446,17 @@ func (s *Server) recoveryUnlockHandler(w http.ResponseWriter, r *http.Request) {
|
||||
s.logger.Printf("[INFO] [web] recovery: the code opened a RETAINED package — the customer is not at fault")
|
||||
s.renderRecovery(w, r, "A kódod helyes, de egy korábbi csomagot nyit meg, nem azt, amit most őrzünk ehhez a géphez. A géped időközben új mentési kulcsot kapott. A korábbi csomagot"+when+" nem töröltük, megőrizzük — a mostani mentéseidet ez nem érinti, azokkal semmi nem történt. A régebbi előzményed visszanyitásához a Felhom ügyfélszolgálatának segítsége kell: írj nekik, és add meg, hogy a régi mentéseidhez szeretnél hozzáférni. A kódodat tedd el, szükség lesz rá.", "", nil)
|
||||
return
|
||||
case agentapi.RecoveryOlderUnchecked:
|
||||
// ── R-304 (2026-10-08) — NOT EVERY EARLIER PACKAGE WAS TRIED. ────────────────────────────
|
||||
//
|
||||
// The current package refused the code and no earlier package opened it, but the hub holds
|
||||
// earlier packages the agent could not try (no key material, over a cap, unreadable list). So we
|
||||
// do NOT know the code is wrong, and the message says exactly that, names the mistype as one
|
||||
// possibility (R-226: a new-code holder may be typing), and names the route. Pinned by
|
||||
// TestR304_OlderUnchecked_IsNotAWrongCode.
|
||||
s.logger.Printf("[WARN] [web] recovery: earlier sealed packages were not all checked — not reported as a wrong code (R-304)")
|
||||
s.renderRecovery(w, r, s.msg(r, "recovery.older_unchecked"), "", nil)
|
||||
return
|
||||
case agentapi.RecoveryAskedAndRefused:
|
||||
// The bundle was fetched and the code did not open it. THIS is the only class from which
|
||||
// the customer may be told to check their typing — see the two messages below.
|
||||
|
||||
Reference in New Issue
Block a user