Repository navigation
[Automated] Draft docs (kagent): feat: wake session quiescence workers after task settlement - #583
Closed
github-actions[bot] wants to merge 2 commits into
Closed
github-actions[bot] wants to merge 2 commits into
github-actions[bot] wants to merge 2 commits into
Conversation
…s after task settlement Signed-off-by: GitHub Action <action@github.com> Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Rachael-Graham
force-pushed
the
pr-tracker-draft-kagent-3074
branch
from
October 12, 2026 21:05
2b97ba4 to
ff6582f
Compare
Name the leader-election difference outright: quiescence claims run on every controller replica, unlike the reconciliation that "Run multiple controller replicas" describes, so the two sections no longer read as a contradiction. Rename the heading to "Recover missed Session pauses" and keep the explicit anchor, lead with what the pause is for before the commit and claim mechanics, and drop "workers" for the four concurrent claims, which collided with Agent Substrate Workers on this same page. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Contributor
|
Closing: kagent-dev/kagent#3074 changes how the controller schedules its internal quiescence workers, and pause and suspend behave the same for users. The new |
Rachael-Graham
approved these changes
Oct 13, 2026
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.
kagent-dev/kagent#3074 — feat: wake session quiescence workers after task settlement
Docs versions:
1.x(first shipped in v1.0.0-alpha10)What changes for users: After a task settlement commits, local controller workers now wake immediately to pause or suspend the Session Actor. Missed wake-ups still recover through
KAGENT_SESSION_QUIESCENCE_POLL_INTERVAL, which defaults to1m; blocked work and database errors retry within one second.What the docs now say: The operational considerations page now explains session quiescence recovery, when
KAGENT_SESSION_QUIESCENCE_POLL_INTERVALmatters, and how to set the variable throughcontroller.env.Not verified: No cluster; the configuration is unrun.
How
kagent-3074was drafted, and what was not verifiedPlan, and what changed it
upgrade-from-0x.mdis migration-specific, whileoperational-considerations.mdowns the affected production behavior; the target pages and dossier diff showed this.operational-considerations.md, leftupgrade-from-0x.mdunchanged, and wrote a feature release-note proposal.Why a documentation change is necessary
The pull request changes how kagent finds settled Session work: local workers wake after a committed settlement, while periodic scans become missed-wake-up recovery. The operational considerations page already tells operators how controller replicas and PostgreSQL affect production behavior, but it did not explain the recovery interval or what happens after a missed signal. Without the update, an operator could tune the interval as though it controlled ordinary settlement latency rather than only recovery.
What changed on disk
docs-site/content/kagent/1.x/operations/operational-considerations.md- addedTune session quiescence recovery, with the wake-up behavior, recovery interval, retry boundary, andcontroller.envexample.How to verify this change
controller.envexample from the page, settingKAGENT_SESSION_QUIESCENCE_POLL_INTERVALto30s.kubectl get deployment -n kagent kagent-controller -o yamland confirm that the controller container hasKAGENT_SESSION_QUIESCENCE_POLL_INTERVAL: 30s.0sand restart the controller. The pod logs should includeKAGENT_SESSION_QUIESCENCE_POLL_INTERVAL must be positive, and the controller should not start.What was not verified
The configuration was not applied to a cluster, so the YAML example and verification commands are unrun.
How the pages were chosen (triage report)
Feature clusters
These clusters look incomplete. Each names a pull request this run never saw, so documenting the cluster as it stands may describe half a feature — the classic failure is a guide telling a reader to set a field that a later change gave a default. Read the absent pull request before drafting:
Draft a documentation change
kagent-dev/kagent#3074 — feat: wake session quiescence workers after task settlement
kagent-dev/websitedocs/architecture/runtime-and-lifecycle.mddocs/env.mdgo/core/internal/service/session/quiescence.gogo/core/internal/service/session/workflow.gogo/core/internal/service/taskstore/service.gogo/core/pkg/app/app.goDraft branch:
pr-tracker-draft-kagent-3074