Skip to content

fix(coderd/x/chatd): reset auto archive ticker after runs - #26512

Merged
hugodutka merged 1 commit into
mainfrom
fix-chatd-auto-archive
Jun 18, 2026
Merged

hugodutka merged 1 commit into
mainfrom
fix-chatd-auto-archive

Conversation

@hugodutka

@hugodutka hugodutka commented Jun 18, 2026 •

Copy link
Copy Markdown
Collaborator

Prevents slow chat auto-archive runs from causing a constant archival loop by resetting the ticker only after each run completes.

Also documents the UTC midnight cutoff used for archive eligibility so chats with activity on the same UTC calendar date stay eligible or ineligible for the full day.

Addresses deferred review comments:

Generated by Coder Agents and closely reviewed by Hugo.

@hugodutka
hugodutka marked this pull request as ready for review June 18, 2026 14:03
@hugodutka
hugodutka requested a review from mafredri June 18, 2026 14:04
@hugodutka
hugodutka merged commit 56eb705 into main Jun 18, 2026
60 of 61 checks passed
@hugodutka
hugodutka deleted the fix-chatd-auto-archive branch June 18, 2026 20:44
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants