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
2 changed files with 19853 additions and 14 deletions
|
|
@ -6,3 +6,5 @@
|
|||
- D-002 — 2026-11-11 — Of the phase-3 candidates only MPRIS media keys is planned; reader mode, split view, translate and gamepad rumble go to PROGRESS "Later". — User's choice. — S013
|
||||
- D-003 — 2026-11-11 — The user reviews at the end of every phase in a separate 🧑 plan (S004, S010, S014, S021); review findings go to `docs/review/phaseN.md` as numbered items with `[open]`/`[fixed <commit>]`/`[wontfix: reason]` tags. — Keeps agent plans from blocking on the user. — S004, S010, S012, S014, S021
|
||||
- D-004 — 2026-11-11 — The redesign keeps egui (custom painting) and bundles the Outfit font (OFL) from Google Fonts; agents may download it. — Answers UI-BRIEF's open questions. — S015–S020
|
||||
- D-005 — 2026-11-11 — The hidden display for smoke runs is Xvfb (X11, `xorg-server-xvfb`), started by `tools/smoke.sh`. — No kwin_wayland/weston here; a nested niri shows on the user's screen and stops drawing while hidden; the orchestrator chose Xvfb. — S003 and every Verify plan
|
||||
- D-006 — 2026-11-11 — egui's epaint is vendored (`vendor/epaint`, 0.37.0 + a patch rendering glyphs single-threaded) via `[patch.crates-io]`. — Servo's canvas enables vello_cpu/multithreading, which makes stock epaint 0.37.0 panic on every glyph; no fixed release exists. — any plan that upgrades egui: drop the patch once epaint fixes it, keep `theme::tests::egui_draws_text`
|
||||
|
|
|
|||
|
|
@ -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