feat(Feature Lifecycle): Update API with feature lifecycle info#7789
feat(Feature Lifecycle): Update API with feature lifecycle info#7789emyller wants to merge 19 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
613356f to
69b78cd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7789 +/- ##
========================================
Coverage 98.59% 98.60%
========================================
Files 1472 1480 +8
Lines 57370 57750 +380
========================================
+ Hits 56564 56944 +380
Misses 806 806 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3bbd50f to
e75211b
Compare
Docker builds report
|
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
|
Visual Regression19 screenshots compared. See report for details. |
I have added information todocs/if required so people know about the feature.Changes
Closes #7433
/api/v1/environments/{environment}/feature-lifecycle-counts/{ "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.lifecycle_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?
Note
If you've read thus far, here's a pro-tip! :chest:
Reviewing is easier if you split: (comments go to PR, not commits)