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:
+18
-7
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user