Cleaning command - add log (#13464)

This commit is contained in:
Etienne
2025-07-28 14:53:19 +02:00
committed by GitHub
parent 7cf778b579
commit 569e1e03af
@@ -325,7 +325,11 @@ export class CleanerWorkspaceService {
let deletedWorkspacesCount = 0;
for (const workspace of workspaces) {
for (const [index, workspace] of workspaces.entries()) {
this.logger.log(
`${dryRun ? 'DRY RUN - ' : ''}Processing workspace ${workspace.id} - ${index + 1}/${workspaces.length}`,
);
try {
const isSoftDeletedWorkspace = isDefined(workspace.deletedAt);