Skip to content

Implmeneted the delivery stop#610

Merged
determined-001 merged 1 commit into
determined-001:mainfrom
Nanafancy:Delivery-Stop
Jul 5, 2026
Merged

Implmeneted the delivery stop#610
determined-001 merged 1 commit into
determined-001:mainfrom
Nanafancy:Delivery-Stop

Conversation

@Nanafancy

Copy link
Copy Markdown
Contributor

Linked issue

Closes #374
2.37 — WebhookDelivery.stop()
Complexity: Trivial — 100 Points · type:feature

Milestone: v1.0 hardening

Context
A WebhookDelivery stops when its watcher stops. No independent shutdown path.

Problem
Tests that need to halt a delivery without stopping the watcher have no clean API.

What needs to be done

Add idempotent WebhookDelivery.stop() that clears retry timers and removes the listener.
Key files

packages/pulse-webhooks/src/index.ts.
Done when

After stop(), no further deliveries are attempted.

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Nanafancy is attempting to deploy a commit to the determined's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Nanafancy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@determined-001 determined-001 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR includes a package-lock.json at the root — this project uses pnpm as its package manager, so package-lock.json is not the correct lockfile and should not be committed. Please remove it and resubmit. Also note that WebhookDelivery.stop() for issue #374 has already landed on main; please verify your change adds something beyond what's there.

…termined-001#374)

Rewritten against current main since PR determined-001#610's committed diff did not
parse (dangling type literal, duplicated verifyWebhookRaw bodies) and
its branch predated the RetryQueue/concurrent-delivery-cap refactors.
@determined-001 determined-001 merged commit 985f3c9 into determined-001:main Jul 5, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.37 — WebhookDelivery.stop()

3 participants