Skip to content

Commit d0837cb

Browse files
MajorTalclaude
andcommitted
fix: remove stale mcp-hello delete assertion (#41)
bundle_deploy's stale function cleanup already deletes mcp-hello (not in the bundle manifest). Trying to delete it again returns 404. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c6301ee commit d0837cb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

mcp-integration.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,8 @@ describe("MCP integration (live API, no mocks)", { timeout: 180_000 }, () => {
247247
it("cleanup — delete functions", async () => {
248248
const { handleDeleteFunction } = await import("./src/tools/delete-function.js");
249249

250-
const r1 = await handleDeleteFunction({ project_id: projectId, name: "mcp-hello" });
251-
assert.equal(r1.isError, undefined, `Expected no error deleting mcp-hello: ${text(r1)}`);
252-
250+
// mcp-hello is already deleted by bundle_deploy's stale function cleanup
251+
// (bundle deploy removes functions not in the manifest), so skip it here.
253252
const r2 = await handleDeleteFunction({ project_id: projectId, name: "mcp-bundle-fn" });
254253
assert.equal(r2.isError, undefined, `Expected no error deleting mcp-bundle-fn: ${text(r2)}`);
255254
});

0 commit comments

Comments
 (0)