mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-05 21:02:34 +01:00
Fix completed-history owner receipts and verified attachment cleanup
Use truthful storage absence receipts for MCP deletion and preserve replay fences. Qualify retained chat controls and provider submissions through their actual owners, retain voice and registration obligations, and bound delivery receipt lookup. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
aaf55692c4
commit
56acdfdffa
31 files changed
+1849
-98
No files matched your search
@@ -9897,6 +9897,11 @@ describe("native warm session supervision", () => {
|
||||
|
||||
it("blocks idle sleep for a released local warm session until its close checkpoint finishes", async () => {
|
||||
await closeIdleWarmNativeSessionsForRestart();
|
||||
const { reconcilePersistedRuntimeServicesOnStartup, readWorkspaceRuntimeIdleWork } = await import("../workspace-runtime.js");
|
||||
// The real server reconstructs the workspace owner before startup can
|
||||
// become quiet. This fixture has no runtime rows or desired services.
|
||||
await reconcilePersistedRuntimeServicesOnStartup(leaseDb());
|
||||
expect(readWorkspaceRuntimeIdleWork()).toBe("none");
|
||||
markIdleIngressTracked(); markIdleStartupComplete({ scheduledBackups: false });
|
||||
let finishClose!: () => void;
|
||||
const checkpoint = new Promise<void>(resolve => { finishClose = resolve; });
|
||||
|
||||
Reference in new issue
Block a user