Skip to content

fix: brev ls spinner hanging during onboarding quick tour#348

Draft
hakhandelwal11 wants to merge 1 commit intomainfrom
BREV-6328/brevls-stuck-on-quick-tour
Draft

fix: brev ls spinner hanging during onboarding quick tour#348
hakhandelwal11 wants to merge 1 commit intomainfrom
BREV-6328/brevls-stuck-on-quick-tour

Conversation

@hakhandelwal11
Copy link
Copy Markdown
Contributor

After first login, the quick tour asks the user to run brev ls, which starts a spinner waiting for brev shell in another terminal. However, the spinner never stops because it checks HasRunBrevOpen instead of HasRunBrevShell, so the completion condition is never met.

Fix: Changed the condition in doBrevShellOnboarding from res.HasRunBrevOpen to res.HasRunBrevShell so the spinner correctly detects when brev shell has been run and exits cleanly.

@hakhandelwal11 hakhandelwal11 self-assigned this Apr 4, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 17.69%. Comparing base (88dc335) to head (dd8a7a1).
⚠️ Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
pkg/cmd/hello/steps.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
+ Coverage   14.77%   17.69%   +2.91%     
==========================================
  Files         127      140      +13     
  Lines       16977    18483    +1506     
==========================================
+ Hits         2508     3270     +762     
- Misses      14182    14853     +671     
- Partials      287      360      +73     
Flag Coverage Δ
Linux 17.69% <0.00%> (+2.91%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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