Skip to content

fix: preserve source availability through loader cleanup - #76

Merged
TheCryptoDonkey merged 3 commits into
mainfrom
fix/media-origin-fetch-ownership-20261027
Oct 27, 2026
Merged

TheCryptoDonkey merged 3 commits into
mainfrom
fix/media-origin-fetch-ownership-20261027

Conversation

@TheCryptoDonkey

@TheCryptoDonkey TheCryptoDonkey commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

When hls.js synchronously disposes of a completed source loader, FETCH could be withdrawn before retained bytes were advertised with HAVE. Pin the listening room to RelaySwarm b75d71b, which preserves that availability handoff when the key is already known. Unknown keys do not delay playback for another hash.

Refresh the bundle, licence notices, provenance and cache URLs consistently across the room/media helpers and all three entries. Controller, adapter and listener function bodies are unchanged after cache-query normalisation. The committed WASM is unchanged; the transfer worker differs only in its source banner. No new peer-wait policy is included or enabled, and this does not establish traffic savings or smoother playback.

The final source follow-up changes only SDK test instrumentation. Replacing its source reference with the prior pin makes the main bundle and transfer worker byte-identical to the checked runtime; the WASM is unchanged.

Depends on RelaySwarm PR #42, which must merge first.

Validation:

  • Node 24 serial site suite: 371/371 passed; final pin/adapter contracts: 40/40 passed.
  • Build passed; catalogue drift check passed.
  • M4 functional lifecycle: 46 checks passed against the byte-equivalent real module graph with explicit HLS/room/media fixtures; no decoded-playback or device qualification.
  • Independent source/cache/provenance review clear; all owned M4 fixture processes and scratch removed.

@TheCryptoDonkey
TheCryptoDonkey merged commit 6312e7d into main Oct 27, 2026
2 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the fix/media-origin-fetch-ownership-20261027 branch October 27, 2026 14:45
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