Repository navigation
test(e2e): isolate offline Person Work-navigation latency by UI stage - #943
Conversation
|
Note The title starts with
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
2026-10-27 measurement clarification: manual Person profiler #40544348639 succeeded (one excluded warm-up + 3/3 fresh Chromium trials each for Create/Edit, all tests passed, no skips/errors). However, it was dispatched with Exact-head PR #943 CI now green: seven GitHub workflow runs successful, including full six-shard Chromium E2E, unit/API gate, static, CodeQL, workflow lint and zizmor; SonarCloud and Codacy passing; Codex and Devin report no findings; no unresolved review threads. PR remains open, unmerged, without maintainer merge approval. Correct command to measure PR's new subphases before merge: gh workflow run e2e-offline-person-profile.yml -R Fooftilly/PRKS --ref test/e2e-person-work-navigation-phases-740Confirm resulting Actions run's |
2026-10-27 — PR #943 exact-head navigation profile completeManual Actions run #40545986986 completed successfully on head
Parents overlap children. Across three trials the Recently Added stage varied from 2.094–2.582s for Create and 2.075–2.095s for Edit. It is ~73% / ~63% of inclusive navigation (ratio of medians); Work readiness adds ~28% / ~34%. This is not whole-suite savings evidence; trials were isolated, not controlled before/after A/B. Source-informed diagnosis and guarded follow-upThe Vue Next targeted action: test a narrow, explicitly opted-in cache-first path for already-confirmed-offline Recently Added, or first capture scoped request/overlay timings, with parity checks for invalidated/missing/malformed snapshots, fresh-storage absence, abort/superseded route, reconnect during IndexedDB reads, generation sweeps, online read-through, and server HTTP domain errors. Do not globally turn off retries, switch PR #943 is still open, its seven exact-head CI workflow runs passed, no unresolved review threads and no Codex/Devin findings. This run completes the PR's requested diagnostic acceptance; leave merge to explicit maintainer approval. |
Evidence and rationale (#740)
Post-#939 manual Person durability profiler #40541579974 on
master@326cbf4passed one excluded warm-up plus 3/3 isolated real Chromium measured trials per scenario. Median inclusive Work navigation (person_{create,edit}_link_nav) remained 3.258s / 3.279s, consuming roughly half the inclusive role-link phase (6.943s / 6.825s), even after the independent role-modal parallel-catalog optimization (#939). Modal medians were 3.046s / 3.161s; these separate runs do not prove attributable production speedups.The current
_open_work_from_homehelper deliberately traverses the actual Folders → Recently Added → Work path. Without stage-level attribution, we cannot tell whether repeated ~3.3s is the Folders transition, recently-added projection, clicking the card, or Work-detail readiness. Do not change production Work fetch/retry/cache/durability semantics based on unproven hypotheses.Scope
profile_prefixto the existingtests/e2e/test_app.py::_open_work_from_homehelper. With no prefix (all existing callers), retain the exact same clicks/waits and no phase recording; with a prefix, nest four non-overlapping timings without changing the helper's UI interactions:link_nav_folders: Folders sidebar click and route-hash readiness.link_nav_recent: Recently Added tab click and target Work card presence.link_nav_card_click: real Work card click.link_nav_work_ready: original Work route/hash + displayed title barrier.person_create_link_navandperson_edit_link_navphases in the two offline Person durability browser scenarios. Both tests still perform exactly the same UI, offline/reload, dependency, server and ACK assertions.link_nav, which itself is nested insiderole_link. Do not add the overlapping parent/child times to infer total runtime.No production/browser source or database changes, CI gate policy, new workflow, auto-trigger, retries, timeouts, fixtures, isolation, or assertion changes.
Validation and follow-up
gh workflow run e2e-offline-person-profile.yml -R Fooftilly/PRKS --ref masteronce. Read all four nested stage medians across three passing fresh Chromium trials for both scenarios.Refs #740.