Skip to content

Console: serve the static shell past the remote session lifetime so a first visit still gets HALT #1006

Closed

Description

@eaitbrahim

On keel serve --external-host, a browser that has no cached console is refused the page itself once the 12-hour remote session lifetime (#648) expires. It never loads the client, so it never shows HALT. Its only stop is keel kill at a terminal.

#983 and #985 (PR #1001) keep HALT working past the lifetime for a console that is already loaded: the service worker serves the cached page, and the expired /api/pulse refusal carries {halt_token, resume_command} when the session cookie matches. A first visit with no service worker yet, or a browser whose cached files were cleared, never gets that far.

Proposal: serve the static shell (index.html and the static JS, CSS and icons, which contain no data and no token) past the lifetime, so the client can load and reach the expired Pulse path that #985 already handles.

Constraints

Held question from the #985 build. The owner asked for it to be filed (2026-10-13).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions