Skip to content

fix(showcase): auth-readiness SignInCard + bump LGP models to gpt-5.4 - #4746

Merged
tylerslaton merged 2 commits into
mainfrom
tyler/auth-readiness-signin-card
May 9, 2026
Merged

tylerslaton merged 2 commits into
mainfrom
tyler/auth-readiness-signin-card

Conversation

@tylerslaton

@tylerslaton tylerslaton commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

Two related changes for the LGP gold-standard view:

1. e2e-readiness accepts /demos/auth SignInCard

Fixes the spurious D2 / RT ✗ state on the LGP auth cell. The demo itself works fine end-to-end — the issue was the e2e-readiness probe waits for chat-input testids in READY_SELECTORS, but /demos/auth renders 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"] to READY_SELECTORS so the probe accepts SignInCard as a valid "demo mounted" signal. End-to-end auth flow stays covered by auth.spec.ts under e2e-demos.

2. Bump all LGP agents to gpt-5.4

Swapped every ChatOpenAI / init_chat_model call across the 26 LGP agents from the prior mix (gpt-4o-mini, gpt-4o, gpt-4.1, gpt-5-mini) to the unified gpt-5.4. Also updated 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 — 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-readiness in showcase/harness/ → 31 / 31 passing
  • Local LGP container running gpt-5.4 against real OpenAI — all demos respond
  • Post-merge: e2e:langgraph-python/auth flips green on next e2e-demos tick (hourly at :10)
  • Post-merge: every D5 cell across LGP confirms model resolves on next e2e-deep tick

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 timeouts
  • shared-state-streaming — document content didn't stream

Subagent 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

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]>
@vercel

vercel Bot commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat-with-your-data Ready Ready Preview, Comment May 9, 2026 4:03am
docs Ready Ready Preview, Comment May 9, 2026 4:03am
form-filling Ready Ready Preview, Comment May 9, 2026 4:03am
research-canvas Ready Ready Preview, Comment May 9, 2026 4:03am
travel Ready Ready Preview, Comment May 9, 2026 4:03am

Request Review

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

📣 Social Copy Generator

Generate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.

  • Generate social media copies

…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]>
@tylerslaton tylerslaton changed the title fix(showcase/harness): e2e-readiness accepts /demos/auth SignInCard fix(showcase): auth-readiness SignInCard + bump LGP models to gpt-5.4 May 9, 2026
@tylerslaton
tylerslaton merged commit 1a66d73 into main May 9, 2026
15 checks passed
@tylerslaton
tylerslaton deleted the tyler/auth-readiness-signin-card branch May 9, 2026 04:03

This branch was successfully deployed

5 active deployments
Preview – travel — 89e4c4e5 Deployed May 9, 2026 by vercel[bot]
Preview – research-canvas — 89e4c4e5 Deployed May 9, 2026 by vercel[bot]
Preview – docs — 89e4c4e5 Deployed May 9, 2026 by vercel[bot]
Preview – form-filling — 89e4c4e5 Deployed May 9, 2026 by vercel[bot]
Preview – chat-with-your-data — 89e4c4e5 Deployed May 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant