Dima Paikin
12/17/2025, 10:30 AM{
"branches": [
{
"branch_id": "main",
"retention_days": 7
}
],
"default_retention_days": 1
}
However, I've noticed that some branches are much older than 1 day, even though the retention period should be respected. Can you help me understand what might be causing this behavior? Is there a known issue in this area?
Thank you for your help! server version: 1.5Barak Amar
Dima Paikin
12/17/2025, 12:46 PMDima Paikin
12/17/2025, 12:49 PMBarak Amar
Niro
12/17/2025, 1:34 PMDima Paikin
12/18/2025, 7:33 AMBarak Amar
Dima Paikin
12/22/2025, 8:23 AM{
"branches": [
{
"branch_id": "main",
"retention_days": 7
}
],
"default_retention_days": 1
}
What exactly happens after:
• 1 day (for non-main branches)?
• 7 days (for the main branch)?
In other words, which objects are affected by retention (branch metadata, commits, underlying data/objects), and what’s the lifecycle/timeline for each in this setup?
2. Auto-delete branches that weren’t merged within 1 day
My business requirement is: if a branch is not merged into master within 1 day, I want the branch and the underlying data it references to be deleted.
• Is there a built-in way to enforce this policy in the system?
• If not, is there an official job/tool/script you recommend for implementing this (e.g., something internal you mentioned exists), and where can I find it?
• If there’s no supported job/tool, is the only option an application-level cleanup process (e.g., periodic automation calling the API to delete branches)?Barak Amar
Dima Paikin
12/28/2025, 7:56 AMDima Paikin
12/29/2025, 10:05 AMDima Paikin
12/29/2025, 4:02 PMNiro
12/29/2025, 5:23 PM