Repository navigation
feat(compose): PLTF-3689 clean up stale conversation start tasks - #879
Merged
aivong-openhands merged 2 commits intoOct 20, 2026
Merged
Conversation
…the worker Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Contributor
Author
Validation: Docker Compose stack, scheduled start-task cleanupTested Result: pass. The Compose worker registers the start-task cleanup on its daily schedule. When the job runs, it deletes start-task rows older than a day and keeps newer ones. Setup
What I checked
This comment was drafted by an AI agent on behalf of the user. |
aivong-openhands
marked this pull request as ready for review
October 19, 2026 23:01
Contributor
1 of 6 tasks
dylan-openhands
approved these changes
Oct 19, 2026
2 of 6 tasks
aivong-openhands
deleted the
pltf-3689-compose-app-conversation-start-task-clean
branch
October 20, 2026 14:22
Contributor
|
🚀 Released in 1.74.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
AGENT:
Why
Docker Compose installs have no Kubernetes CronJobs, so nothing deletes old
app_conversation_start_taskrows there and the table grows without limit. #874 made that cleanup a worker task that stays off until enabled. This PR turns it on for the Composeworker, which now deletes rows older than a day, daily at 03:00 UTC. Kubernetes installs don't read this file, so their CronJob stays the only thing that runs the cleanup there.Summary
OH_WORKER_SCHEDULED_JOBS_APP_CONVERSATION_START_TASK_CLEAN=trueon the Composeworkerservice.Issue Number
None.
How to Test
docker compose up --build: the worker started on thedefaultandscheduled_jobsqueues and registeredscheduled_jobs:app_conversation_start_task_cleanat0 3 * * *.succeeded.Video/Screenshots
N/A. No UI change.
Type
Notes
None.
This PR was drafted by an AI agent on behalf of the user.
@aivong-openhands can click here to continue refining the PR
Enterprise server image for this PR: