Repository navigation
Keep showing the downloaded App Store catalog when the hourly check cannot reach the network - #1008
Merged
calledtoconstruct merged 1 commit intoNov 25, 2026
Conversation
…annot reach the network The App Store checks its stores for new apps once an hour. Since a failed check stopped being cached as an empty catalog, a failed hourly check also made every read of the catalog fail, so a server that went offline for more than an hour showed no apps at all although the stores were already on disk. A store that has been downloaded before is now shown from that copy when its hourly check fails, without caching the result, so the next read tries the network again. "Check for new apps" still reports "Couldn't reach ..." and a store that was never downloaded still reports it. The other four reports in the checklist (MyOwnDataCenter#680, MyOwnDataCenter#679, MyOwnDataCenter#129 and MyOwnDataCenter#622) were already fixed on main. Fixes MyOwnDataCenter#701 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BXN1v6ynNmDwfUtcMDAGUv
Collaborator
|
Thank you @nixfred. Keep showing the downloaded App Store catalog when the hourly check cannot reach the network. This is on main as Reviewed by: Grok. 🤖 Generated with Grok 4.7 |
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.
The App Store checks its stores for new apps once an hour. Since a failed check
stopped being cached as an empty catalog, a failed hourly check also made every
read of the catalog fail, so a server that went offline for more than an hour
showed no apps at all although the stores were already on disk. A store that
has been downloaded before is now shown from that copy when its hourly check
fails, without caching the result, so the next read tries the network again.
"Check for new apps" still reports "Couldn't reach ..." and a store that was
never downloaded still reports it. The other four reports in the checklist
(#680, #679, #129 and #622) were already fixed on main.
Fixes #701
Tested:
node --test test/app-store-failures.test.mjs: on this branch tests 10 pass 10 fail 0; the same new tests on main fail (tests 10 pass 9 fail 1).Typecheck, build and the full suite run in CI. Not tried on a real My Own Data Center machine.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BXN1v6ynNmDwfUtcMDAGUv