GeezerVison is showing github.com — mcpx: declare session_kill alongside session_release (#1931 slice 2) by dezren39 · Pull Request #14246 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes nothing; #1931 stays open for force-detach, resume, self-management and prompt-routing slices.
Summary
session_kill declared in the ops table, with CLI, /v1, MCP and plugin parity (parity.md, ops.gen.ts regenerated).
- Release detaches the caller and stops only idle owned instances. Kill force-ends every owned instance, including held ones.
- Unknown handle returns a typed 404.
- Declared Admin + Mutating + Destructive, so the MCP destructive hint and confirmation gate apply.
Tests
go test ./internal/api ./internal/pool ./internal/daemon ./internal/cli ./internal/mcpserver -count=1 pass.
- New tests pass with
-race -count=3/5.
internal/refdoc TestCommittedRegionsAreCurrent fails on clean main too (stale public-client.md region from unmerged refdoc work), so it is not caused by this PR.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T09:37:30Z",
"session_id": "ses_e5df337714effeSpg7BYTuFINH",
"lane": null,
"host": "amd",
"worktree": "/home/user/.local/share/opencode/tmp/opencode/22381/wt",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/.local/share/opencode/tmp/opencode/22381/wt",
"repo": "developing-today/code",
"branch": "queue/22381-1931-session-kill",
"sha": "bd439d04a3bc177fe2e3a6611c099fdad9b742ae"
},
"auth_subject": "oc-code-02",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Kill force-ends every owned instance for a caller-session handle, even
when held. Release keeps detaching without ending. Unknown handles are a
typed 404. Declared Admin, Mutating, Destructive so the shared
destructive confirmation gate applies. Parity regenerated.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 58 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4eb5b091-3b9b-48ea-8ede-239a0b152a1e
Commits
-
Reviewing files that changed from the base of the PR and between 08715cb and bd439d0.
Files selected for processing: 10
-
pkgs/mcpx/docs/parity.md
pkgs/mcpx/internal/api/ops.go
pkgs/mcpx/internal/cli/client.go
pkgs/mcpx/internal/daemon/registry.go
pkgs/mcpx/internal/daemon/routes_sessions.go
pkgs/mcpx/internal/daemon/server.go
pkgs/mcpx/internal/daemon/session_kill_test.go
pkgs/mcpx/internal/pool/pool.go
pkgs/mcpx/internal/pool/session_kill_test.go
pkgs/mcpx/plugin/core/ops.gen.ts
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Merge-watch recheck (queue task 23993, coverage reconciliation #4951): mergibility re-tested against current main — mergeable=true, merge_state=clean, head bd439d0, 10 files +261/-7. Not superseded: code search on main before merge returned 0 session_kill hits; the PR diff is unique. Checks: CodeRabbit + Proof skipping only, no failures; no reviews, sole comment was a CodeRabbit rate-limit notice (no findings to disposition). PR body records go test ./internal/api ./internal/pool ./internal/daemon ./internal/cli ./internal/mcpserver pass (plus -race runs); the internal/refdoc failure was noted as pre-existing on clean main. Fleet Actions exec dispatch from the sandbox failed with a certificate UnknownIssuer error, so verification route was repo CI on main post-merge (CI runs on main only). Merged under standing merge authority: merge commit e33991f at 2026-11-26T13:36:56Z. Closing disposition verified: PR closes nothing — issue #1931 remains OPEN for its remaining slices, as intended. Main now contains session_kill (verified in pkgs/mcpx/internal/api/ops.go on main); main CI runs for the merge commit were queued at check time.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|