Skip to content

Fix: Await Durable Object cleanup scheduling to ensure visible error propagation - #31

Open
mozluk wants to merge 1 commit into
farcasterxyz:mainfrom
mozluk:mozluk-patch-1
Open

Fix: Await Durable Object cleanup scheduling to ensure visible error propagation#31
mozluk wants to merge 1 commit into
farcasterxyz:mainfrom
mozluk:mozluk-patch-1

Conversation

@mozluk

@mozluk mozluk commented Aug 20, 2026

Copy link
Copy Markdown

Description

This PR addresses unhandled asynchronous execution paths within the quick-auth/hono-cloudflare-worker repository.

Vulnerabilities & Security Defects Remediated:

  • Async Failure Handling (src/durable-objects/noncePool.ts): scheduleCleanup() was previously invoked without awaiting its returned promise, potentially masking background failures. The method is now properly awaited so any execution failures remain fully visible to the Durable Object request lifecycle.

…propagation

### Description
This PR addresses unhandled asynchronous execution paths within the `quick-auth/hono-cloudflare-worker` repository.

**Vulnerabilities & Security Defects Remediated:**
* **Async Failure Handling (`src/durable-objects/noncePool.ts`):** `scheduleCleanup()` was previously invoked without awaiting its returned promise, potentially masking background failures. The method is now properly awaited so any execution failures remain fully visible to the Durable Object request lifecycle.
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.

1 participant