You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "liuxiaocs7 (via GitHub)" <gi...@apache.org> on 2026/09/07 16:18:19 UTC

[PR] fix(runtime-host): allow archiving stopped agent graphs [maka]

liuxiaocs7 opened a new pull request, #4996:
URL: https://github.com/apache/maka/pull/4996

   ## Summary
   
   Allow Session retirement when its durable Agent Graph remains open but is quiescent in `stopped` or `failed` state.
   
   The Graph's general live-state semantics remain unchanged so stopped graphs can still be recovered or resumed. Retirement now uses a dedicated disposition:
   
   - absent, empty, or completed: clear
   - stopped or failed: quiescent and eligible for retirement
   - active, waiting, or closing: busy
   
   An active Agent Graph supervisor wake continues to block retirement.
   
   Fixes #4995
   
   ## Verification
   
   - `npm run build`
   - `npm run lint`
   - `npm run format:check`
   - `npm run typecheck`
   - `npx knip --workspace apps/desktop`
   - `npx knip --workspace packages/ui`
   - `node --test packages/runtime/dist/__tests__/stream-graph-coordinator.test.js` (14 passed)
   - `node --test packages/runtime-host/dist/__tests__/session-retirement-coordinator.test.js` (27 passed)
   
   ## AI use
   
   Select exactly one:
   
   - [ ] No generative tool made a substantive contribution
   - [x] Generative tooling made a substantive contribution
   
   Tool(s) and scope: Codex diagnosed the failure, implemented the retirement-state classification and regression tests, and assisted with verification and PR preparation. The commit includes a `Generated-by: Codex` trailer.
   
   ## Checklist
   
   - [x] Tests cover the change and fail without it
   - [x] Lint, format, typecheck and the affected suites pass locally
   
   Does this PR entail a change in behavior?
   
   - [x] Yes — described under Summary above
   - [ ] No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] fix(runtime-host): allow archiving stopped agent graphs [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks merged PR #4996:
URL: https://github.com/apache/maka/pull/4996


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org