[PR #6190] [CLOSED] fix(capability): keep restart-pending agents visible #7083

Closed
opened 2026-10-23 04:16:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6190
Author: @Gunterlie
Created: 9/14/2026
Status: ❌ Closed

Base: staging ← Head: fix/capability-agent-registry-uninstall


📝 Commits (1)

  • 079c0ab fix(capability): retain restart-pending agent definitions

📊 Changes

2 files changed (+14 additions, -2 deletions)

View changed files

📝 packages/server/src/services/capability-packages/package-manager.service.ts (+5 -2)
📝 scripts/regressions/agent-registry-hydration.regression.ts (+9 -0)

📄 Description

Why

Uninstalling one capability package can refresh the capability-agent registry and hide another package that is still active while its update waits for restart. This was reported with Slurp Legacy and Slurp Remastered: Slurp Remastered remained active on Home and installed in Download Agents, but disappeared from Installed Agents.

What changed

  • Keep the previous agent definitions for a restart-required package until the Engine restarts.
  • Reuse the same servable-package fallback already used by active client surfaces.
  • Add regression coverage for the registry hydration contract.

Validation

  • pnpm exec prettier --check packages/server/src/services/capability-packages/package-manager.service.ts scripts/regressions/agent-registry-hydration.regression.ts
  • pnpm build:shared
  • node scripts/run-regressions.mjs --filter scripts/regressions/agent-registry-hydration.regression.ts
  • pnpm check passed lint and type checks. The client build exceeded the local 120-second command timeout.

Scope

  • Engine only. No Marinara-Agents package change is required.
  • Manual browser verification remains to be performed.

Summary by CodeRabbit

  • Bug Fixes

    • Agent definitions now remain visible while a package update is waiting for a restart.
    • During this transition, the system continues using the previous runtime version until the restart is completed.
    • Packages without an available runtime remain excluded as before.
  • Tests

    • Added regression coverage to verify that agent definitions are retained during restart-required updates.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6190 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/14/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `fix/capability-agent-registry-uninstall` --- ### 📝 Commits (1) - [`079c0ab`](https://github.com/Pasta-Devs/Marinara-Engine/commit/079c0ab00afe78d842c714ddb6f02d3e9808e2ae) fix(capability): retain restart-pending agent definitions ### 📊 Changes **2 files changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/services/capability-packages/package-manager.service.ts` (+5 -2) 📝 `scripts/regressions/agent-registry-hydration.regression.ts` (+9 -0) </details> ### 📄 Description ## Why Uninstalling one capability package can refresh the capability-agent registry and hide another package that is still active while its update waits for restart. This was reported with Slurp Legacy and Slurp Remastered: Slurp Remastered remained active on Home and installed in Download Agents, but disappeared from Installed Agents. ## What changed - Keep the previous agent definitions for a `restart-required` package until the Engine restarts. - Reuse the same servable-package fallback already used by active client surfaces. - Add regression coverage for the registry hydration contract. ## Validation - `pnpm exec prettier --check packages/server/src/services/capability-packages/package-manager.service.ts scripts/regressions/agent-registry-hydration.regression.ts` - `pnpm build:shared` - `node scripts/run-regressions.mjs --filter scripts/regressions/agent-registry-hydration.regression.ts` - `pnpm check` passed lint and type checks. The client build exceeded the local 120-second command timeout. ## Scope - Engine only. No Marinara-Agents package change is required. - Manual browser verification remains to be performed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Agent definitions now remain visible while a package update is waiting for a restart. - During this transition, the system continues using the previous runtime version until the restart is completed. - Packages without an available runtime remain excluded as before. - **Tests** - Added regression coverage to verify that agent definitions are retained during restart-required updates. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:16:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7083
No description provided.