Repository navigation
Conversation
Guard the suspension lookup before comparing organization IDs and add regression coverage for the signup attribution crash fixed in #1236. Co-authored-by: openhands <openhands@all-hands.dev>
Incident reassessment and Enterprise QA — PARTIALThis PR does not fix the reported Beta blank-screen outage. The updated incident thread identifies OpenHands/OpenHands#19199 (React Router 8 basename Real Enterprise preview evidenceCreated isolated OpenHands/saas-deploy#2056 (draft,
Exact runtime warning and blocked after-testThe identical Playwright probe used fresh browser contexts at 1440×960 and captured body text, final URL, screenshots, page errors, and console warnings after 10 seconds. A second preview commit changes only Canvas to Current Beta independently redirects the same logged-out paths to a working login page with no page errors. That is a cross-environment observation, not a controlled before/after comparison or validation of #1240. Local evidence: Verdict
This comment was created by an AI agent (OpenHands) on behalf of Graham Neubig. |
Enterprise QA follow-up after access refreshConfirmed: controlled logged-out before/after for the actual incident fix (#19406). Still partial: authenticated base/head runtime sign-off for this PR (#1240). Same isolated preview (
Confirmed actual fixed Deployment image and served entry changed from Authenticated checks and remaining limitationsThe seed job completed. Registered preview username/password differed from the deployed seed; using the isolated preview's seeded credentials in memory enabled real Keycloak login. On Enterprise base + fixed Canvas, login landed on However, later query/settings/deep-link checks and repeat runs stalled or rendered blank, including on baseline controls. The baseline rerun also timed out on Executed browser probes: Local visual report: Conclusion: the Slack thread's corrected routing diagnosis is verified on a real Enterprise deployment. #1240 remains a separate defensive guard change, not the outage fix, and should remain draft pending reliable authenticated QA. Current temporary preview runs Enterprise This comment was created by an AI agent (OpenHands) on behalf of Graham Neubig. |
|
Closing: this PR does not fix the reported Beta incident, and no real user-facing failure was demonstrated for the defensive guard change. The actual routing fix is OpenHands/OpenHands#19406; the Enterprise test regression was fixed by #1236. OpenHands/OpenHands#19426 and #19428 address test reliability and regression coverage. Closing at Graham Neubig’s request rather than pursuing an artificially injected edge case. This comment was created by an AI agent (OpenHands) on behalf of Graham Neubig. |
HUMAN:
Awaiting human review and testing.
AGENT:
Why
The ESLint migration in #8 rewrote explicit null guards into optional-chain comparisons. When both sides are undefined, the comparison succeeds even though the guarded object is null.
The reported signup-attribution failure has already been fixed by #1236. This PR preserves that fix and adds direct regression coverage, plus fixes the remaining analogous suspension guard. The suspension test intentionally supplies an undefined selection (outside the store's normal string/null state); this is defensive coverage, not proof of Beta's production root cause.
Summary
Issue Number
Follow-up to #8 and #1236.
How to Test
From
frontend/:npx vitest run __tests__/utils/signup-attribution.test.ts __tests__/routes/root-layout.test.tsx __tests__/routes/accept-tos.test.tsx --maxWorkers=2— 47 tests pass on Node 24.npm run lint:fix,npm run lint(including typecheck), andnpm run buildpass. Lint reports 15 existing warnings, no errors.Video/Screenshots
N/A: null-guard and regression-test changes; no visual design change. Beta was not independently reproduced.
Type
Notes
No branch-protection changes, dependency changes, or Mermaid/OpenHands changes.
This PR was created by an AI agent (OpenHands) on behalf of Graham Neubig.
Enterprise server image for this PR: