You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Project files deleted despite cleanupPeriodDays set to 1825 #15935
That's related, but it's a different issue. We have the setting to have a maximum cleanup period much larger than the default, but it's still deleting them:
Okay, well I set mine to 99999 as well. I wonder why 1825 is not working. Mine is clearly resetting to 30 days. Okay, well I set mine to 99999 as well. For now, I have an RSync cron script so that we can meet our internal policy requirements, but I think there's a bug somewhere, at least in the version I'm using above.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Dec 31, 2025
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
KJ7LNW commentedon Dec 31, 2025
That's related, but it's a different issue. We have the setting to have a maximum cleanup period much larger than the default, but it's still deleting them:
KJ7LNW commentedon Dec 31, 2025
@JGKle, Is Claude still respecting this setting?
JGKle commentedon Dec 31, 2025
Yes, I've not had it delete any data since adjusting the setting.
KJ7LNW commentedon Jan 1, 2026
is this where you have it?
JGKle commentedon Jan 1, 2026
Yes...set to 99999
KJ7LNW commentedon Jan 1, 2026
Okay, well I set mine to 99999 as well. I wonder why 1825 is not working. Mine is clearly resetting to 30 days. Okay, well I set mine to 99999 as well. For now, I have an RSync cron script so that we can meet our internal policy requirements, but I think there's a bug somewhere, at least in the version I'm using above.
VibeCodingWW commentedon Jan 8, 2026
Confirming this bug on Linux, currently running Claude Code 2.1.1.
Our experience:
cleanupPeriodDays: 99999set365to test if a more "reasonable" value would workcleanupPeriodDays: 365Current state:
Unknown: We can't confirm whether this setting ever worked and recently broke, or if it never worked. We only noticed the missing files recently.
Using external backup scripts as a workaround for now.
knksmith57 commentedon Jan 9, 2026
I believe this has regressed again.
This time, I'm concerned that the behavior may have been intentional unauthorized removal: #16978
github-actions commentedon Feb 8, 2026
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
KJ7LNW commentedon Feb 8, 2026
Unless someone sp has specifically verified this, we can only assume that it is still happening.
kyzzen commentedon Feb 14, 2026
It is still happening for me as well.
github-actions commentedon Mar 15, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Mar 23, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.