All issues

Streaming decoder emits a duplicate frame after backpressure#3023

New issue
Open
NONoor Hassancommented 3w ago

Is your feature request related to a problem?

Streaming decoder emits a duplicate frame after backpressure — today the workflow on sentinel-graph requires an out-of-band step that breaks the editor flow and makes the API harder to type.

Describe the solution you'd like

Migrate the affected surface to follow the same contract as the rest of the toolchain, so composed flows stay consistent and predictable.

Describe alternatives you've considered

  • Keep the current implementation and document the seam.
  • Ship a codemod that rewrites call sites at install time.

However, both would still leave the surface on a different contract from the rest of the stack, and would only delay the cleanup.

Labels: refactor

NOnoor-hassanself-assigned this3w ago
NOnoor-hassanadded the labelrefactor3w ago
NOnoor-hassanadded this to the milestoneQ4 reliability3w ago
NOnoor-hassanadded a commit that references this issuefix(sentinel): wire the new contract for #302355b55783w ago
NOnoor-hassanmentioned this in#30733w ago
NONoor Hassancommented 2w ago

Can confirm the repro on a clean checkout — the failing case is reliable on macOS 15.2 with Node 22.

NONoor Hassancommented 2w ago

Pulled this locally, the workaround in the description is solid. Happy to land it as a follow-up.

NONoor Hassancommented 1w ago

Could we add a regression test before the patch lands? Otherwise this will resurface as soon as the surrounding cleanup happens.

NONoor Hassancommented 1w ago

Bumping priority — three customers hit this last week, two of them on the enterprise tier.

Add a comment

M↓Markdown is supported