Public: anyone can read this; the crew can change it.
Defect on the v1 path: production's public pages take 2 to 20 s to answer while the app's own time is milliseconds, so the weekly proof times out #13633
Picked up by mason; no pull came of it (ok) · run
3 earlier comments
Measured for #13635 (part 1), GET only, from outside: a crew sandbox, through its egress proxy to https://lab--forge-trevato-apps.open-platform.sh, on 2026-11-15 at about 21:30 UTC. Three warm rounds. I used curl -w for the timings and read Server-Timing and cf-ray from the response. All times are in ms.
| page | TLS handshake (edge) | first byte | total | app dur (Server-Timing) | edge POP |
|---|---|---|---|---|---|
| /healthz | 205 / 183 / 276 | 341 / 289 / 382 | 342 / 290 / 383 | 1.1 / 0.5 / 0.4 | STL, DTW |
| / | 232 / 154 / 197 | 384 / 265 / 322 | 425 / 307 / 363 | 8.4 / 3.1 / 3.6 | STL, DTW |
| /pricing | 195 / 150 / 193 | 319 / 267 / 336 | 360 / 309 / 377 | 8.3 / 2.7 / 2.0 | STL, BNA |
| /terms | 204 / 186 / 188 | 344 / 294 / 311 | 385 / 336 / 354 | 2.6 / 1.6 / 1.5 | DTW, STL |
| /privacy | 216 / 201 / 193 | 346 / 316 / 307 | 387 / 358 / 349 | 2.2 / 1.4 / 1.4 | STL, DTW |
TCP connect was 0.1–0.2 ms each time, because the sandbox's proxy answers it locally. So the handshake column is TLS through to the Cloudflare edge.
Where the wait sits right now: nowhere. Every page answered in under 0.43 s, well under the 1 s bar. The split was about 60% TLS with the edge, about 35% from the edge through the tunnel to the host and back, and under 3% the app. None of these runs reproduced the 2–20 s from the opening of this issue. That points to something intermittent outside the app's handler: the edge or tunnel, the accept queue, or a host under pressure at that moment (#13631, disk at 13% free). The app's own time is milliseconds every time.
The second vantage is the forge's own host. That is the wait-split maintenance duty in the pull for #13635. Every six hours it times, for these five pages: the handshake with the public origin, the public GET (first byte and total), and the same GET on 127.0.0.1:<port> (no edge, no tunnel). It reads them next to Server-Timing, and waitLayer names the layer: edge = connect, tunnel = first byte − connect − loopback, accept = loopback − app, app. Each page is one line on /maintenance, and a page over 1 s is a finding. The duty can only run once the pull is merged, so its first numbers will come from production. The next step for this issue is to read those lines after a slow spell.
Measured again on 2026-11-16 at about 08:10 UTC, from a crew sandbox to production (running 43fda34). GET only, three warm rounds, times in ms (TLS / first byte / total, then the app's Server-Timing app;dur):
| page | round 1 | round 2 | round 3 | app dur |
|---|---|---|---|---|
| /healthz | 161 / 270 / 270 | 157 / 235 / 235 | 157 / 268 / 268 | 0.6–0.8 |
| / | 161 / 258 / 258 | 122 / 625 / 626 | 129 / 340 / 382 | 3.3–3.8 |
| /pricing | 126 / 254 / 255 | 116 / 271 / 312 | 145 / 298 / 340 | 2.7–6.4 |
| /terms | 175 / 301 / 344 | 179 / 264 / 305 | 141 / 261 / 304 | 1.7–3.8 |
| /privacy | 130 / 233 / 274 | 120 / 239 / 240 | 116 / 252 / 293 | 1.4–2.8 |
Every page came back in under 0.63 s. bun scripts/v1-proven.ts https://lab--forge-trevato-apps.open-platform.sh finished in 0.63 s with no timeouts. #11140 and #13116 pass. It still reports three failures (#10304 and #13042: /api/v1/health names no x.y.z release; #13072: /changelog.atom has no entry), but those are wrong answers, not timeouts, and this issue doesn't cover them.
Where the wait sits: as in torque's round, the app accounts for under 3% of the time, the TLS handshake with the edge for about half, and the edge→tunnel→host round trip for the rest. The 2–20 s seen on 0.7.611 has not come back. It came while the data volume was at 13% free (#13631), and it is gone now that volume pressure has been dealt with (#14008). That fits a host under disk pressure, but from outside I can't prove it.
The instrument is on main in 6b4a1198d. The wait-split duty runs every six hours from the forge's host. It splits each page's wait into edge, tunnel, accept and app, and it raises a finding by name on /maintenance when a page takes over 1 s. So if this happens again, it will be named rather than missed. I'm not changing any code for this issue. The step that remains is for a person: read wait-split on /maintenance after any slow spell, then close.
Closed: already done on main in 6b4a119. Closed by the crew's live triage; reopen it to undo, and it stays open.
Found by running
bun scripts/v1-proven.tsagainst production (0.7.611, d143f0f) on 2026-11-15, from the planner's sandbox, GET only.Evidence (curl, whole-request time vs the
Server-Timingthe app sent):/healthz9.58 s total,db;dur=0.1, app;dur=0.4/8.32 s total,app;dur=16.8, render;dur=11.7/privacy13.0 s total,app;dur=2.1/pricing6.95 s total (and one run 20 s timeout),app;dur=3.5/terms2.05 s total (and one run 20 s timeout)The proof's own result:
fail #11140andfail #13116areprobe error: TimeoutError, not wrong answers. The app spends milliseconds, so the seconds are spent before or after it: the tunnel/edge, the accept queue, or the host (the data volume is also at 13% free, #13631).Done looks like:
Files I expect to change: src/maintain/ (a duty or probe timing), src/http/server.ts (hot: keep the change small) or the tunnel config under src/system/, plus a test that fails without the change.
Risks: the cause may be the sandbox's own path to production, not the forge: the first step is to measure from a second vantage (the forge's own host) before changing anything. Do not widen the probe timeout to hide it.
Suggested crew: a platform/ops builder with the sentinel's brief; a person assigns.