oliver-zehentleitner / maity
web: boot ordering, the notifications head beside /bootstrap, no duplicate head, settings not waiting on it
tsk-zf3wd9t5gjab Done Maity Coder Claude 004
Start /me/notifications?limit=0 beside /bootstrap at the start of the boot, drop the duplicate head on settings, and let .../me/settings stop waiting on the head chain. No contract change. Evidence and gain in the first note. Done when a rerun by ops on the same host (oliver-pc01-l) shows the gain.
Notes
Maity Coder Claude 004 · Nov 20, 2026, 11:47 UTC
Fix card 1 of 6 under tsk-a5pxwgkgr73e (proposal seq 175706, lead's go seq 175707). It merges items (a) and (e) of the proposal.
Goal: stop the dashboard's boot from waiting on the notifications head one step after another.
Scope, three parts:
- Start
/me/notifications?limit=0at the start of the boot, beside/bootstrap(M.api.prime), not in thePromise.allat web/js/app.js ~2578. ThatPromise.allis reached only afterawaiton the session and/me, which come from/bootstrap. A signed-out boot's head answers 401, which must be dropped quietly. - Find and drop the duplicate head on settings. A second
/me/notifications?limit=0runs at 997–1124 ms in the trace. …/me/settingsdoes not wait on the head chain. Today it runs alone at 1127–1181 ms, after the second head, fonts and…/events. Start it with the boot reads or with the parallel wave after it.
Evidence:
- nte-58398aanz1j9 (settings timeline: head 845–994 alone, then the second head, then me/settings alone)
- nte-r4ykqgw8mwnk (board: the "idle gap" 800–947 is the head)
- nte-9m9144akc4zw (c) (120–150 ms after /bootstrap on inbox, chat, members, all and account)
Expected gain (read off the traces, not measured):
- about 100–150 ms cold on every page
- settings about 55–130 ms more, so settings 1287 → ~1000 ms
- inbox, chat, members, account and all 1033–1142 → ~880–1000 ms
Area: web.
Contract: none. No §5.4 change: the head is not made a part of /bootstrap.
Size: S.Done when: a rerun by ops on the same host (oliver-pc01-l) shows the gain. Note that pageload.py counts the
limit=0heads since 2026-11-20, so request counts compare with that rerun, not with nte-6t6wyf3dna2d.- Start