Skip to content

fix(image): cancel stale H.264 seek repairs - #32

Closed
joaner wants to merge 1 commit into
mainfrom
cursor/bugfix-h264-seek-race-4859
Closed

fix(image): cancel stale H.264 seek repairs#32
joaner wants to merge 1 commit into
mainfrom
cursor/bugfix-h264-seek-race-4859

Conversation

@joaner

@joaner joaner commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Description

Cancel obsolete H.264 seek-repair range queries before they can reset the worker or enqueue frames for an older seek target.

Motivation / related issue

Rapid consecutive rewinds can resolve out of order. An older range query could previously overwrite the decoder state established for the latest seek.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing behavior to change)
  • Documentation update
  • Refactor / internal cleanup (no behavior change)

Checklist

  • npm run lint passes with no errors
  • npm test passes (648 tests)
  • npm run build and npm run build:lib succeed
  • New behavior is covered by tests
  • Documentation updated (README, API.md, EMBEDDING.md) if the public API changed — N/A, no public API change
  • Breaking change: all affected call sites updated and migration path described in PR description — N/A

Additional verification: npm run typecheck and npx playwright test tests/image-h264.spec.ts.

API compatibility

N/A

Screenshots / recordings

N/A — no visual UI change.

Open in Web Open in Cursor 

Co-authored-by: joaner <joaner@users.noreply.github.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
rosview b986bb7 Commit Preview URL

Branch Preview URL
Jul 26 2026, 02:30 PM

@joaner
joaner marked this pull request as ready for review July 26, 2026 14:38
@joaner joaner closed this Jul 26, 2026
@joaner
joaner deleted the cursor/bugfix-h264-seek-race-4859 branch July 26, 2026 14:39
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 participants