8000 feat: add hard-limited presets metric by evgeniy-scherbina · Pull Request #18008 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add hard-limited presets metric #18008

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 11 commits into from
May 26, 2025
Merged
Prev Previous commit
Next Next commit
fix: make fmt
  • Loading branch information
evgeniy-scherbina committed May 23, 2025
commit 0882626f6d04fe11dc349ff37fa4a5b7a626027b
2 changes: 1 addition & 1 deletion enterprise/coderd/prebuilds/reconcile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ func TestHardLimitedPresetShouldNotBlockDeletion(t *testing.T) {
require.Equal(t, 1, jobStatusMap[database.ProvisionerJobStatusSucceeded])
require.Equal(t, 1, jobStatusMap[database.ProvisionerJobStatusFailed])

//Verify initial state: metric is not set - meaning preset is not hard limited.
// Verify initial state: metric is not set - meaning preset is not hard limited.
require.NoError(t, controller.ForceMetricsUpdate(ctx))
mf, err := registry.Gather()
require.NoError(t, err)
Expand Down
Loading
0