Repository navigation
fix(showcase): auth-readiness SignInCard + bump LGP models to gpt-5.4 - #4746
Merged
Merged
Conversation
The e2e-readiness probe waits for any of a compound CSS selector covering chat-input testids. /demos/auth renders a <SignInCard> BEFORE mounting the chat surface (the chat-input testids only appear post-authentication), so the readiness probe was timing out at 30s with `per-demo deadline exceeded` and the auth cell rolled up to D2 even though the demo itself works fine end-to-end. Add `[data-testid="auth-sign-in-card"]` to READY_SELECTORS so the probe accepts the SignInCard as a valid "demo mounted" signal. The end-to-end auth flow (sign in -> sign out -> sign back in -> assistant response) is still covered by auth.spec.ts under the e2e-demos dimension, so the readiness probe shouldn't be doing that work. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
tylerslaton
requested review from
jpr5,
marthakelly,
mme and
ranst91
as code owners
May 9, 2026 03:56
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
…ents Swap every ChatOpenAI / init_chat_model call across the LGP agents from the prior mix (gpt-4o-mini, gpt-4o, gpt-4.1, gpt-5-mini) to the unified `gpt-5.4` model. Also updates the OPENAI_REASONING_MODEL env default in reasoning_agent.py and tool_rendering_reasoning_chain_agent.py so reasoning demos pick up the new model unless explicitly overridden. Verified locally with the user's gpt-5.4 OpenAI access — all 39 LGP demos render and respond correctly. The probe sweep on prod will confirm the model name resolves end-to-end. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two related changes for the LGP gold-standard view:
1. e2e-readiness accepts
/demos/authSignInCardFixes the spurious D2 / RT ✗ state on the LGP
authcell. The demo itself works fine end-to-end — the issue was thee2e-readinessprobe waits for chat-input testids inREADY_SELECTORS, but/demos/authrenders a<SignInCard>BEFORE mounting the chat surface (chat input only appears post-authentication). Result: 30s timeout (per-demo deadline exceeded after 30000ms).Added
[data-testid="auth-sign-in-card"]toREADY_SELECTORSso the probe accepts SignInCard as a valid "demo mounted" signal. End-to-end auth flow stays covered byauth.spec.tsunder e2e-demos.2. Bump all LGP agents to
gpt-5.4Swapped every
ChatOpenAI/init_chat_modelcall across the 26 LGP agents from the prior mix (gpt-4o-mini,gpt-4o,gpt-4.1,gpt-5-mini) to the unifiedgpt-5.4. Also updated theOPENAI_REASONING_MODELenv default inreasoning_agent.pyandtool_rendering_reasoning_chain_agent.pyso reasoning demos pick up the new model unless explicitly overridden.Verified locally — all 39 LGP demos render and respond correctly with
gpt-5.4. The probe sweep on prod will confirm end-to-end.Test plan
pnpm vitest run e2e-readinessinshowcase/harness/→ 31 / 31 passinge2e:langgraph-python/authflips green on next e2e-demos tick (hourly at:10)Companion observation (NOT in this PR)
While diagnosing the auth issue, also noticed 3 LGP D5 cells went red recently:
gen-ui-interrupt,interrupt-headless— testid mount timeoutsshared-state-streaming— document content didn't streamSubagent investigation found no code-side regression — fixtures, agents, and probe scripts are intact; the cells were green a few hours earlier with the same code. Most likely a transient aimock blip or cold-start. The driver-level retry-once added in PR #4743 should self-heal them on the next 1-2 ticks. Monitor; if persistent, check aimock Railway logs.
🤖 Generated with Claude Code