1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/src/lib/features
Thomas Heartman e07aab68cc
feat: Add lifecycle summary info read model + average time spent in lifecycle query (#8691)
This PR adds a project lifecycle read model file along with the most
important (and most complicated) query that runs with it: calculating
the average time spent in each stage.

The calculation relies on the following:
- when calculating the average of a stage, only flags who have gone into
a following stage are taken into account.
- we'll count "next stage" as the next row for the same feature where
the `created_at` timestamp is higher than the current row
- if you skip a stage (go straight to live or archived, for instance),
that doesn't matter, because we don't look at that.

The UI only shows the time spent in days, so I decided to go with
rounding to days directly in the query.

## Discussion point:

This one uses a subquery, but I'm not sure it's possible to do without
it. However, if it's too expensive, we can probably also cache the value
somehow, so it's not calculated more than every so often.
2024-11-08 09:45:47 +00:00
..
access feat: filter projectless events for normal users (#7914) 2024-08-21 13:59:24 +03:00
api-tokens API tokens scoped to deleted projects shouldn't give wildcard access (#7499) 2024-07-08 09:52:10 +02:00
change-request-access-service fix: change request enabled check should ignore disabled envs (#7869) 2024-08-14 13:13:31 +02:00
change-request-segment-usage-service fix: change request enabled check should ignore disabled envs (#7869) 2024-08-14 13:13:31 +02:00
client-feature-toggles fix: make default for gradual rollout work on the correct strategy name (#7401) 2024-06-14 15:54:00 +02:00
dependent-features feat: Deprecate feature toggle environment variants api (#7066) 2024-05-16 13:43:21 +02:00
events feat: activity chart polish (#8665) 2024-11-06 12:00:42 +02:00
export-import-toggles feat: start using event service composition root (#7871) 2024-08-15 08:33:46 +03:00
feature-lifecycle chore: debug lifecycle only when have new stages (#8418) 2024-10-10 14:28:11 +03:00
feature-naming-pattern chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
feature-search feat: search endpoint should return archived at date (#8592) 2024-10-30 12:35:47 +02:00
feature-toggle feat: archived features can be searched now (#8568) 2024-10-29 13:19:13 +02:00
frontend-api chore: wrapTimer function types (#8428) 2024-10-15 11:18:22 +02:00
group
instance-stats chore: upgrade to biome 1.9.4 (#8616) 2024-10-31 15:24:22 +01:00
integration-events [Gitar] Cleaning up stale flag: integrationEvents with value true (#7940) 2024-08-21 14:25:24 +02:00
maintenance feat: use audit info in events (#6872) 2024-04-18 16:32:35 +02:00
metrics task: make count column bigint. (#8183) 2024-09-19 10:59:40 +02:00
onboarding [Gitar] Cleaning up stale flag: onboardingMetrics with value true (#8550) 2024-10-28 11:47:58 +01:00
personal-dashboard feat: increase latest events in personal dashboard (#8491) 2024-10-21 12:30:50 +02:00
playground fix: use ip-address for remote-strategy (#8380) 2024-10-07 13:51:03 +02:00
private-project feat: private projects in application overview (#6775) 2024-04-04 14:56:21 +02:00
project fix: active flags double stale flags (#8673) 2024-11-06 15:04:07 +02:00
project-environments fix: give project_default_strategy_write the ability to update the default strategy (#8112) 2024-09-06 11:49:11 +02:00
project-insights feat: start using event service composition root (#7871) 2024-08-15 08:33:46 +03:00
project-status feat: Add lifecycle summary info read model + average time spent in lifecycle query (#8691) 2024-11-08 09:45:47 +00:00
scheduler chore: add a class to handle aggreggation queries (#8446) 2024-10-18 11:11:22 +02:00
segment chore (1-3076): add remaining "project resources" to status payload (#8660) 2024-11-06 11:46:04 +00:00
tag-type chore!: [v6] remove error.description in error messages (#7157) 2024-05-27 11:26:19 +02:00
traffic-data-usage feat: send traffic info to prometheus (#8541) 2024-10-25 15:43:14 +03:00
ui-observability-controller
user-subscriptions feat: add user preference change to event log (#8652) 2024-11-05 14:52:11 +00:00
index.ts feat: export transactional user subscriptions service (#8651) 2024-11-05 11:52:15 +01:00