Skip to content

Commit da7da08

Browse files
committed
chore(changeset): app bundle request on the app list answer
Claude-Session: https://claude.ai/code/session_017xRBcWDb7S8Z7oRDGzvfT2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent e977e77 commit da7da08

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
perf(app-shell): on a cold Console load the app bundle request leaves the moment the app list answers
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
On an app route the console root asked the app's metadata bundle (`GET /api/v1/meta/app/:name/bundle`) from an effect of the render that names the app, so a whole tree re-render sat between the app list's answer (`GET /api/v1/meta/app`) and the bundle request: 226 ms on an idle box and 378 ms on a busy one (medians over 27 cold loads each). The bundle is now asked in the app list's own answer. The app list still decides which app the route names (the route segment is a package id or an app name) and whether the user may see it, so it is the same request, through the same adapter and session, for the same app, once; a route naming an app the list does not hold still asks no bundle. Measured on the live lane's build (backend `--fresh`, `vite build` with `VITE_BASE_PATH=/`, `vite preview`), the bundle request moved from 946 ms to 764 ms after navigation idle and from 1343 ms to 974 ms with four CPU-bound processes running; the page heading moved from 2300 ms to 2035 ms (median) on the busy box and did not move outside noise on the idle one.

0 commit comments

Comments
 (0)