0.0.27 plan: Noctiluca's video smooth, the browser recoverable¶
Status: published on 2026-11-18 from main at e7fc3d73 (#908's
merge), every crate and rs-rich 0.0.15 on PyPI by one release run
(the release notes); main then opened
0.1.0's versions. Planned on 2026-11-11, after 0.0.26's publication. It is
the point release the 0.0.26 plan (decision 5) puts before
0.1.0, the API review of the plan to 1.0.0's stage 3.
Progress (17 November): sections 1 to 4 are on
claude/next-priority-items-3c5p8e, in one PR. Left before the tag:
890's real cause (only a generic stall restart is in); the real-site¶
checklist;
and Cornacai's real-agent run, which failed on Windows (its .cmd
launcher was not run; fixed in this PR, not yet run on Windows).
18 November: the release-build measurement meets the video's goal: Kitty's frame intervals have a p95 of 44.9 ms and no gap over 120 ms, and no frame blanks its region in any protocol (the findings).
18 November, later: every docs tape is recorded with a release build; the release PR carries the release notes, the real-site check and the changelog's heading. The real-site check reproduced #890 on a busy Twitch channel, and its cause is found and fixed: the player's overlay frame hid the video. Cornacai's real-agent run on Windows is the maintainer's.
Target: about 18 November 2026 (proposed). 0.1.0 then moves to about 25 November; the later dates follow it by the same week.
Decisions¶
The maintainer's calls (2026-11-11):
- The old release path retires now. 0.0.26 was the first release rab
published in full, so
RELEASES.toml,release_cohort.pyandpypi-release.ymlgo (docs/BRANCHING.md, "Which path is current"), andpypi-release.yml's trusted publisher is removed from PyPI. - 0.0.27's scope is what 0.0.26 moved on, plus three things the maintainer saw: video playback that jitters a little and flickers, Amazon still not right, and "the browser has gone" reported at times. The findings (2026-11-11) give their causes.
Open, for the maintainer:
- Chrome's user agent. Headless Chrome announces itself as
HeadlessChrome/153, and nothing overrides it; Amazon's "unsupported client" page (seen in #878's review) fits that. Dropping "Headless" from the user agent is a one-line change, but it is a policy call: Noctiluca would no longer say it is headless.
What is in it¶
1. Video: smooth frames, no flicker¶
From the findings, measured on a debug build (re-measure on release before quoting):
| Fix | Cause it removes | Size |
|---|---|---|
| Upload a Kitty frame's image before the cells that name it | The cells switch to a new image id before it exists, then the old one is deleted: a blank frame where synchronized output is off (737 of 738 frames) | S |
| For an opaque live picture in iTerm2 and Sixel, skip the half-block repaint and the erase | Every frame drew half blocks, erased, then drew the image (all frames) | M |
| Readings off the tab's thread (the reader thread 0.0.26 moved on) | A reading holds the tab for 150 to 230 ms about once a second: every gap of 200 ms or more (19 to 25 in 23.5 s) | L |
| Keep a playing video inside Chrome's view when following Noctiluca's scroll | One row of scrolling can leave the video's top outside Chrome's view, dropping the screencast area: frames fall back to screenshots at 4 to 5 a second for 5 to 20 s | SāM |
| Pace frames from the video's own timestamps | A fixed 33 ms clock gives 24 and 25 fps video an uneven cadence | M |
| Decide frame drops in one place, at the tab | iTerm2 and Sixel drop unevenly (540 frames in, 352 out, a mix of 33 and 66 ms holds) | S |
Done when: on the watch-page fixture, frame intervals in Kitty have a p95 within twice the frame period and no gap over 120 ms outside navigation; no frame blanks its region in any protocol (counted from the trace); and
883's gate still passes 3 of 3 in iTerm2, Kitty and ANSI.¶
2. The browser: recoverable, and said once¶
From the findings: "the browser has gone" means the DevTools connection's thread ended. Chrome exiting is the only cause reproduced; a renderer crash instead freezes the tab silently for 30 s per call.
| Fix | Size |
|---|---|
| Say the cause once (Chrome exited, its connection closed, it did not start), not a toast per command | S |
| Restart Chrome and reopen the page, keeping the tab's history | M |
| A renderer crash fails pending calls at once and offers a reload | M |
| Check a detach event against the page's own session before ending the connection | S |
| End the Chrome left running after the start timeout | S |
| Shorter timeouts for the tab's periodic calls (readings, media state) | S |
3. Amazon and shops¶
From the findings, all generic (no per-site code):
- the user agent, if the maintainer decides so (above);
- the native rating not replacing the stars' picture (the model has "4.5 out of 5 stars"; the cause is not found yet);
- blank rows under a header, and a cookie banner, sponsored labels and a shelf's button taking extra rows;
- a live pass from a network that reaches Amazon, by hand.
4. What 0.0.26 moved on¶
- From the real-site check: #889 (media keys pick a source-less
<video>), #890 (a busy live stream stops drawing), #891 (a live chat log stops taking lines), #892 ({blanks the live log). - #884: Sixel and iTerm2 redraw pictures that only moved on scroll.
- Layout: L2, L6 and L8 of the YouTube audit; stacked toasts overlapping; chat badges drawn as pictures.
- By hand, before the tag: the Cornacai run with a real agent, which 0.0.26 did not record.
5. Releases¶
- The old path's retirement (decision 1), with
scripts/release.pyandscripts/build_versioned_docs.pyreadingrab.yml.
Before the tag¶
- Every fix above with a test that fails without it.
- The real-site checklist again, with the video sites watched for jitter and flicker in a real Kitty or WezTerm and in iTerm2 if one is at hand.
- The Cornacai run with a real agent, recorded in the release notes.
Moves to 0.1.x¶
879 to #882; Cornacai's live agent terminal; Textual's state-driven¶
stylesheet selectors and long tail; the community plugin (#831).
Versions¶
Opened on 2026-11-11 in the commit after 0.0.26's publication notes (#895):
rs-rich-cli 0.0.27, rs-rich 0.0.17, noctiluca 0.0.6, and so on, with
rs-rich 0.0.15 on PyPI. 0.1.0's versions open after 0.0.27's publication.