Commit Graph
801 Commits
Author SHA1 Message Date
thePR0M3TH3AN f2a392fa3b Merge branch 'unstable' into area/client-reliability 2026-10-20 09:44:06 -04:00
thePR0M3TH3AN 2a5ba463c4 dispatch-2: record parallel pickups, outputs and resource interventions 2026-10-20 09:42:28 -04:00
thePR0M3TH3AN 4c7a897ce3 dispatch-2 storage-cors-1: route independently reproduced CORS preservation fix 2026-10-20 09:40:26 -04:00
thePR0M3TH3AN 12f927321f fix: stop orphaned URL mirror continuation (client-reliability-5) 2026-10-20 09:37:04 -04:00
thePR0M3TH3AN f3c0ffd3ba dispatch-2 client-reliability-5: route reproduced orphan mirror guard; record trial intervention 2026-10-20 09:32:10 -04:00
thePR0M3TH3AN 140618f88f docs: record client-reliability-5 active URL continuation reproduction 2026-10-20 09:31:03 -04:00
thePR0M3TH3AN 47953970ec dispatch-2 storage-cors-1 playback-qa-1: staff approved bounded parallel trial 2026-10-20 09:26:20 -04:00
thePR0M3TH3AN 8c80ae2027 dispatch-2 client-reliability-5: continue bounded active probe investigation 2026-10-20 09:20:23 -04:00
thePR0M3TH3AN 320a992249 Merge branch 'unstable' into area/dispatch 2026-10-19 23:30:10 -04:00
thePR0M3TH3AN aef4501c4c dispatch-2 client-reliability-4: verify URL fix landing and refresh preview 2026-10-19 23:30:07 -04:00
thePR0M3TH3AN 374a8aff91 docs: close client-reliability-4 after verified normal landing 2026-10-19 23:29:16 -04:00
thePR0M3TH3AN 7055496b30 docs: record client-reliability-4 merged-tree validation 2026-10-19 23:23:16 -04:00
thePR0M3TH3AN ce1381f500 fix: cancel orphaned queued URL media probes (client-reliability-4) 2026-10-19 23:17:03 -04:00
thePR0M3TH3AN d9bd2df6e8 Merge branch 'unstable' into area/client-reliability 2026-10-19 23:10:17 -04:00
thePR0M3TH3AN 77d486fb56 docs: record client-reliability-4 URL queue reproduction 2026-10-19 23:10:15 -04:00
thePR0M3TH3AN 434d6a9559 client-reliability-4 dispatch-2: route reproduced queued URL cancellation fix 2026-10-19 23:09:14 -04:00
thePR0M3TH3AN 967448caea client-reliability-4 dispatch-2: route bounded source-health cancellation investigation 2026-10-19 23:05:13 -04:00
thePR0M3TH3AN fe3a6a83af Merge branch 'unstable' into area/dispatch 2026-10-19 22:59:35 -04:00
thePR0M3TH3AN 6cd77767e1 dispatch-2 client-reliability-3: verify normal landing and refresh owner preview 2026-10-19 22:59:33 -04:00
thePR0M3TH3AN 6d4ed9200c fleet init 2026-10-19 22:57:58 -04:00
thePR0M3TH3AN b815446a52 client-reliability-3: close verified landed lifecycle fix and record dispatch handoff 2026-10-19 18:14:53 -04:00
thePR0M3TH3AN e522efc191 client-reliability-3: record full 426-file and native browser validation 2026-10-19 18:08:49 -04:00
thePR0M3TH3AN 712b05cf87 client-reliability-3: cancel queued torrent probes after last card owner disposes 2026-10-19 17:56:25 -04:00
thePR0M3TH3AN 03766d39ef dispatch-2 client-reliability-3: verify landings and route reproduced obsolete probe bug 2026-10-19 17:47:47 -04:00
thePR0M3TH3AN cee4962166 client-reliability-1 client-reliability-2: close verified landed items 2026-10-19 16:35:21 -04:00
thePR0M3TH3AN 683cedf0bf client-reliability-1 client-reliability-2: record full 425-file validation and unblock landing 2026-10-19 16:29:08 -04:00
thePR0M3TH3AN 181eae95d9 client-reliability-2: make concurrent-init test hermetic and close feed transport 2026-10-19 16:22:57 -04:00
thePR0M3TH3AN 3968a97922 Merge branch 'unstable' into area/client-reliability 2026-10-19 16:20:34 -04:00
thePR0M3TH3AN 16f6dca41e dispatch-2 client-reliability-2: route retained relay cleanup to existing worker 2026-10-19 16:20:10 -04:00
thePR0M3TH3AN 6da037f59b client-reliability-1: record checked fix and newly exposed full-gate blocker 2026-10-19 16:13:49 -04:00
thePR0M3TH3AN d02240786d Merge branch 'unstable' into area/client-reliability 2026-10-19 16:07:49 -04:00
thePR0M3TH3AN c3fee19059 client-reliability-1: bound modal fixture style work with native focus contract 2026-10-19 16:07:36 -04:00
thePR0M3TH3AN f303ab0e72 dispatch-2: record verified worker launch and preserved local preview 2026-10-19 16:03:01 -04:00
thePR0M3TH3AN 3514c0570d dispatch-2: register approved client-reliability worker and scoped bootstrap gate decision 2026-10-19 16:01:10 -04:00
thePR0M3TH3AN 8b204687d2 dispatch-1: record verified startup landing and close preparation 2026-10-19 15:52:32 -04:00
thePR0M3TH3AN 386cf14bbe dispatch-1: record fleet goal, baseline, and first worker proposal 2026-10-19 15:52:05 -04:00
thePR0M3TH3AN d90591163f chore: initialize Codex agent fleet on unstable 2026-10-19 15:41:55 -04:00
thePR0M3TH3ANandClaude Fable 5 911afb1c05 Split AGENTS.md reference sections into docs/; keep thin agent constitution
Extracts Playwright harness tables and Dark Factory testing standard to
docs/testing/, and dated incident writeups to docs/lessons/, bringing
AGENTS.md under the 32KiB context budget agent harnesses eagerly load.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-12 15:20:08 -04:00
thePR0M3TH3ANandClaude Opus 5 4404728410 [playback] Add HLS support and stop blaming stale MediaErrors
bitvid attached every hosted source with `videoEl.src = url`, which only plays
HLS on Safari-family browsers. Firefox 146 fails with MEDIA_ERR_SRC_NOT_SUPPORTED
(canPlayType returns ""), so every .m3u8 note -- e.g. anything published by
nostube/slidestr -- was unplayable there and the URL-health badge showed
"offline". Chrome/Brave 149 happen to play HLS natively, which is why this
looked browser-specific.

