Repository navigation
refactor(aiops): unify versioned runtime and dynamic capabilities - #503
Merged
Merged
Conversation
Commit message policyPlease write the PR title and every commit message in English using Conventional Commits, for example See the latest PR checks and open This reminder is posted once per PR. Later failures and fixes only update the checks; this comment is not updated. |
singchia
force-pushed
the
refactor/unified-agent-runtime
branch
from
October 14, 2026 11:22
82b55cb to
2cd3bda
Compare
Remove the blanket 15-second deadline from chat and workflow tools. Preserve explicit operation budgets and caller cancellation, and cover execution beyond the former cutoff with race tests. Refs #523
Align filesystem and shell deadlines across Manager and Edge, allow longer cloud commands and diagnostic skills, and preserve caller cancellation and explicit shorter deadlines. Cover long shell execution and deadline propagation with race tests. Refs #523
Pin new conversations and v3 worker sessions to their execution version. Route persisted versions without fallback and reject conflicting contexts. Preserve unclassified historical sessions until provenance migration and old-runtime adapters are ready. Validate additive migration, routing and worker boundaries with race tests and real Manager/MySQL chat, RCA and flow E2E. Refs #503.
Persist runtime ownership and dispatch approved actions by exact kind/version. Restore the originating context and reject mismatched or lost single-use tool capabilities without fallback. Preserve unversioned records without guessing historical provenance. Validate migration, concurrent registration, exact routing, MCP lifecycle and approval HTTP E2E. Refs #503.
Add runtime selection, on-demand skill snapshots and MCP lifecycle refresh with approval revision checks. Validate search providers atomically and preserve explicit fallback and execution budgets. Verify full isolated backend E2E with race and 16 browser settings scenarios. Record test deployment, rollback and known container full-suite failures.
Integrate #524 and #525 while retaining equivalent v3 timeout handling and its longer-execution and cancellation regression tests. Preserve the v1/v2 release source snapshots instead of applying rename-detected Graph edits to v2. Remove the remaining 15-second coordinator control-tool deadline; retain the explicit AgentTool dispatch budget. Linux runtime race checks including Flow and full isolated backend E2E pass.
…ycles Wire v2 routing, runtime settings and version-owned approvals; mark v1 unsupported. Fix MCP discovery wakeups, preserve built-in agents during reload, and reconcile interrupted workers on restart. Add dynamic capability and dual-runtime E2E coverage with test deployment evidence.
singchia
force-pushed
the
refactor/unified-agent-runtime
branch
from
October 17, 2026 11:55
6767aaf to
d9f24e4
Compare
singchia
marked this pull request as ready for review
October 17, 2026 11:55
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.
Summary
Unify Agent execution around versioned Eino Graph runtimes while retaining chat, delegated workers, approvals, workflows, MCP, skills and built-in tools.
Fixes #498. Refs #499. Design and evidence: RFC-008, RFC-009, PRD-010, docs/test/e2e-catalog.md and docs/test/runtime-v2v3-deploy-20261017-5.md.
Validation
Risk and rollback
Merge is authorized after verification; production deployment remains separate. The test deployment is at https://101.34.63.91/.
Runtime selection changes only new sessions. Keep both v2/v3 engines available for existing sessions and approvals; switching the default is not an old-image rollback. v1 is unsupported. Skill resource leases remain process-local, so stale approvals fail explicitly after restart. Interrupted workers terminate with evidence rather than automatically resuming. Startup reconciliation assumes a single Manager; multi-Manager ownership/leases are not implemented. Chat AgentTool does not expose background=true; background acceptance uses workflow Agent nodes.
Dynamic capability and permission drift remain the principal risks, covered by lifecycle/concurrency tests. Search fallback is opt-in. Current test rollback: python3 /opt/ongrid/test-deploy-20261017-worker-recovery-8/ongrid-deploy8.py rollback restores Manager .7, preserving recorded interruption state. No schema change in the latest deployment; retain compatible runtime ownership columns and never overwrite newer data for an application rollback.
Author confirmation