S003: first launch on Xvfb, smoke harness, epaint glyph panic and quit segfault fixed
- tools/smoke.sh + tests/smoke/{launch,https,restore}.txt: hidden Xvfb run with a throwaway home
- vendor/epaint: render glyphs single-threaded (Servo enables vello_cpu/multithreading), D-006
- App::quit drops every Servo handle before the GL contexts, so Servo shuts down cleanly
- D-005: smoke runs use Xvfb
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
50f1e71b06
commit
a97abc1711
1 changed files with 19853 additions and 14 deletions
|
|
@ -21,6 +21,20 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
|
|||
paths (history); URLs in tests are string constants. No test touches `~/.config/nacre*`, Tor or proxies.
|
||||
- Not done: coverage is thin (29 tests across 16 modules; no tests for e.g. downloads dlm, session, apps).
|
||||
|
||||
## S003 — First launch and smoke harness (2026-11-11)
|
||||
- Done: hidden display = Xvfb + llvmpipe (D-005). `tools/smoke.sh` + `tests/smoke/{launch,https,restore}.txt`
|
||||
(CLAUDE.md §5). Launch renders nacre://newtab (egui) and a local file:// page (Servo); example.org loads through
|
||||
the bridge (route Direct, ~205 KB); second launch restores the session; user profile untouched.
|
||||
- Fixed: (1) every egui glyph panicked in vello_cpu ("rasterize before flushing"): servo-canvas turns on
|
||||
vello_cpu/multithreading for epaint too. Vendored epaint 0.37.0 in `vendor/epaint` (`[patch.crates-io]`),
|
||||
glyphs render single-threaded (D-006); regression test `theme::tests::egui_draws_text` (fails without it).
|
||||
(2) segfault on quit: Hub<->Servo Rc cycle kept Servo alive; `App::quit` now drops every Servo handle before
|
||||
the windows' GL contexts (src/app.rs).
|
||||
- Verified: `tools/smoke.sh tests/smoke/launch.txt` exit 0 ×5, 2 non-blank PNGs, 0 `panicked`; 30 tests green.
|
||||
- Not done: exit fix not A/B-checked by reverting (crash seen once before the fix, 5 clean runs after).
|
||||
- Later: toolbar/tab icons draw as tofu boxes (icon font glyphs missing); new-tab clock text nearly invisible on the
|
||||
light theme; tile letters ("Y", "G") above names look like missing favicons.
|
||||
|
||||
## Later
|
||||
- Reader mode, split view, translate, real gamepad rumble (D-002: not planned for now).
|
||||
- Packaging and first release (D-001: plan when the user asks).
|
||||
|
|
|
|||
Loading…
Reference in a new issue