Repository navigation
[S6] Add an opt-in activation facade with explicit lifetime ownership - #150
Conversation
Compose the existing shared lifecycle behind a small activation handle. Preserve deferred startup, own cleanup and late subscriptions, and document inherited lifecycle limits with focused runtime and public API checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 85ef72cc-9e26-4bc4-b1c3-55256d9bef91
|
🔒 Automated review in progress — Bill Schnurr (@bschnurr) is auto-reviewing this PR. |
|
Reviewed commit: Result: 🔴 Verification detailsVerification: Automated verification is best effort. The PR author remains responsible for testing. Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: C:\Program Files\RedHat\Podman\podman.EXE --connection pyrx-automation failed: stderr: Error: unable to start container "a343c55b76e8af1c167e571d1ba435fb0d4bb631547ebff3ec0bbc782ee14acd": crun: open `memory.max` for writing: No such file or directory: OCI runtime attempted to invoke a command that was not found Test runs: none recorded. |
Bill Schnurr (bschnurr)
left a comment
There was a problem hiding this comment.
Approved via Review Center.
85155e2
into
main
Summary
Closes #149.
activateToolExtension(context, { serverInfo, toolConfig })and a smallToolExtensionRuntimewith awaitable, idempotentdeactivate(); accept legacyToolConfigand structurally compatible typed definitions.Validation
On pinned Node 24.17.0:
npm run buildpassed.npm test -- --reporter dot: 169 passing (161 existing + 8 focused facade cases), including real shared-helper manual/facade comparisons with external APIs mocked. Pretest compiles source-entry type assertions.npm run lint: zero errors; two existing unused-disable warnings invscodeapi.ts.git diff --checkpassed; no broad baseline reformat.Boundaries
This is not a restart scheduler rewrite: shutdown does not drain every in-flight start/retry, and unresolved initialization can delay cleanup. Logger/status remain module-global. No native VS Code or consumer-extension validation is claimed. No hooks, consumer migrations, Python, wire fixtures, dependency/version/identity, or layout changes.