Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

provider-http: SSE id-only reset not applied to Last-Event-ID

Closed Beginner friendly
#99 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
api

Research direction

Start in packages/provider-http/src/channels.ts around lines 222–223 and read how event frames update lastEventId; then locate the provider-http tests for these channels. Add coverage for id-only updates and empty-id resets, and run the relevant package tests. Done means the reconnect header reflects id-only updates and is omitted after an empty reset.

Written by the indexing model from the issue text.

Description

area:holodeck review-finding

From the PR #89 GPT review. In packages/provider-http/src/channels.ts:222-223, lastEventId is only updated inside onEvent, which runs only for frames that carry data. A frame with just id: (no data) is ignored. Scenario: the server sends id: 41 with data, then an empty id: to reset the cursor; on reconnect the client still sends Last-Event-ID: 41, and a server that has invalidated old cursors keeps rejecting the reconnect. Fix: update the id whenever a frame has an id field, even without data, as the WHATWG event-stream spec says; leave the header out after an empty reset; add tests for id-only updates and resets.

🤖 Generated with Claude Code

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
10h 39m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hyperdrive-technology/holodeck

All issues in hyperdrive-technology/holodeck

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.