1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: active flags double stale flags (#8673)

Do not count stale flags as potentially stale flags to remove
duplicates.
Stale flags feel like more superior state and it should not show up
under potentially stale.
This commit is contained in:
Jaanus Sellin 2024-11-06 15:04:07 +02:00 committed by GitHub
parent fa597aa340
commit 76bf6dbcb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -26,10 +26,10 @@ const vitestConfig = vitestDefineConfig({
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
api: 'modern-compiler',
},
},
},
});
export default mergeConfig(

View File

@ -192,7 +192,7 @@ export class ProjectReadModel implements IProjectReadModel {
'projects.id, projects.health, ' +
'count(features.name) FILTER (WHERE features.archived_at is null) AS number_of_features, ' +
'count(features.name) FILTER (WHERE features.archived_at is null and features.stale IS TRUE) AS stale_feature_count, ' +
'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE) AS potentially_stale_feature_count',
'count(features.name) FILTER (WHERE features.archived_at is null and features.potentially_stale IS TRUE and features.stale IS FALSE) AS potentially_stale_feature_count',
),
'project_stats.avg_time_to_prod_current_window',
'projects.archived_at',