Fixes for non-breaking typos and typos configuration

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

More

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2026-04-29 16:53:20 -05:00
parent 84913005fd
commit 2f33a9f63f
41 changed files with 128 additions and 48 deletions
@@ -804,7 +804,7 @@ function scaffoldingTracker(metrics: MetricsService) {
help: 'Duration of a task run',
labelNames: ['template', 'result'],
});
const promtStepCount = createCounterMetric({
const promStepCount = createCounterMetric({
name: 'scaffolder_step_count',
help: 'Count of step runs',
labelNames: ['template', 'step', 'result'],
@@ -942,7 +942,7 @@ function scaffoldingTracker(metrics: MetricsService) {
stepId: step.id,
status: 'completed',
});
promtStepCount.inc({
promStepCount.inc({
template,
step: step.name,
result: 'ok',
@@ -958,7 +958,7 @@ function scaffoldingTracker(metrics: MetricsService) {
}
async function markCancelled() {
promtStepCount.inc({
promStepCount.inc({
template,
step: step.name,
result: 'cancelled',
@@ -974,7 +974,7 @@ function scaffoldingTracker(metrics: MetricsService) {
}
async function markFailed() {
promtStepCount.inc({
promStepCount.inc({
template,
step: step.name,
result: 'failed',
@@ -141,7 +141,7 @@ export const isTaskOwner = createTaskPermissionRule({
createdBy: z
.array(z.string())
.describe(
'List of creater entity refs; only tasks created by these users will be viewable',
'List of creator entity refs; only tasks created by these users will be viewable',
),
}),
apply: (resource, { createdBy }) => {