fix(new-nav): env overview statuses glitch issue#2644
Merged
rmnbrd merged 1 commit intoApr 30, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## new-navigation #2644 +/- ##
===============================================
Coverage 44.92% 44.92%
===============================================
Files 1135 1135
Lines 23773 23773
Branches 6898 6898
===============================================
Hits 10679 10679
Misses 11221 11221
Partials 1873 1873
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to fix a UI inconsistency in the Console where an environment’s aggregated status can become out of sync with individual service running statuses by adjusting how running-status React Query cache is handled during environment navigation.
Changes:
- Add a React Query
queryClientand auseEffectintended to clear the environment running-status cache to avoid stale data. - Introduce a
wsEnabledflag to reuse the same enablement logic across both WS subscriptions. - Update React import to include
useEffect.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Issue: QOV-1886
UI inconsistency between the environment’s aggregated status and the individual service running statuses
→ Slack thread
Screenshots / Recordings
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintPR Checklist
.cursor/rules)feat(service): add new Terraform service) - required for semantic-release