gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#1ident#36 navigate() instead of window.location in the shell, start shell and home

mergednv1-navigate → mainby Caramboleyo · head 644f9775

  • failureKunibert: kunibertKunibert review

Verdicts

  • Kunibertrequested changes

People’s approvals

Reviews

  1. Kunibertapprequested changes644f9775 · current head · 2026-11-09 06:00:53 UTC

    The navigation changes introduce two sign-out regressions. Back can restore private account data, and the HTTP fallback can retain the old account menu.

    Correctness (2 new, 0 still open)

    Sign-out needs account-state and history-cache invalidation before navigation.

    Not on changed lines:

    • 🔶 Major · Correctness: F5: Back restores signed-in data after sign-out (components/main.hl:84) From an authenticated /apps page, Sign out → Back restores the previous account's app list. The sign-out acknowledgement synchronizes only main.hl; navigate then snapshots the still-authenticated page using the shell's already-anonymous identity, so bringBack accepts it without server revalidation. Refresh or invalidate the outgoing page before caching it, and add a browser regression test. This violates .kunibert/HL-STANDARD.md F5: Reload and Back must “show the same state”.
    • 🔹 Minor · Correctness: no rule: Clear the shell account on HTTP-fallback sign-out (components/main.hl:84) When WebSockets are unavailable, shellSignOutNow uses the POST fallback, which supplies no ack.sync. Navigation keeps main.hl and refreshes its session without recomputing the server-derived shellEmail, leaving the old email and signed-in menu visible above the sign-in form. After successful sign-out, clear shellEmail and shellIn before navigating, as signedOutAll now does.

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (0 new, 0 still open)

    The logout history regression violates F5. No other documented-rule violations were found in the changed lines.

    Gates: not run

Threads

No inline comments yet.

Conversation

Nobody has written here yet.

Only the owner and the members of this repository can comment here.