fix: add version label to environment cards#2379
Merged
Conversation
Member
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
|
Container images for this PR have been built successfully!
Built from commit d3bb98a |
cddbba3 to
53ab5cb
Compare
53ab5cb to
d3bb98a
Compare
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.

Checklist
mainbranchWhat This PR Implements
Fixes:
Changes Made
Testing Done
./scripts/development/dev.sh startjust lint all)just test backendAI Tool Used (if applicable)
AI Tool:
Assistance Level:
What AI helped with:
I reviewed and edited all AI-generated output:
I ran all required tests and manually verified changes:
Additional Context
Disclaimer Greptiles Reviews use AI, make sure to check over its work.
To better help train Greptile on our codebase, if the comment is useful and valid Like the comment, if its not helpful or invalid Dislike
To have Greptile Re-Review the changes, mention
greptileai.Greptile Summary
This PR adds version labels to environment cards on the all-environments dashboard view. The backend is extended to fetch version info alongside the snapshot in a parallel errgroup fan-out, and the frontend replaces per-card individual
loadPromiseinstances with a single centralizedenvironmentBoardStatePromisethat resolves all environments at once.The backend changes are clean — the errgroup pattern is correctly applied, nil-service guards prevent panics in test scenarios, and test coverage addresses the happy path, offline environments, and remote version-fetch failures.
Confidence Score: 5/5
Safe to merge; only a P2 style finding from this review pass.
All new findings from this review are P2 (style/suggestion level). The backend logic is well-structured and tested. Prior-thread concerns are tracked separately and do not block merge.
frontend/src/routes/(app)/dashboard/+page.svelte — debugUpgrade state has no activation path
Prompt To Fix All With AI
Reviews (3): Last reviewed commit: "fix: add version label to environment ca..." | Re-trigger Greptile