Repository navigation
fix: a first run doesn't say refresh failed - #229
Merged
Merged
Conversation
brtkwr
enabled auto-merge
November 4, 2026 14:35
brtkwr
force-pushed
the
fix/first-run-refresh
branch
from
November 4, 2026 14:36
b676208 to
4a0bdf2
Compare
With no projects folder yet, every background scan reported a failure in the header until the first session existed. No folder and nothing listed is just an empty list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUnP8k6tg8jgSku3uPCCjL
brtkwr
force-pushed
the
fix/first-run-refresh
branch
from
November 4, 2026 14:38
4a0bdf2 to
802d2b1
Compare
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.
What changes for you
A brand-new user, who now gets an empty list instead of an exit since #222, no longer sees
refresh failedin the header while they have no sessions yet.A projects folder that vanishes under a list you already have still reports the failure, as does any other scan error.
Proof
With the built binary and an empty HOME the header says
refreshed just now. Before, it saidrefresh failed, list from just nowonce the first background scan ran. The two cases that should still fail have tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01QUnP8k6tg8jgSku3uPCCjL