feat(Feature Lifecycle): Update API with feature lifecycle info#7789
Draft
emyller wants to merge 2 commits into
Draft
feat(Feature Lifecycle): Update API with feature lifecycle info#7789emyller wants to merge 2 commits into
emyller wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
613356f to
69b78cd
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7789 +/- ##
========================================
Coverage 98.57% 98.57%
========================================
Files 1464 1467 +3
Lines 56625 56959 +334
========================================
+ Hits 55818 56149 +331
- Misses 807 810 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3bbd50f to
e75211b
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.
I have added information todocs/if required so people know about the feature.Changes
Closes #7433
/api/v1/projects/{project_pk}/features/lifecycle-status-counts/?environment=42{ "NEW": 475, "LIVE": 734, "PERMANENT": 190, "STALE": 374, "NEEDS_MONITORING": 30, "TO_REMOVE": 197 }GET /api/v1/projects/{project_pk}/features/(list):lifecycle_stage: one of stages below; requiresenvironment.evaluation_period_days:TO_REMOVElifecycle_stageto the above list endpoint, and also to.../{feature_id}(retrieve), also carrying one of stages below.Stages logical propositions are as follows:
PERMANENThas_permanent_tagLIVE~has_permanent_tag AND ~has_stale_tag AND has_code_referencesNEW~has_permanent_tag AND ~has_stale_tag AND ~has_code_referencesSTALE~has_permanent_tag AND has_stale_tag AND has_code_referencesNEEDS_MONITORING~has_permanent_tag AND has_stale_tag AND ~has_code_references AND evaluated_recentlyTO_REMOVE~has_permanent_tag AND has_stale_tag AND ~has_code_references AND ~evaluated_recentlyHow did you test this code?