Repository navigation
Add a View log button to failed provider installs in onboarding - #5269
Merged
SawyerHood merged 2 commits intoOct 9, 2026
Merged
SawyerHood merged 2 commits into
SawyerHood merged 2 commits into
Conversation
SawyerHood
marked this pull request as ready for review
October 9, 2026 19:07
A failed install in the setup guide told the user to check the log but offered no way to open it from the row. The row now opens the stored install log in the existing log dialog, including when the machine offers no retry action. Co-Authored-By: Claude Code <[email protected]>
The attachment preview tab passed the shared file preview loading component directly, but that component requires a copy path the tab never supplies, so the app typecheck failed on main. The loading state now shows the attachment name with no copy path, matching what the loaded preview shows. Co-Authored-By: Claude Code <[email protected]>
SawyerHood
force-pushed
the
bb/show-provider-installation-failure-details-thr_ew8spx8zgs
branch
from
October 9, 2026 19:10
2893669 to
bb493d6
Compare
SawyerHood
deleted the
bb/show-provider-installation-failure-details-thr_ew8spx8zgs
branch
October 9, 2026 19:19
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.
Human comments
What was wrong
When a provider install failed in the first-run setup guide, the agent row said "Install failed. Check the log, then retry." but the row had no way to open that log. The only route to it was the "View log" action on the failure toast, which disappears.
What changed
apps/app/src/components/onboarding/OnboardingViews.tsx: a failed install row now shows a View log button next to Retry. It also shows when the machine reports no install action, so the log stays reachable without a retry.apps/app/src/components/onboarding/OnboardingFlow.tsx: the button opens the failure's stored log in the existing provider CLI install log dialog, the same one the Updates settings page and the failure toast use. The row text is shortened to "Install failed", since the buttons now carry the rest and the longer text was truncated.apps/app/src/components/onboarding/Onboarding.stories.tsx: the failed-install story passes the new handler and the shorter text.apps/app/src/components/secondary-panel/lazySecondaryPanelComponents.tsx: unrelated fix for a type error onmainthat failed this PR's lint and typecheck job. The attachment preview tab (Convert large text pastes into ordinary attachments #5098) passed the shared loading component directly, but that component requires a copy path (Show one loading state per action across the timeline, panels, side chat, and palette #5264) the tab never supplies. The loading state now shows the attachment name with no copy path, matching the loaded preview.No wire, CLI, or configuration changes.
How you verified
apps/app/src/components/onboarding/OnboardingViews.test.tsx: the log button appears only on the agent whose install failed and reports that agent, and it stays available when no retry is offered.pnpm exec turbo run test --filter=@bb/app -- src/components/onboarding src/components/secondary-panel(565 tests pass).pnpm exec turbo run typecheck lint --filter=@bb/app(0 errors; it fails onmainwithout the loading-state fix).🤖 Generated with Claude Code