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
[DOCS] Task retention now applied, QUEUE_CLEANUP_INTERVAL deprecated #802
The Go ADK now actually applies the TASK_RETENTION_* settings, and QUEUE_CLEANUP_INTERVAL no longer purges finished tasks (it is deprecated and unused).
Previously every completed/failed/cancelled task was deleted on each QUEUE_CLEANUP_INTERVAL tick (default 120s), regardless of TASK_RETENTION_MAX_COMPLETED_TASKS / TASK_RETENTION_MAX_FAILED_TASKS. Finished tasks are now retained per the retention limits and trimmed every TASK_RETENTION_CLEANUP_INTERVAL (default 5m).
Any ADK / A2A server configuration reference listing QUEUE_CLEANUP_INTERVAL (mark deprecated and unused)
Task management / task retention docs describing how long completed and failed tasks are kept
Acceptance Criteria
QUEUE_CLEANUP_INTERVAL documented as deprecated and unused
Task retention docs state that finished tasks are trimmed by TASK_RETENTION_MAX_COMPLETED_TASKS / TASK_RETENTION_MAX_FAILED_TASKS every TASK_RETENTION_CLEANUP_INTERVAL
Gather context (only adk.md documents these vars; QUEUE_CLEANUP_INTERVAL was undocumented)
Mark QUEUE_CLEANUP_INTERVAL deprecated and unused
Add a Task retention section under Storage backends
Validate (bun run format, bun run lint:md, bun run build - all pass)
Commit + open PR
Changes (adk.md)
New Task retention subsection under [Storage backends]: table for TASK_RETENTION_MAX_COMPLETED_TASKS (100), TASK_RETENTION_MAX_FAILED_TASKS (50), TASK_RETENTION_CLEANUP_INTERVAL (5m), and a paragraph on the per-tick trim of the oldest finished tasks beyond each cap.
QUEUE_CLEANUP_INTERVAL documented as deprecated and unused, with what it used to do (purged every finished task each 120s tick, ignoring the caps) and a note that it can be removed from config.
Configuration reference line now links to the new section instead of restating the retention defaults.
Only the Go ADK page needed changes - the Rust/TypeScript ADK pages document a different A2A_QUEUE_* set with no cleanup or retention vars.
Activity
edenreich commentedon Sep 26, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Sep 26, 2026
Claude finished @edenreich's task in 2m 19s —— View job •
docs/issue-802-20260926-0042• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-802-20260926-0042?quick_pull=1&title=Issue%20%23802%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23802%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #805
adk.mddocuments these vars;QUEUE_CLEANUP_INTERVALwas undocumented)QUEUE_CLEANUP_INTERVALdeprecated and unusedbun run format,bun run lint:md,bun run build- all pass)Changes (
adk.md)TASK_RETENTION_MAX_COMPLETED_TASKS(100),TASK_RETENTION_MAX_FAILED_TASKS(50),TASK_RETENTION_CLEANUP_INTERVAL(5m), and a paragraph on the per-tick trim of the oldest finished tasks beyond each cap.QUEUE_CLEANUP_INTERVALdocumented as deprecated and unused, with what it used to do (purged every finished task each120stick, ignoring the caps) and a note that it can be removed from config.Only the Go ADK page needed changes - the Rust/TypeScript ADK pages document a different
A2A_QUEUE_*set with no cleanup or retention vars.Create a PR - already opened: #805
| Branch
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.9.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