diff --git a/components/gitpod-protocol/go/gitpod-config-types.go b/components/gitpod-protocol/go/gitpod-config-types.go index 011723a58ee283..9b620863838ae9 100644 --- a/components/gitpod-protocol/go/gitpod-config-types.go +++ b/components/gitpod-protocol/go/gitpod-config-types.go @@ -1,4 +1,4 @@ -// Copyright (c) 2024 Gitpod GmbH. All rights reserved. +// Copyright (c) 2025 Gitpod GmbH. All rights reserved. // Licensed under the GNU Affero General Public License (AGPL). // See License.AGPL.txt in the project root for license information. diff --git a/components/server/src/workspace/workspace-service.ts b/components/server/src/workspace/workspace-service.ts index 4e040722d3b4da..2ff2dd44820e0c 100644 --- a/components/server/src/workspace/workspace-service.ts +++ b/components/server/src/workspace/workspace-service.ts @@ -590,6 +590,22 @@ export class WorkspaceService { ); return; } + + log.info( + { userId, workspaceId, instanceId: instance?.id }, + "[updateDeletionEligibilityTime] Updating deletion eligibility time for regular workspace", + { + hasGitChanges, + timestamps: new TrustedValue({ + deletionEligibilityTime: deletionEligibilityTime.toISOString(), + instanceStoppingTime: instance?.stoppingTime, + instanceStartedTime: instance?.startedTime, + instanceCreationTime: instance?.creationTime, + workspaceCreationTime: workspace.creationTime, + lastActive, + }), + }, + ); await this.db.updatePartial(workspaceId, { deletionEligibilityTime: deletionEligibilityTime.toISOString(), });