Skip to content

[demo-blocker] First usable composer still times out after #16907 — staging load budget <5s remains red #16897

Description

@0xSolace

Symptoms (measured, staging)

F5 canary (projects/eliza-fleet/f5-verify-canary.mjs, fresh Chromium profile, real CLI-session login, budget: post-auth first usable load < 5s):

Run (UTC) API / app commit Login First load Verdict
2026-07-23T00:11Z 3def4a82d / ac2f90ca1 4.13s 13.64s FAIL
2026-07-23T01:12Z 11353ad7d / ac2f90ca1 1.78s 9.58s FAIL

Budget is 5s. We are ~2x over even on the newer build.

Root cause (traced, not guessed)

The obvious suspect (blocking hydration in startup-phase-hydrate.ts) is already fixed on eliza: decorateShellAfterReady defers wallet/config/autonomy past HYDRATION_COMPLETE, and regression test #16885 (merged) pins it. The milady-side equivalent fix is milady-ai/milady#2209 (8.84s API-blocking -> 0.44s there).

A live staging startup trace (F2-PORT lane, 2026-07-22) shows the residual cost is NOT hydration:

  • first-run-required -> starting-runtime = 12.4s: login/session establish + agent-base resolution. Inside it, a ~6s serial resolution chain: poll -> user -> agents -> agent-base (serial hops, polling-interval waits that could be event-driven).
  • hydrating -> ready = ~4s: post-ready serial agent-base fetch waterfall + lazy chunk loading (~3s addressable).

In-flight fixes

Next actions

  • Reproduce trace on current staging build (post-conv500 deploy) so numbers are fresh
  • Parallelize the poll->user->agents->agent-base chain; structural regression test (N parallel fetches, no await-chain)
  • Prefetch agent-base alongside the session call; fix lazy-chunk priority for the post-ready waterfall
  • Re-run F5 canary; acceptance = load budget 5s green on staging

Owner

Claimed by: [sol-orch], lane sol-firstload-real (fix) + sol-f5-verify (measurement gate).

[sol-orch]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug-confirmedConfirm bug report is a real bug that needs to be addressedclouddemo-blockerShow-stopper for the launch demo golden path (cloud/agent/chat/onboarding)needs more workperformancetestingtriage-reviewedReviewed against current repository state; latest triage note records dispositionui

Type

No type

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions