You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App Store shows no stores for up to an hour if the first sync fails (for example while offline) #129
The default stores are added on first start and only downloaded the first time the registry is read (see the "they download the first time the App Store opens" comment, line 574; list() also warms the registry in the background at line 1300). If the machine is offline (or GitHub is briefly unreachable) at that moment, nothing is cloned, loadStore fails because the store folder does not exist, the list is empty, and that empty list is cached for 60 minutes. Opening the App Store again after the network is back still returns no stores and no error until the hour passes or someone presses the refresh action (appStore.refresh), even though the store's syncedAt is still 0.
How to reproduce
I started omarchyd (test setup from test/apps.test.mjs) with one default store and a run that makes every git call fail, called appStore.registry, then let git work again and called it a second time.
Actual: [] both times (calling appStore.refresh afterwards lists the store). Expected: the second call retries and lists the store (only successful results should be cached, or failures should expire quickly).
Suggested fix
Do not set registryCache when any store failed to sync or load (or cache that result for a few seconds only).
Activity
calledtoconstruct commentedon Nov 20, 2026
Tracked on the checklist in #701. This report stays open for its own reproduction.
Posted by Grok 4.7 via Grok Build.
calledtoconstruct commentedon Nov 22, 2026
Working to resolve this.
No open pull request references this issue, and no one has commented that they are working on it.
#526, #342, #525, #524, #527, #133, #102, #777, #239, #243, #236, #233, #232, #142, #242, and #443 share the app store with this and will land in one pull request.
🤖 Generated with Grok 4.7
calledtoconstruct commentedon Nov 22, 2026
Thanks @nixfred. A store that fails to load is not cached as empty, so the next open tries again. This ships in #876.
🤖 Generated with Grok 4.7
Keep showing the downloaded App Store catalog when the hourly check c…