S1 spike: terminal renderer (ghostty-web vs xterm.js, iPhone) #13
Closed
opened 2026-10-05 15:32:09 +00:00 by kayg
·
35 comments
No Branch/Tag specified
main
j470b-server-mesh-rejoin
mesh-compat-382
j444b-d381-key-wins-flood
j461b-macos-utun-reader-thread
j475b-remove-host-motion
fix-reconnect-new-link
j481-d380
dev
j479-mesh-soak
fix/j476-host-facts
j475-motion-pill-split
j470-mac-node-join
root-upgrade-d376
j474-review-merge
latency-targets-120hz
nightly-suite-shards
gotatun-pin-j469
macos-utun-reader-thread
fix-flood-echo-stall
wip/j416
motion-fast-ease-out
mesh-addhost-j259
takeover-close-terminals-d368
kbd-instant-followups
fix-trust-key-double-click
nightly-suite-partial-report
appwin-icons-j207
rusqlite-slice1
swipe-content-first-d374
mesh-mtu-381
addhost-instant-open
glass-contrast-d365-mock
glass-contrast-d365
signout-followups-442
fix-startup-toast-red
research-gotatun-matrix-j317
themes-sync-j304
fix-load-flakes
fix-nix-zig-patch
fix-compute01-browser-baseline
ratchet-size-baseline-419
predict-auto-d130
revoke-coverage-d367
nightly-suite-queue-timeout
nightly-browser-suite
fix-rustsec-2026-0459
fonts-ioskeley-obel
log-retention-d375
fix-kbd-no-anim-427
fix-dev-red-specs-2
takeover-proof-305-j205
wip/j410-server-pump
ui-consistency-d372
fix-osc52-clipboard
libghostty-vt-1.0
forget-retired-host-d369
j404-merge-426
fix-setup-lock-race
fix-touch-select-426
revoke-access-report-ui
fix-predictive-echo-specs
fix-selinux-agent-exec
wip/j395-checkpoint2
wip/j395
j391-review-scratch
ui-consistency-j195-deferred-rebased
fix-rustc-paths-421
decisions-wording-341
fix-install-suite-red
fix-dev-rtt-specs
fix-pending-removal-align
fix-privileged-skip
fix-install-suite-404
review-j368
mesh-dns-j254
revoke-access-report-d356b
revoke-privilege-round5
fix-removal-confirm
review-j360
gotatun-rotation-367
deps-refresh-340
review-j354
review-J351
review-j350
addhost-takeover-d359
revoke-report-items-347
revoke-end-sessions-d362
review-j348
size-mesh-ssh-346
size-trim-337
revoke-access-diff-d356
j259-pre-rebase-b06c5a6
j305-ended-at-start-spec
addhost-sudo-consent
fix-layout-real-specs-411
fix-shell-open-411
fix-console-hosts-373
fix-shell-exit
fuzz-host-name-353
fix-host-details-410
macos-filter-j197
research-gotatun-tricks
revoke-p3-j216l
stale-state-pill
revoke-followups-j216k
revoke-progress-j216e
backup/macos01-20261106/lume/j197
backup/macos01-20261106/lume/appwin-icons-j207-stash0
backup/macos01-20261106/claude/stash-0
backup/macos01-20261106/claude/stash-1
backup/macos01-20261106/claude/J80-macos-s1
backup/macos01-20261106/claude/J80
backup/macos01-20261106/claude/J80-slice1-20261102
backup/macos01-20261106/claude/J16b-appwin-on-dev
backup/macos01-20261106/claude/appwin-launch-idle-146
backup/macos01-20261106/claude/J80-s1-run
wip/j259
trust-285-p3c
runtime-lock-j216f
mesh-ssh-p3-j175
tun-proof-p3b
trust-285-p3
terminal-polish-j271
tun-proof-p3
ssh-install-flakes-j216i
fuzz-fixes-j264
trust-285-a
trust-285-b
restart-oversized-fixture-j198
backup/macos01-20261106/lume/appwin-icons-j207
restart-bound-j216h
up-preflight-p3-j198
backup/macos01-20261106/lume/j251
up-preflight-j198
wip/up-preflight-j198-j245-p2
wip/up-preflight-j198-j245-p1
agent-fsync-offloop-j196
wip/up-preflight-j198-j245
settings-offscreen-j231
wip/up-preflight-j198-j226-inspection
wip/j103f
themes-j206
wip/up-preflight-j198-j226
flakes-j216c
backup/macos01-20261106/claude/j197
flakes-j216b
backup/macos01-20261106/claude/j197-red
wip/up-preflight-j198-review
flakes-j216
backup/macos01-20261106/claude/appwin-icons-j207
engineering-j208b
appwin-mock-j209
toast-stack-j165
engineering-j208
decisions-d351
decisions-d350
decisions-d349
appearance-presets-mock-j129
decisions-d348
docs-audit-spec
doc-coverage-baseline-raise
decisions-d347
decisions-d346b
decisions-d346
j88h-profile
ui-consistency-j195-deferred
ui-consistency-j195
engineering-practices-j194
preferred-login-ui-j166
signin-pools-263-j174
macos-node-265-s1
decisions-d345
decisions-d344
proxy-cgroup-j164
verify-quick-fuzz-329
proxy-start-io-j168
timing-flakes-j163
up-263-s1
mcp-events-j147
verify-quick-fuzz-j158
proxy-p3-j159
agent-resource-j157-detect
wip/j103d-final
remote-cancel-hang-j155
proxy-traefik-281-j62d
j149-verify-quick
proxy-traefik-281-j62b
j150-drop-unnamed
wip/j79d-red-r4
wip/j103d-d332
rootless-toast-j142
wip/j103d-head
wip/j103d
j125c-mcp
macos-build-j136
backup/macos01-20261106/claude/j136
wip/j79d-red-cli
wip/j79d-red-server
j121-link-liveness
j118c-tracer-failures
wip/j79c-head
release-desktop-j131
j124c-signed-macos
wip/j79c-red-p3
wip/j79c-red-p23
wip/j79c-red-p22
merge-j128-check
perf-deferred-j128
sidebar-toggle-260
j127-shortcut-changed-dot
j125-mcp
j118-tracer-failures
j126-account-summary
settings-sections-mock-j92
j120-pinch-lock
sidebar-292
backup/macos01-20261106/claude/j120
taste-2026-11-03
row-actions-242-215
backup/macos01-20261106/claude/stash-0-untracked
backup/macos01-20261106/claude/J80-265-s1-run
backup/macos01-20261106/claude/J80-macos-s1-20261102
j112-canvas-commands
ui-no-overshoot-scroll
fix-recovery-restart
backup/macos01-20261106/claude/stash-1-untracked
taste-2026-11-02
size-baseline-ratchet
machine-cards-structure-j108
j109-boot-copy-mockups
fix-dev-red
wip/up-263-s1
j95b-settings-rows
proxy-traefik-281
j95-option-rows
docs-human-j91
docs-keys-palette
fix-flood-1013-270-j38d
mesh-ssh-s1
mesh-ssh-s0
addhost-d291-tunnel
test-stability-load
mesh-relay-220
repro-296
shim-thp-off-24
mesh-pins-258-v2
mesh-dns
signin-d311-merged
docs-pages
ui-size-283
fix-ui-batch-specs
wip/j12b-edge-update
gate-on-arm
fix-rename-sync-293
trust-285-j60b
fix-focus-ring-clip
integ-ui-1101
edge-update-v2
signin-d311
taste-2026-11-01
layout-per-tab-250
ui-approved-splitopt-224
ui-approved-splitopt-224-on-dev
icon-text-centre-282
ui-approved-189-212-216
research-reverse-proxy
transfer-budget-320
review-mesh-pins-258-r2
sidebar-pill-259
review-mesh-relay-220
wip/j12-edge-update-v2
nix-package
status-crash-loop-237
fix-dev-test-failures
fix-fixture-socket-path
wip/mesh-relay-220-pre-dev-advance-rebase
fix-canvas-side-clip
research-head-to-head
frosted-real-256
review-mesh-pins-258
wip/mesh-relay-220-pre-final-rebase
review-layout-per-tab-250-r2
broad-suite-triage
nix-devshell
review-status-crash-loop-237-r3
wip/nix-devshell-pre-p3
taste-frosted-real
wip/code-serve-demo-2026-10-30
wip/code-serve-glass-2026-10-30
wip/code-serve-clusters-2026-10-30
wip/code-merge-release94-dev-2026-10-30
wip/rproxy-delta-scratch-2026-10-30
wip/stale-note-257-staged-2026-10-30
wip/d241-size-staged-2026-10-30
review-broad-suite-207
wip/mesh-pins-258-pre-split
wip/mesh-relay-220-pre-rebase
mesh-measure-220
plan-211-update
review-edge-autoupdate-r3
perf24-reconnect
review-stale-note-r2
release-prod-live
d241-shell-marker
review-mesh-pins-server-258
review-revocation-r3
review-setup-token-r2
review-sync-journal-r3
wip/review-mesh-pins-258-prune-review-1995fee46
frosted-scroll-256
sync-journal-r3
revocation-per-account-wip
review-tokio-asyncfd-0386
review-sync-p3s
wip/stash-8by64-stash0-2026-10-30
mesh-drag-r2
setup-token-data-wip
release-9-4
auth-busy-1013
mesh-view-overlap
sync-p3s
review-auth-busy-wake
review-readd-r8-wip
mesh-drag-bounds
audit-auth-93
app-windows-stream-start
review-authority-cap-r3
app-windows-r7-measure
readd-minimal-r6
readd-minimal-r5
app-windows-r7-soak
readd-minimal-r4
app-windows-r7
app-windows-r6
readd-minimal-r3
readd-minimal-r2
readd-minimal
merge-release8-dev
review-busy-page-liveness-r2
review-busy-page-liveness
mesh-view-trim
review-authority-read-retry-r2
review-remove-uninstall-r2
release-retry-reattach
release-retry
review-remove-uninstall
review-authority-read-retry
app-windows-ship
mesh-autoswitch-p2
mesh-ssh
mesh-relay
mesh-macos-node
screen-and-control
session-labels
review-real-logins-r5
review-real-logins-r4
review-real-logins-r3
shim-memory-r2
review-real-logins-r2
shim-memory
shadow-addhost-instant
shadow-real-logins
shadow-same-session-flood
shadow-prod-perf-fix
hosts-from-server
app-windows-real
app-windows-transport
release-prod-6w
mesh-policy-verify
quiet-close-toast
dev-merge-r4
review-mesh-agent-transport
review-app-windows-transport
settings-roundtrip
review-release-pipeline-r4
mesh-agent-transport
ended-strip-fix
review-audit-ca-update-d244
settings-rows
phone-width
signout-clear
fix-restart-tests
dev-merge-rp
signer-hardening
review-audit-ca-update
terminal-fidelity
review-audit-ca-update-wip
mesh-integrate
review-mesh-agent-transport-515d3712
review-mesh-dataplane-feec1988
mesh-dataplane
signout
research-canvas-node
wip/review-renderer-cost
wip/review-terminal-fidelity
padlock-glyph
review-release-pipeline-2e95b689
phone-polish
sidebar-polish
inbox-generic
review-mesh-dataplane-378d4055
prod-batch
ui-inbox
ui-ca-unlock
ui-machine-sections
review-mesh-dataplane-a5f744fb
tls-session-prod
session-bounds-prod
fix-dead-session
session-bounds
tls-session
palette-polish
shortcuts-d222
research-appmeta
phone-gutter
ui-centre-button
wip/ui-centre-button
wip/tls-session
review-addhost-breakit
ui-platform
renderer-cost
remote-agents
mesh-api
ssh-bootstrap
prod-hotfix2
prod-fixes
review-remote-agents
review-mesh-dataplane
session-life
research-browser
review-mesh-api
research-capture
review-mesh-api-round3
review-mesh-api-round1
gate-stability
review-gate-stability
review-relay-direct
review-mesh-api-findings
proto-sessions
font-picker
proto-addhost
proto-windows
mesh-core
latency-gate
research-bsd
research-discovery
keytray-mods
mock-core
ui-tweaks
fix-motion-sel
fix-motion
integrate2
fix-robust
t-web
t-server
vt-ghostty
fix-snap-echo
t-web-auth
review-vt2
t-agent
lane-protocol
lane-shim
lane-auth
s1-base
s1-contracts
s1-workspace
No results found.
No labels
launch-qa
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/infraternal#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spike to choose the terminal renderer. Decisions 14, 37 and 41.
Starting renderer spike on branch spike-renderer, base SHA
4560d9dd64.Finding: this worktree is a bare S0 scaffold: rg --files found only CLAUDE.md, DECISIONS.md, docs/ARCHITECTURE.md, LICENSE, and .gitignore; there is no apps/, packages/ui, scripts/verify, or existing frontend to extend. I will keep all probe code under spikes/renderer/.
Finding: xterm.js 5.5.0's release notes pair it with @xterm/addon-webgl 0.18.0 and @xterm/addon-fit 0.10.0. The current 0.19.0 WebGL addon has an upstream disposal regression with xterm 5.5.0 (xtermjs/xterm.js#6143, Aug 2026), so the probe will pin the compatible 0.18.0 addon.
Finding: the first production build emitted a 1,051.25 kB JavaScript chunk (289.81 kB gzip) and Vite's >500 kB warning because both renderer stacks are eager imports. I am checking lazy renderer imports to keep the initial PWA load smaller before measuring.
Finding: headless Chromium 153.0.8010.12 launches, but Playwright WebKit 26.6 cannot launch because this host lacks libgtk-4, GStreamer, ICU, GTK-adjacent codec libraries, and related WebKit runtime dependencies (exact Playwright error in this job log). I am checking for a runtime usable without changing system files.
Finding: the GTK WebKit MiniBrowser could not run with --headless on this host, but Playwright 1.63.0 successfully opened and read a page in WebKit 26.6 under Xvfb. The spike now records that display mode explicitly. The systemd user unit spike-renderer is active at http://10.69.69.125:47321/ and responds 200 with Cache-Control: no-store, max-age=0.
Finding: production screenshots showed mismatched terminal grids (Ghostty 134×24 vs xterm 129×18). After sharing the FitAddon cell metrics and responsive inset, both measure 131×24 at 1280×900 in Chromium and WebKit, and 39×21 at 390×844 in Chromium. The PTY TUI capture also included script(1) wrapper text and exited its alternate screen; the fixture recorder now removes wrapper lines and retains the synthetic Vim screen.
Finding: shared-page benchmark runs timed out on Chromium input probes after the 50 MB replay, and GTK WebKit crashed when xterm requested WebGL2. Giving each renderer a fresh page in the same browser context stabilized the harness. The final spikes/renderer/RESULTS.md records 12 replay rows and 4 input-latency summaries; WebKit xterm is explicitly labeled DOM fallback after the WebGL2 crash. This is a host limitation, not an iPhone Safari result.
Finding: lazy loading cut the production entry bundle to 24.46 kB minified (8.76 kB gzip) in spikes/renderer/dist/assets/index-Be_fbCKc.js. The separately loaded ghostty-web chunk remains 638.38 kB minified (185.43 kB gzip), so Vite still emits its 500 kB chunk warning; xterm stays in a separate 289.67 kB chunk. The production build succeeds.
Finished: commit
44ce025396on spike-renderer. The page is live at http://10.69.69.125:47321 (systemd user unit active; HTTP 200, Cache-Control: no-store). Vite production build passes; the report, fixture streams, and production screenshots are in spikes/renderer/RESULTS.md and spikes/renderer/screenshots/.\n\nChromium flood: ghostty-web 59.7 fps, 2 estimated dropped frames, 5024.7 ms drain, 2.6 MB post-GC V8 heap; xterm WebGL 50.4 fps, 48 drops, 5006.2 ms drain, 4.6 MB post-GC. Input p50/p95/max was 32.6/32.7/32.8 ms for Ghostty and 16.2/16.3/16.4 ms for xterm. WebKit GTK measured Ghostty at 35.7 fps with 203 estimated drops and xterm DOM fallback at 48.3 fps with 13 drops; GTK WebKit crashed when xterm requested WebGL2, so those xterm rows are not WebGL measurements. WebKit heap and long-task data are unavailable in this harness.\n\nRecommendation: advance ghostty-web as the next iPhone candidate based on Chromium flood pacing and retained heap, while keeping the decision provisional because xterm had lower synthetic input latency and the real-iPhone standalone checklist is still pending. The in-page Copy results path was exercised with a replay and input run; HTTP used the selection-copy fallback.\n\nRequired fast gate output (verbatim):\nzsh:1: no such file or directory: scripts/verifyOrchestrator review (
44ce025):write(). This adds 16 ms to each keystroke echo, more than 3× the whole 5 ms server budget. Only 24 synthetic samples. A follow-up job looks into the cause and a fix (spike-renderer-latency).The decision waits for the latency follow-up and the iPhone check.
Starting investigation on branch spike-renderer at base SHA
44ce025396. I will remeasure trusted and synthetic key input through actual paint/presentation, inspect ghostty-web scheduling, and test viable fixes.Source finding: the old probe starts a timer before dispatch in spikes/renderer/src/main.js:637-649, but ghostty-web 0.4.0's write callback itself queues requestAnimationFrame in spikes/renderer/node_modules/ghostty-web/dist/ghostty-web.js:2388-2390; the probe callback then queues another requestAnimationFrame (main.js:641-646 plus 656-659). Ghostty's continuous loop calls renderer.render in an rAF (ghostty-web.js:2639-2644), while write() parses synchronously into WASM. This makes the old ghostty number include two frame waits after write completion; I’m checking the actual draw frame and presentation with trusted input now.
Measurement finding (Chromium 153.0.8010.12 headless, 1280×900, 500 keys per path/renderer after 20-key warmup; all 500 produced the hooked draw): ghostty canvas trusted input → draw-frame p50/p95/p99 13.4/13.9/14.1 ms; untrusted 13.1/13.6/13.8 ms. xterm 5.5 WebGL trusted 14.1/14.4/14.5 ms; untrusted 13.8/14.1/14.1 ms. The input-started double-rAF presentation proxy is also matched: ghostty trusted p50/p95/p99 30.9/31.5/31.7 ms, xterm 31.1/31.4/31.5 ms. Draw hooks saw canvas2d.fillText and WebGL2.drawElementsInstanced respectively. The ~1-frame ghostty disadvantage in the prior probe is not in renderer paint; its harness measured the ghostty write callback's own rAF plus another rAF. The trusted path now echoes from onData after the real Playwright key event.
Fix-path finding: ghostty-web 0.4.0's TypeScript declarations expose Terminal.write(callback?) but mark Terminal.renderer and Terminal.wasmTerm private; there is no terminal render/flush API or render-scheduling option. I tested the private renderer call: adding a call in the next rAF measured 100 keys at p99 14.2 ms to the update frame (baseline 500-key trusted p99 14.0 ms), with no frame improvement. Rendering synchronously reduced the draw-call timestamp to p99 0.9 ms, but the next-presentation proxy was still 31.5 ms p99 and the draw was outside rAF. This depends on private fields, so I recommend no library patch or upstream report; the existing loop already renders the dirty screen on the next frame.
Completed on branch spike-renderer at head
a5e8168b69. The 500-key Chromium remeasurement found no extra ghostty frame: trusted draw-frame p50/p95/p99 was 13.4/13.8/14.0 ms for ghostty-web and 14.0/14.3/14.4 ms for xterm WebGL; trusted double-rAF presentation proxy was 30.9/31.5/32.4 ms and 31.0/31.4/31.5 ms respectively. The old 32.6 ms ghostty figure came from measuring its write-callback rAF plus the harness's additional rAF. The private sync-render trial did not move the next presentation boundary. Recommendation: keep ghostty-web as the iPhone candidate; fix the probe, with no upstream patch or issue needed. RESULTS.md and the repeatable probe are committed. Gate output: → (there is no root scripts directory in this worktree); → ; → exit 0; → exit 0, 500 trusted + 500 untrusted keys per renderer. The live page returns HTTP 200 and the systemd user service is active.Correction to my previous completion comment: shell interpreted Markdown backticks as command substitutions, so that comment contains spurious shell error text. The work is complete on spike-renderer at head
a5e8168b69. The 500-key Chromium remeasurement found no extra ghostty frame: trusted draw-frame p50/p95/p99 was 13.4/13.8/14.0 ms for ghostty-web and 14.0/14.3/14.4 ms for xterm WebGL. Trusted double-rAF presentation proxy was 30.9/31.5/32.4 ms and 31.0/31.4/31.5 ms respectively. Recommendation: keep ghostty-web as the iPhone candidate; correct the probe, with no upstream patch needed. Gate evidence: scripts/verify fast output was exactly: zsh:1: no such file or directory: scripts/verify. bun run build ended with: ✓ built in 1.36s. node --check spikes/renderer/scripts/input-latency.mjs passed with exit 0. bun run bench:latency exited 0 with 500 trusted and 500 untrusted keys per renderer. The live page returns HTTP 200 and its systemd user service is active.Orchestrator: I accept the latency follow-up (
a5e8168). The extra frame was an error in the harness (a double rAF). With 500 trusted keys, ghostty-web 13.4 ms p50 / 14.0 ms p99 against xterm 14.0 / 14.4 to the draw frame: the same. Combined with the flood result (59.7 against 50.4 fps, half the heap), ghostty-web is the provisional choice for decision 14. It is final after the owner's iPhone check at http://10.69.69.125:47321.Owner test on iPhone (2026-10-06): the spike page cannot be used for the checklist.
Orchestrator error: I asked for a manual test of input, paste, IME and scrolling on a page that is only a benchmark harness. Fix: a second test page with a bare full-screen terminal that is connected to a real shell in a disposable, network-less container. No chrome. Job
spike-renderer-live.Starting issue #13 on branch spike-renderer at base SHA
a5e8168b69. I am checking the rootless container runtime and implementing the live terminal spike under spikes/renderer-live/.Finding: rootless Podman is operational for kayg (podman info reports Rootless=true, runtime=runc), and 10.69.69.125 is active on wt0. Finding: this worktree has no scripts/ directory or tracked scripts/verify, so the requested repository fast gate is absent here; I will run the spike build and requested browser checks and report the missing gate.
Finding: the first Rust reached dependency compilation but stopped because the host has no linker (cc). I am checking for an existing user-space compiler/toolchain under before changing the implementation.
Finding: the first Rust cargo check stopped because this host has no cc linker. I confirmed cc, gcc, clang and zig are absent; I am checking the user-local Nix toolchain path allowed for this task.
Finding: the first transient unit start showed Cargo places the binary in the spike crate's local target directory, not the worktree root. The error was 'Failed to find executable /home/kayg/Developer/infraternal/.worktrees/spike-renderer/target/release/renderer-live'; I corrected the unit and README to use spikes/renderer-live/target/release/renderer-live.
Finding: Playwright 1.56 could not launch because the existing browser cache had Chromium 1243/WebKit 2359 while this version requires Chromium headless shell 1194. The browser check stopped before any session started; I am installing the matching Playwright browsers under kayg's home cache, as allowed by the job.
Finding: matching Playwright Chromium and WebKit browsers downloaded, but Playwright reports WebKit cannot run because GTK/GStreamer and media libraries are absent from the host. I found the earlier renderer spike has a local Debian runtime-library bundle and am checking whether it can be reused without host package changes.
Finding: the first live Chromium/Ghostty run typed seq 1 5000 into the real container, but ghostty-web 0.4.0 retained only 981 scrollback lines with scrollback=10000 (measured via getScrollbackLength); its limit is interpreted as bytes. The upstream ghostty-web PR #169 documents the same byte/line mismatch and its 1,000x conversion. I applied that conversion for Ghostty and changed the Playwright check to use each renderer's buffer API.
Finding: Chromium passed the full live-shell suite for both renderers; WebKit reached browser launch but stopped because its MiniBrowser needs libwoff2dec.so.1.0.2, which is absent from the existing local runtime set. I am checking the tracked Debian package bundle and will add only the missing local runtime dependency if needed.
Finding: Chromium passed both renderers with 4,956 history lines; the temporary Playwright 1.56 pin selected WebKit build 2215, which needed libwoff2dec not present in the checked-in local GTK runtime. The existing renderer spike resolves Playwright 1.63.0 and has matching WebKit 2359 plus runtime libraries, so I aligned this browser check to the shared version instead of adding another system-library package.
Finding: WebKit 26.6 GTK under Xvfb completed Ghostty's live-shell flow (4,956 scrollback lines), then crashed its page when xterm requested WebGL2. The existing renderer spike records this same crash in spikes/renderer/RESULTS.md:76. I am blocking WebGL2 only in the WebKit Playwright xterm page so the automation checks xterm's fallback while real browsers still request WebGL.
Finding: after the four successful Playwright cases closed their pages, podman ps still showed two active containers (renderer-live-e834e76043504b06b7fa1e87bc80633a and renderer-live-6d05b5d5b5af483cb6809e96dc631bd8). WebSocket disconnect cleanup is therefore not yet proven; I am tracing it and will remove any leaked demo containers before the final check.
Cleanup follow-up: the containers seen after the browser run still had established WebSocket peers, so I left those sessions alone. A separate Chromium connect/close check created renderer-live-724f9f70e90146e49aad8fed63e7d3d4, closed the page WebSocket, and confirmed Podman removed that container while the other active sessions remained. Close cleanup is verified.
Browser finding: the production build passed the requested checks in Chromium and WebKit for both renderers. Each run typed seq 1 5000, scrolled to line 1, pasted a long command, and opened/exited Vim; each retained 4,956 history lines. xterm used WebGL in Chromium and its fallback renderer in WebKit (the local GTK/WebGL2 test runtime limitation). Screenshots: spikes/renderer-live/screenshots/chromium-ghostty.png, chromium-xterm.png, webkit-ghostty.png, webkit-xterm.png.
Finished: head
af2c652948. The spike service is active/running with Restart=on-failure.URLs:
Owner iPhone test (please note which renderer felt better for each item):
seq 1 5000, then scroll with one finger.vim /root/demo/long.txtandhtop.Screenshots: spikes/renderer-live/screenshots/chromium-ghostty.png, chromium-xterm.png, webkit-ghostty.png, webkit-xterm.png. Browser checks do not claim iPhone behavior.
cargo fmt -- --check,cargo build --release, the Vite production build, Podman image build, and all four requested Chromium/WebKit checks passed; each renderer retained 4,956 history lines and passed scroll, paste, and Vim checks.scripts/verify fastoutput, verbatim:zsh:1: no such file or directory: scripts/verify
Closed by the orchestrator during the 2026-10-28 handover (#254), on the owner's request to close finished issues. Evidence: Renderer spike delivered; ghostty-web was chosen (D14) and pinned from source in D109/#36 (
845c293in dev and prod). Reopen if anything is still missing.kayg referenced this issue2026-10-28 17:53:54 +00:00