Skip to content

fix: exclude deleted templates from metrics collection #17839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 15, 2025

Conversation

evgeniy-scherbina
Copy link
Contributor

@evgeniy-scherbina evgeniy-scherbina commented May 14, 2025

Also add some clarification about the lack of database constraints for soft template deletion.

deleted templates cannot have associated workspaces, so it is logically invalid to include them

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
@evgeniy-scherbina evgeniy-scherbina changed the title test: added duplicate-template-names test test: add duplicate-template-names test May 14, 2025
@evgeniy-scherbina evgeniy-scherbina marked this pull request as ready for review May 14, 2025 23:56
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
@dannykopping dannykopping changed the title test: add duplicate-template-names test fix: deleted templates should be excluded from metrics collection May 15, 2025
@dannykopping dannykopping changed the title fix: deleted templates should be excluded from metrics collection fix: exclude deleted templates from metrics collection May 15, 2025
@dannykopping dannykopping force-pushed the yevhenii/metrics-fix branch from ceb64a0 to 9cc5049 Compare May 15, 2025 09:04
@dannykopping dannykopping merged commit 2aa8cbe into main May 15, 2025
61 of 72 checks passed
@dannykopping dannykopping deleted the yevhenii/metrics-fix branch May 15, 2025 11:34
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants