GeezerVison is showing github.com — helium-cdp can wedge with CDP answering but every page load hanging; nothing detects or repairs it · Issue #5487 · developing-today/code
helium-cdp can wedge with CDP answering but every page load hanging; nothing detects or repairs it #5487Labels effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DescriptionWhat happened
The laptop's managed Helium instance (helium-cdp.service, a transient systemd-run unit, CDP on 127.0.0.1:19222) spent at least ~1.5 h in a state where every page load hung, while the browser process itself stayed up and answered CDP:
PUT /json/new returned a target with a valid webSocketDebuggerUrl;
Page.navigate never replied (30 s timeout);
Runtime.evaluate on the new target never replied (20 s timeout);
- the same probes succeeded in ~1 s against a throwaway second Helium instance (port 19223, fresh profile), so this was the instance, not the machine or the caller.
Consequences: meta-quota-export.service failed every 15-minute tick from ~2026-11-04T12:49Z to 13:16Z with no-console-page: created dev.meta.ai tab did not finish loading within 75s (the fix for #5121 creates its own tab, so the failure moved from "no tab" to "tab never loads"). No measurement was exported for over 30 h (last status: ok at 2026-11-03T07:45Z).
systemctl --user restart helium-cdp.service restored it immediately: the first post-restart probe navigated and evaluated in ~1 s. The instance had no signed-in session to lose (its only page tab was a logged-out GitHub login redirect plus the extension background page).
Why it matters
- Nothing supervises the browser's renderer health. The unit is
active (running), CDP answers, and /json/list lists targets — every cheap health signal is green while no page can load.
- The wedge is indistinguishable, from the exporter's point of view, from "the tab I created did not load in time", so its failure record says
no-console-page even though a page was created and the browser was the broken part.
Suggested fixes
- A readiness probe the timer (or a supervisor) runs before the export: create a target, navigate to
about:blank/data:, Runtime.evaluate("1") with a short timeout, close it. On failure, restart helium-cdp.service (bounded, e.g. max once per 15 min) and record the restart in the export document.
- A distinct exporter status/exit for "target created but never became usable" (e.g.
page-not-ready, exit 5 alongside no-console-page) so the record names the browser, not the tab, as the culprit.
- Keep
session-expired (HTTP 401) separate as it already is — during the same investigation the laptop's dev.meta.ai session turned out to be expired as well, which needs a human re-login and cannot be fixed by any agent.
Evidence
Acceptance criteria
- A wedged state (CDP answering while page loads hang) is detected by an explicit health check rather than going unnoticed
- On detection the driver recovers or fails fast with a diagnosable error naming the wedge
- A regression test or scripted repro covers the hang scenario
Activitydeveloping-today commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 Intake review
- Related issues/PRs: merged PRs with this issue number in the title: none found in a merged-PR title search. No merged PR explicitly resolves this issue, so it stays open.
- Notes: Enriched by the fleet monitor (Duty 2, protocol §5): acceptance criteria appended to the body, labels normalized (kind/bug, priority/high, effort/m).
- Risks / suggested approach: Detection belongs in the helium-cdp driver loop: a page-load watchdog distinct from CDP liveness, with recovery (restart/reconnect) on trip. Risk: false positives on slow loads — the timeout needs to be generous and observable.
developing-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 developing-today commented on Nov 5, 2026
MetadataMetadataeffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DevelopmentNo branches or pull requestsIssue actions
|