Repository navigation
test: stabilize navigation, layout and HTTP fixtures - #1385
Conversation
Sequential Navigation Soak A/B✅ HEAD completed the 200-navigation resilience and memory observation. One browser process, one target, and one CDP session navigate CSDN → SegmentFault → Huaban → example.com repeatedly. This run issued 200 Common ancestor Session resilience
A public-page failure is reported separately from an unrecoverable session. The soak requires all navigation attempts, zero failed recovery, zero lifecycle/network ordering violations, and complete resource evidence. Process-tree memory
HEAD memory by 50-navigation quarter
Raw reports and per-navigation boundary samples: workflow run and full Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold. |
Spider Bench A/B✅ All benchmark browser service runs completed; results are informational. Public HEAD: 184 / 240 rows; 38 / 48 sites produced rows; 10 unexpected empty sites. ✅ Deterministic fixture contract is clean. Common ancestor Public 48-site run · informational
Public-site content, timing, and memory are noisy. This single A/B run reports evidence only; site outcome counts explain missing rows without treating them as a deterministic regression. CPU and memory timelinesThese are bounded 40-point views of the same complete process-tree samples used by the HTML report. CPU uses 100% per occupied logical core; memory lines are RSS first and PSS second when complete PSS samples are available. Basexychart-beta
title "Base CPU"
x-axis "Elapsed seconds" [1.036, 1.536, 2.538, 4.041, 5.043, 6.546, 8.047, 9.049, 10.55, 12.053, 13.054, 14.555, 15.557, 17.059, 18.56, 19.561, 21.064, 22.066, 23.567, 25.069, 26.072, 27.574, 28.575, 30.076, 31.578, 32.579, 34.079, 35.58, 36.582, 38.084, 39.086, 40.586, 41.086, 42.087, 43.089, 44.591, 45.592, 46.093]
y-axis "CPU percent" 0 --> 500
line [9.99, 125.88, 131.75, 101.81, 165.75, 181.76, 79.95, 167.76, 93.9, 99.82, 141.78, 85.78, 89.77, 159.82, 59.95, 19.98, 141.73, 83.89, 129.92, 107.91, 135.66, 105.69, 119.8, 123.8, 69.84, 135.96, 83.92, 7.99, 51.94, 125.69, 119.78, 12.01, 2, 143.78, 147.67, 89.9, 114.06, 191.67]
xychart-beta
title "Base memory: RSS then PSS"
x-axis "Elapsed seconds" [0.035, 1.036, 1.536, 2.538, 4.041, 5.043, 6.546, 8.047, 9.049, 10.55, 12.053, 13.054, 14.555, 15.557, 17.059, 18.56, 19.561, 21.064, 22.066, 23.567, 25.069, 26.072, 27.574, 28.575, 30.076, 31.578, 32.579, 34.079, 35.58, 36.582, 38.084, 39.086, 40.586, 41.086, 42.087, 43.089, 44.591, 45.592, 46.093, 46.757]
y-axis "Memory MiB" 0 --> 500
line [12.36, 67.16, 113.77, 122.79, 128.8, 168.48, 170.26, 159.31, 185.81, 149.05, 185.88, 178.11, 172.93, 159.64, 175.54, 153.55, 159.63, 178.33, 147.1, 167.94, 293.66, 203.58, 223.48, 244.11, 158.27, 202.59, 177.3, 145.96, 151.73, 161.22, 177.64, 175.55, 159.72, 158.99, 170.07, 169.88, 161.83, 176.09, 200.82, 0]
line [8.98, 63.49, 110.07, 119.17, 125.35, 164.82, 166.71, 155.63, 182.13, 145.45, 182.28, 174.49, 169.33, 156.04, 171.95, 150.07, 156.03, 174.44, 143.51, 164.36, 290.69, 199.98, 219.88, 240.6, 154.11, 198.76, 173.74, 142.28, 148.05, 157.65, 173.56, 171.91, 156.08, 155.35, 166.44, 164.51, 158.19, 172.47, 197.33, 0]
HEADxychart-beta
title "HEAD CPU"
x-axis "Elapsed seconds" [1.036, 1.536, 2.538, 3.539, 4.039, 4.54, 5.041, 6.543, 7.545, 9.047, 10.047, 11.548, 12.55, 14.051, 15.053, 16.556, 17.557, 19.058, 20.058, 21.56, 22.562, 24.063, 25.065, 26.568, 27.569, 29.071, 30.073, 31.575, 32.577, 34.08, 35.08, 36.581, 37.583, 39.083, 40.085, 41.585, 42.586, 44.088]
y-axis "CPU percent" 0 --> 500
line [10, 113.91, 123.74, 115.99, 103.98, 147.9, 171.58, 159.75, 101.86, 141.83, 81.9, 123.82, 149.77, 2, 2, 107.8, 153.84, 45.89, 124.04, 125.84, 131.8, 111.94, 117.71, 105.94, 123.93, 125.78, 143.71, 127.84, 111.8, 19.97, 66.02, 119.71, 83.92, 0, 113.81, 105.97, 117.75, 205.55]
xychart-beta
title "HEAD memory: RSS then PSS"
x-axis "Elapsed seconds" [0.036, 1.036, 1.536, 2.538, 3.539, 4.039, 4.54, 5.041, 6.543, 7.545, 9.047, 10.047, 11.548, 12.55, 14.051, 15.053, 16.556, 17.557, 19.058, 20.058, 21.56, 22.562, 24.063, 25.065, 26.568, 27.569, 29.071, 30.073, 31.575, 32.577, 34.08, 35.08, 36.581, 37.583, 39.083, 40.085, 41.585, 42.586, 44.088, 44.644]
y-axis "Memory MiB" 0 --> 500
line [12.33, 68.05, 112.96, 118.58, 128.62, 153.59, 159.39, 167.88, 178.91, 158.4, 171.27, 162.09, 169.86, 154, 147.96, 148.93, 156.77, 144.2, 152.74, 184.99, 165.29, 144.39, 260.49, 197.1, 220.47, 237.49, 153.48, 158.15, 167.29, 160.9, 167.63, 166.08, 182.86, 194.45, 164.37, 190.99, 188.09, 165.94, 205.25, 0]
line [9.07, 64.45, 109.35, 115.04, 124.95, 149.98, 155.8, 164.32, 175.38, 155, 167.73, 158.49, 166.2, 150.36, 144.3, 145.28, 153.11, 140.52, 149.13, 181.34, 161.63, 143.81, 256.57, 193.45, 216.83, 232.97, 149.88, 154.56, 163.2, 157.25, 163.85, 162.3, 179.08, 190.67, 160.59, 188.43, 184.31, 162.49, 201.82, 0]
Deterministic fixture · required contractThe fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.
Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full The public-web A/B is informational. The exact HEAD fixture contract runs as a separate required CI check; timing and public-site content deltas remain non-blocking. |
CI Regression ReportSource CI run · source state at render:
Release regression — ✅ HEAD/base failures 0/0; raw binary 0.00%Package and image size
Startup latency and PSS
Concurrency matrix
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues
Agent episodes · Moli vs Chromium — ✅ 8/8 Moli episodes passed; 0 failures
Runtime and CDP session contracts — ✅ 26 contract cases; 0 failures
CDP smoke — ✅ 52/52 groups passed; 619 scenariosWorkers: 4 · cumulative group time: 190.81 s · failed groups: 0
WebMainBench · 545 pages — ✅ 545/545 completed; 0 unexpected failures
Frozen HTML · Linux · Diagnostics: All artifact fields are parsed by the trusted default-branch renderer; missing or invalid inputs remain visible as unavailable. |
Navigation tests can accept a load event left over from an earlier popup navigation. Layout assertions also depend on the host's monospace font, and fetch tests compare complete responses whose Date headers change between requests.
Wait for the requested navigation's loader-specific lifecycle event, register the existing bundled Ahem font for the two layout tests, and give the local HTTP fixture a fixed Date header. The font registration helper is compiled only for tests. Production fetching, rendering and Markdown conversion are unchanged.
The Ahem layout expectations were checked against Chromium across all 120 combinations in the two tests. This change is independent of the content-export work in #919 and its split PRs #1334–#1337.
Based on main
dffbbd7bc. Validation on macOS with the repository-pinned Rust 1.96.1:cargo fmt --all, full-workspace/all-target/all-feature Clippy with warnings denied, and complete Nextest all passed: 19,870 passed, 17 skipped. The canvas test context change is already in main and is not included here.