Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] log all deletion eligibility time updates #20497

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

filiptronicek
Copy link
Member

Description

With this PR, I propose to log all garbage collection threshold changes for all regular workspaces. With, we'll be able to better understand the GC lifecycle of a single workspace when investigating false soft deletions.

The drawback I see here is that we'll most likely get a lot of these logs - most notably since we call updateDeletionEligibilityTime every time on updateGitStatus.

Related Issue(s)

Related to https://gitpod.slack.com/archives/C071G5TTS49/p1734686954620309

How to test

  1. Start a workspace
  2. Make a git change
  3. Observe logs

@@ -1,4 +1,4 @@
// Copyright (c) 2024 Gitpod GmbH. All rights reserved.
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take 0 accountability for this

they machine did it

@roboquat roboquat merged commit 7ac347a into main Jan 6, 2025
33 checks passed
@roboquat roboquat deleted the ft/deletion-eligibility-time-log branch January 6, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants