Skip to content

fix(frontend): playground error-state Try again button actually retries - #5906

Merged
mmabrouk merged 1 commit into
release/v0.112.0from
fix/playground-try-again-dead-button
Aug 10, 2026
Merged

fix(frontend): playground error-state Try again button actually retries#5906
mmabrouk merged 1 commit into
release/v0.112.0from
fix/playground-try-again-dead-button

Conversation

@mmabrouk

Copy link
Copy Markdown
Member

Context

The playground's "Something went wrong / Playground is unable to communicate with the service" error state renders a Try again button with no click handler. It does nothing, and a user who hits the error state (reproducible 3/3 when a just-committed revision races the playground's entity resolution, per the diagnosis in #5905) is stuck.

Changes

One line: the button reloads the page, which is what recovery requires in that state (the racing revision resolves on a fresh load).

Tests

Prettier clean; the dev stack hot-reloaded and serves 200. The error state needs the race to render, so the practical check is in the What to QA line.

What to QA

  • If you ever land on the playground's "Something went wrong" screen, Try again now reloads and recovers instead of doing nothing.

The button had no onClick — it rendered, did nothing, and left users stuck
on 'unable to communicate with the service' (found by the acceptance-repair
agent, 3/3 repro via a just-committed revision racing entity resolution).
Reload matches what recovery actually requires there.
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 10, 2026
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
agenta-documentation Blocked Blocked Aug 10, 2026 2:17pm

Request Review

@dosubot dosubot Bot added bug report Something isn't working frontend labels Aug 10, 2026
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: f1be5664-6c77-4d1c-a2ae-76c7b31c6f03

📥 Commits

Reviewing files that changed from the base of the PR and between df65653 and 5d46ee6.

📒 Files selected for processing (1)
  • web/oss/src/components/Playground/Components/MainLayout/index.tsx

📝 Walkthrough

Summary by CodeRabbit

  • Bug Fixes
    • The error-state “Try again” button now reloads the page when clicked, allowing users to retry without manually refreshing.

Walkthrough

The Playground error-state “Try again” button now reloads the browser page when clicked.

Changes

Playground error retry

Layer / File(s) Summary
Add retry page reload
web/oss/src/components/Playground/Components/MainLayout/index.tsx
The error-state “Try again” button now invokes a page reload action.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change to the playground error-state Try again button.
Description check ✅ Passed The description directly explains the missing click handler, the reload behavior, and the testing and QA steps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/playground-try-again-dead-button

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-08-10T15:04:32.705Z

@mmabrouk
mmabrouk merged commit a5c003d into release/v0.112.0 Aug 10, 2026
61 of 63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug report Something isn't working frontend size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant