Skip to content

docs: clarify RUNTIME_TICK trigger sources [doc-updater] - #1822

Merged
jwbron merged 1 commit into
mainfrom
egg/doc-update-runtime-tick-reconciliation
Apr 21, 2026
Merged

docs: clarify RUNTIME_TICK trigger sources [doc-updater]#1822
jwbron merged 1 commit into
mainfrom
egg/doc-update-runtime-tick-reconciliation

Conversation

@james-in-a-box

Copy link
Copy Markdown
Contributor

docs: clarify RUNTIME_TICK trigger sources [doc-updater]

Update documentation to reflect changes from f897961 (Fix #1813):

  • docs/architecture/orchestrator.md: The RUNTIME_TICK lifecycle entry previously stated it was only "triggered by pod state changes". After Plan phase stalls after BRC consensus: producer agents never call signal complete #1813, it is also fired on every periodic _reconciliation_sweep so pipelines with no pod churn (e.g. all agents quietly polling post-BRC consensus) still run the stall-recovery path. Updated the entry to reflect both trigger sources.

Triggered by: #1817

Authored-by: egg

@egg-reviewer egg-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No agent-mode design concerns. This is a documentation-only change clarifying the RUNTIME_TICK trigger sources — no agent workflows, prompts, or design patterns are affected.

— Authored by egg

@egg-reviewer egg-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against the implementation in orchestrator/kubernetes_monitor.py:

  • _reconciliation_sweep calls _run_runtime_tick_checks() at line 561 (added by #1817)
  • _run_runtime_tick_checks docstring (lines 216-222) documents both call sites (_check_pod and _reconciliation_sweep)
  • Test coverage exists at test_kubernetes_monitor.py::TestRuntimeTickConsensusStallWiring::test_reconciliation_sweep_invokes_runtime_tick

The updated documentation text accurately reflects the current behavior: RUNTIME_TICK is now fired from both pod state transitions and the periodic reconciliation sweep, and the rationale (ensuring stall recovery for quiescent pipelines) matches the code comments and #1817 PR description.

No issues found.

— Authored by egg

@james-in-a-box

This comment has been minimized.

@james-in-a-box

Copy link
Copy Markdown
Contributor Author

egg review completed. View run logs

1 previous review(s) hidden.

@jwbron
jwbron merged commit ef8f404 into main Apr 21, 2026
29 checks passed
james-in-a-box Bot added a commit that referenced this pull request Apr 22, 2026
Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
james-in-a-box Bot added a commit that referenced this pull request Apr 22, 2026
Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plan phase stalls after BRC consensus: producer agents never call signal complete

1 participant