Skip to content

Wait for LiveView readiness in deployed browser checks - #1661

Merged
jhgaylor merged 5 commits into
mainfrom
codex/conformance-qualification
Sep 7, 2026
Merged

Wait for LiveView readiness in deployed browser checks#1661
jhgaylor merged 5 commits into
mainfrom
codex/conformance-qualification

Conversation

@jhgaylor

@jhgaylor jhgaylor commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

The deployed browser driver could submit a visible form before LiveView connected. A production run timed out waiting for empty-credential validation; a diagnostic observed connected=0 after navigation and passed after waiting for the connection.

Wait for [data-phx-main].phx-connected before interacting with console LiveView forms. Use the public catalog to determine whether the provider selector is required, so a zero DOM count during an update does not imply a single-provider deployment. Also independently verify the saved agent's provider. Assertions and time limits remain intact.

Validation: all 185 harness tests passed after each change. The corrected production driver passed sign-in and empty credential validation. It then exposed the fresh-account agent-form problem recorded in #1660; the full console/key/app journey has no passing verdict yet. Original failures and the allowlisted diagnostic are retained under /private/tmp/fountain-conformance-live-20260906/. Both owned test accounts and keys were removed, and the original fixture settings were restored. The same released image also passed isolated fresh-Compose registration, first-admin sign-in/sign-out and cleanup.

Part of #1618 and tracker #1606. This change fixes test-driver readiness; it does not resolve the nested credential form in #1660 or complete #1618.

@managoat-switchyard
managoat-switchyard Bot force-pushed the codex/conformance-qualification branch from 84f5c4d to 0e8e253 Compare September 7, 2026 10:10
@managoat-review-loop

managoat-review-loop Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Review Loop · Human review needed

Revision: 492c8e7e15ae64d22379965994962a169bd5c358 · 0 fix round(s) · generation 5 · Run: 1fe49f0a-9160-4175-891e-6e7ceba7ffc7

Verification command cancelled; no exit evidence

3 optional finding(s) accepted · 1 finding(s) resolved or dismissed. Full findings remain in the run details.

Usage: 3765031 reported tokens (some task usage unavailable). Approval does not merge the PR.

Evidence, decisions and retry

@managoat-review-loop managoat-review-loop Bot added the needs-human-review Review Loop requires a human decision or further verification label Sep 7, 2026
Comment thread deployed/profiles/browser-console.mjs Outdated
Comment thread deployed/profiles/browser-console.mjs Outdated
Comment thread deployed/profiles/browser-console.mjs Outdated
Comment thread deployed/profiles/browser-console.mjs Outdated
Comment thread deployed/profiles/browser-console.mjs Outdated
Comment thread deployed/lib/browser-liveview.mjs
Comment thread deployed/profiles/browser-console.mjs Outdated
@jhgaylor jhgaylor removed the needs-human-review Review Loop requires a human decision or further verification label Sep 7, 2026
@managoat-review-loop managoat-review-loop Bot added the needs-human-review Review Loop requires a human decision or further verification label Sep 7, 2026
A multi-provider deployment, or a sole provider whose selector is visible,
selects the pinned provider explicitly, so the saved agent must store it.
The `?? default` fallback let a null stored provider pass whenever the
instance default happened to equal the pin. Only a hidden sole-provider
selector may rely on the effective instance default.

The selection and persistence steps are lifted into selectBrowserProvider
and verifyBrowserProvider so browser-console.test.mjs can drive them
against a fake selector; the two fix-targeting tests fail against the
old fallback.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JRqdEnAYoRN73f7qjpizjL
Comment thread deployed/profiles/browser-console.mjs
Comment thread deployed/profiles/browser-console.mjs
Comment thread deployed/profiles/browser-console.mjs
@jhgaylor
jhgaylor merged commit e080492 into main Sep 7, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-human-review Review Loop requires a human decision or further verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant