Repository navigation
Conversation
The app list is cached for an hour, so a release made in the meantime stays invisible. POST /api/v1/apps/refresh marks the cached apps and categories as outdated; the cached data and ETag stay, so an unchanged list costs a 304. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
In the toolbar of the installed, enabled, disabled and updates lists. It reloads the apps and categories, and recounts the apps with an update. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
skjnldsv
requested review from
kristian-zendato,
pringelmann and
salmart-dev
and removed request for
a team
November 18, 2026 00:38
skjnldsv
force-pushed
the
feature/appstore-force-refresh
branch
3 times, most recently
from
November 18, 2026 00:56
037e718 to
1511183
Compare
Member
Author
|
integration & reuse failures are unrelated |
This branch has not been deployed
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.
Summary
The app list is cached for an hour (
Fetcher::INVALIDATE_AFTER_SECONDS), so an app released in the meantime doesn't show up in the app store page. This adds a "Check for updates" button to the app list toolbar, next to the filters.It calls a new admin endpoint,
POST /ocs/v2.php/apps/appstore/api/v1/apps/refresh, which marks the cached apps and categories as outdated, then reloads both lists and recounts the apps with an update. The cached data and its ETag stay, so when nothing changed the app store answers with a 304.The 5 minute back-off after a failed fetch still applies, so the button can't hammer the app store.
Checklist
3. to review, feature component)stable32)AI (if applicable)
👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.