Vendor hls.js (npm run build:hls) and route HLS sources through it:

- js/services/hlsPlayback.js owns detection, engine choice and the hls.js
  lifecycle. Engine choice keys off MediaSource, NOT canPlayType: Chrome
  returns "maybe" for every HLS type, so a native-first branch would hang.
  Native is used only when MSE is genuinely unavailable.
- The bundle is the FULL build, not hls.js/light -- light drops the alternate
  audio stream controller and real ladders demux audio into an EXT-X-MEDIA
  group. It is lazy-imported only when a .m3u8 is encountered, so ordinary
  MP4/WebTorrent playback never pays the ~500KB.
- modalCoordinator tears the instance down first; clearing `src` alone leaves
  the transmuxing worker and segment fetches running after the modal closes.
- urlHealthController probes HLS by fetching the playlist for #EXTM3U. The old
  bare-<video> probe could not load it and on Chrome emitted no events at all,
  burning the full timeout on every HLS card.
- HLS_PLAYBACK_START_TIMEOUT widens the 3s start window, which fired
  mid-startup: the bundle, master playlist, variant playlist, init segment and
  first media segment are four-plus serial round trips.

Also fixes two bugs found while verifying this:

- A stale MediaError was reported as the current failure. Teardown clears `src`
  and calls load(), leaving MEDIA_ERR_SRC_NOT_SUPPORTED ("Empty src attribute")
  on the element; a later watchdog fallback rendered that as "Hosted playback
  failed: source not supported or blocked." over a stream that was playing
  fine. Only a MediaError produced by the current attempt is surfaced now.
  Sources are also bound before the watchdogs are armed, so hls.js's own
  attachMedia() src swap cannot read as a playback failure.
- `audio/x-mpegurl` is a legacy alias for an HLS playlist of any kind, not an
  audio-only assertion. isAudioOnlyVideoObject misfiled HLS video ladders
  published with it as podcasts and dropped them from every video feed.

Verified end-to-end in Chromium, Chrome 149, Brave 149 and Firefox 146 against
a live HLS stream: Firefox goes from "No playable source found." to playing.
Rollback: stop calling attachHlsSource() and the previous `src` assignment
returns; see docs/playback-fallback.md.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-07-28 13:58:55 -04:00
thePR0M3TH3AN 726c0d26ed Update performance plan progress 2026-07-26 18:41:34 -04:00
thePR0M3TH3AN 687f8c438d Optimize feed lifecycle and navigation rendering 2026-07-26 18:27:57 -04:00
thePR0M3TH3AN 2c4aefe872 Document channel follower count scope 2026-07-26 17:59:50 -04:00
thePR0M3TH3AN 5f439d6863 Lazy-load recommendation indexes 2026-07-26 17:59:45 -04:00
thePR0M3TH3AN fe976b3ab7 Harden Nostr startup performance 2026-07-26 17:20:52 -04:00
thePR0M3TH3AN 4525c1c657 Improve moderation restoration and mobile card actions 2026-07-26 15:35:20 -04:00
thePR0M3TH3AN 98c623c85a Promote beta to main: trust controls and hardened BitLogin 2026-07-25 22:48:54 -04:00
thePR0M3TH3AN 18e08bf2cb feat: refine trust controls and harden BitLogin 2026-07-25 22:25:50 -04:00
thePR0M3TH3AN 126a613527 docs: link BitUnlock permission layer plan 2026-07-23 21:32:59 -04:00
thePR0M3TH3AN f49080558b docs: add BitUnlock permission layer plan 2026-07-23 21:31:57 -04:00
thePR0M3TH3ANandClaude Opus 4.8 bff716948d ci(nsite): cut a GitHub Release with the site archive on main pushes
Add a `release` job (main only, contents: write) that builds the archive
and publishes it as an immutable GitHub Release tagged
site-<date>-<shortsha>, marked --latest, with bitvid-site.zip attached.
This gives a stable download URL for the current production archive:
  https://github.com/PR0M3TH3AN/bitvid/releases/latest/download/bitvid-site.zip

Re-runs of the same commit refresh the asset instead of failing. The
Release holds only the public compiled dist/ (same as Vercel serves) and
no Nostr signing key — publishing to nsite stays a manual, client-signed
step. Per-branch artifact upload is unchanged. Docs updated.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DwbE3uTiFaKRNjx5vP2muV
2026-07-14 09:35:50 -04:00