Skip to content

Surface Nexus endpoint cleanup failures - #2283

Draft
THardy98 wants to merge 1 commit into
mainfrom
agent/nexus-endpoint-cleanup
Draft

Surface Nexus endpoint cleanup failures#2283
THardy98 wants to merge 1 commit into
mainfrom
agent/nexus-endpoint-cleanup

Conversation

@THardy98

@THardy98 THardy98 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

The Nexus test helper currently catches and discards every endpoint-deletion error during AVA teardown. That is mostly hidden by ephemeral dev servers, but it would leak endpoints on a persistent server when deletion fails because of permissions, transport errors, or version conflicts.

This change makes teardown fail for every deletion error except NOT_FOUND, which preserves idempotency for tests that explicitly deleted the endpoint before their registered teardown runs. No Nexus test is enabled against Cloud by this PR; it establishes the cleanup guarantee required before privileged Cloud coverage can be considered.

Focused AVA coverage verifies both propagated deletion failures and tolerated already-deleted endpoints. Prettier and ESLint pass. The package TypeScript build reaches only the unrelated ActivityExecutionStatus.PAUSED errors present in this worktree's advanced sdk-core submodule.

Part of temporalio/features#851.

@THardy98 THardy98 added the skip-changelog No changelog is necessary for this PR. label Aug 3, 2026 — with ChatGPT Codex Connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog No changelog is necessary for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant