fix: reduce amount of "links" requests by calling the env-scoped endpoint#2408
fix: reduce amount of "links" requests by calling the env-scoped endpoint#2408
Conversation
|
Qovery can create a Preview Environment for this PR.
This comment has been generated from Qovery AI 🤖.
|
|
/qovery preview 28c47145-c8e7-4b9d-8d9e-c65c95b48425 |
|
A preview environment was automatically created via Qovery. Another comment will be posted when deployments are finished |
|
Your preview environment has been successfully deployed ! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## staging #2408 +/- ##
===========================================
+ Coverage 47.27% 48.39% +1.12%
===========================================
Files 1272 939 -333
Lines 23589 19288 -4301
Branches 6965 5753 -1212
===========================================
- Hits 11152 9335 -1817
+ Misses 10304 8181 -2123
+ Partials 2133 1772 -361
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:
|
libs/domains/services/feature/src/lib/hooks/use-env-links/use-env-links.ts
Outdated
Show resolved
Hide resolved
|
🎉 This PR is included in version 1.290.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Issue: QOV-1013
This PR introduces a change reducing the amount of API requests to the
/linkendpoint by calling the env-scoped endpoint instead of the service-scoped one.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