Use release-X.Y tags for plugin SpinWick Mattermost images - #99
Conversation
mattermostdevelopment/ publishes branch tags, not the bare semver tags returned by version resolution. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughSpinWick now converts valid Mattermost semantic versions into ChangesSpinWick image tag normalisation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🔵 Low · up to The change maps resolved versions to release-X.Y tags for SpinWick Mattermost image installation. An inaccurate comment remains in server/spinwick_plugin.go and should be corrected or explicitly accepted by the owner, but no production behavior or merge-blocking failure is identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@server/spinwick_plugin.go`:
- Around line 77-80: Update the comment above pluginSpinwickImageTag and
resolveMattermostServerVersion to state that the installation uses the
configured version unless E2EServerVersion is "latest"; only the "latest"
configuration resolves to the highest available server version, including RCs.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4f76946e-8fbd-414b-936a-8d3bf1c8d0d5
📒 Files selected for processing (2)
server/spinwick_plugin.goserver/spinwick_plugin_test.go
The installation uses the resolved version, which is only the highest release when E2EServerVersion is latest. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Plugin SpinWicks pull
mattermostdevelopment/mattermost-enterprise-edition, which publishes branch tags likerelease-11.10, not the bare semver tags (11.10.0) returned byresolveMattermostServerVersion(). Map resolved versions torelease-X.Ybefore creating the Cloud installation so plugin SpinWicks can pull an image that exists. Desktop/mobile E2E paths are unchanged.Release Note
Made with Cursor