mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 13:24:55 +01:00
Merge master into the preserved catalog integration candidate
Preserve the frozen catalog and its historical qualification separately. Keep current supervisor ownership, installed-artifact and recovery controls, the shipped TestOps cell, and the historical OpenCode candidate's exact model. Production source matches master f2db909393. Focused support checks: 218 passed; full catalog typecheck passed.
This commit is contained in:
commit
b1e3950e6d
2439 files changed
+294354
-92774
No files matched your search
@@ -103,3 +103,13 @@ it.each([
|
||||
await expect(new RunnerApi({} as APIRequestContext).getRunObservation(endpoint)).rejects.toThrow("allowlisted same-origin GET");
|
||||
expect(fetcher).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it.each([200, 204, 404, 409])("forwards the cleanup request timeout and preserves DELETE status %s", async status => {
|
||||
vi.stubEnv("PAPERCLIP_RUNNER_E2E_PORT", "3100");
|
||||
const remove = vi.fn(async () => response(status));
|
||||
const api = new RunnerApi({ delete: remove } as unknown as APIRequestContext);
|
||||
const result = api.delete("/api/environments/environment", { allowNotFound: true, timeout: 500 });
|
||||
if (status === 409) await expect(result).rejects.toThrow("409");
|
||||
else await expect(result).resolves.toBeUndefined();
|
||||
expect(remove).toHaveBeenCalledExactlyOnceWith("/api/environments/environment", { timeout: 500 });
|
||||
});
|
||||
Reference in new issue
Block a user