Skip to content

Fix plugin listing page showing stale version#359

Merged
simonhamp merged 2 commits intomainfrom
fix-plugin-listing-version
Apr 13, 2026
Merged

Fix plugin listing page showing stale version#359
simonhamp merged 2 commits intomainfrom
fix-plugin-listing-version

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • SyncPluginReleases job creates PluginVersion records (used by admin/Satis) but never updated the plugins.latest_version field that the public listing page reads from
  • After processing new releases, the job now also updates latest_version on the plugin to match the newest version from the plugin_versions table

Test plan

  • Added test: new releases update latest_version on the plugin
  • Added test: no-op when all releases already exist (no false updates)

🤖 Generated with Claude Code

simonhamp and others added 2 commits April 13, 2026 14:15
The SyncPluginReleases job creates PluginVersion records but never
updated the plugins.latest_version field, causing the public listing
page to show a stale version while admin/Satis showed the correct one.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SatisService constructor requires non-nullable string properties from
config, which are null in CI. Mock it instead since Satis is not
exercised in these tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review April 13, 2026 13:42
@simonhamp simonhamp merged commit d27b5e4 into main Apr 13, 2026
2 checks passed
@simonhamp simonhamp deleted the fix-plugin-listing-version branch April 13, 2026 13:42
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