chore: remove 1-19 upgrade commands and navigation menu item feature flags (#19083)

## Summary
- Deletes the entire `1-19` upgrade version command directory (7 files,
~1500 lines) and removes all references from the upgrade module and
command runner.
- Removes `IS_NAVIGATION_MENU_ITEM_ENABLED` and
`IS_NAVIGATION_MENU_ITEM_EDITING_ENABLED` feature flags from the enum,
seed data, generated schema files, and test mocks. These flags had no
remaining feature-gated code — navigation menu items are now always
enabled.
This commit is contained in:
Charles Bochet
2026-03-30 16:15:46 +02:00
committed by GitHub
parent 2fccd29ec6
commit 08b041633a
18 changed files with 32 additions and 1590 deletions
@@ -153,19 +153,30 @@ export class WorkflowRunEnqueueWorkspaceService {
authContext,
);
} catch (error) {
this.metricsService.incrementCounter({
key: MetricsKeys.WorkflowRunFailedToEnqueue,
eventId: workspaceId,
});
try {
await this.metricsService.incrementCounter({
key: MetricsKeys.WorkflowRunFailedToEnqueue,
eventId: workspaceId,
});
} catch {
// Metrics may fail if Redis is shutting down — safe to ignore
}
this.logger.error(
`Failed to enqueue workflow runs for workspace: ${workspaceId}`,
error,
);
} finally {
await this.workflowThrottlingWorkspaceService.releaseWorkflowEnqueueLock(
workspaceId,
);
try {
await this.workflowThrottlingWorkspaceService.releaseWorkflowEnqueueLock(
workspaceId,
);
} catch (releaseError) {
this.logger.warn(
`Failed to release workflow enqueue lock for workspace: ${workspaceId}`,
releaseError,
);
}
}
}
}