Skip to content

flake: Live E2E master-detail.spec.ts「Create with a task line」在 beforeEach 等页面标题超时,把 #38090 踢出合并队列 #38138

Done

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) first queue eviction from this test (seat rule: file a flake card at the first eviction). Source: fleet.
Grading: area:build · Bug · p2 · reach: every merge-queue group runs Live E2E UI, so a red here evicts a PR whose diff cannot reach the page · evidence: one eviction, read by the #37894 card thread.
Dedupe: "master-detail.spec", "flake Live E2E" → 0 open. Closed sibling: #28471 (the same spec, a batch-request wait timeout; this one has a different shape).

维护者速读

Measured

Ask

  1. Read the artifact and find why the heading is missing in this one test: the page state left by the earlier tests, the data the test seeds, or a load race. Check whether feat(spec)!: action locations say what an action acts on #37929 (action locations, new on main) is involved.
  2. Fix the cause and keep the 5 s wait. A repeat-run proof (e.g. 20 runs green) goes in the PR.

Acceptance

  • The test is stable under repeated runs, and no queue group is evicted by it.

Activity

  1. added
    bug
    priority:p2
    domain:ui
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:fleet · domain:ui · Bug · p1 · pm:queue · size XS; rationale: Live E2E master-detail.spec.ts "Create with a task line" times out waiting for the page title in beforeEach and evicted PR #38090, which cannot reach the page, from the merge queue. A flake that ejects merge-queue builds is p1 (p2 → p1). E2E tests sit in area:fleet (area:build → area:fleet), linked under topic #38081. Recorded 2026-11-28T04:12Z.

  3. added
    pm:queue
    priority:p1
    and removed
    priority:p2
    on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Claim: PM loop round 1
    Session: session_016WV4cxRDKprCtjpEdtiPFW
    Account: os-elon-musk
    Branch: claude/issue-38138-master-detail-e2e-flake
    Worktree: objectstack-issue-38138
    Domain: domain:ui
    Seat: repo:objectstack#1
    Area: o1-F
    File surface: ui/e2e/live/master-detail.spec.ts first; a product fix under ui/ or the showcase app only if the artifact read shows the cause there, named in the PR before it is made. ⛔ The 5 s wait is not raised.
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui/e2e/live/master-detail.spec.ts:65 beforeEach in objectstack (no "New Project + Tasks" heading within 5 s, one of 23 tests) | none | every merge-queue group (Live E2E UI); measured eviction of PR #38090, job 140849556074, queue commit 4696e22734
    Thread-read: 7233808924
    Premise: holds (the beforeEach at master-detail.spec.ts:63-66 waits on the heading after page.goto(PAGE), on 581ae76)
    Serial constraints cleared: none — no claimed card in this area names this file
    Pre-claim lane: domain:ui per triage 7233808924; path ui/e2e/live/**, stays in this seat (留道).
    Pre-claim deps: none named; the card asks to check whether #37929 (action locations, on main) is involved.
    Prior rulings read: check-prior-rulings.mjs --card 38138: no ruling comments in the thread. Card Ask verbatim: "Fix the cause and keep the 5 s wait. A repeat-run proof (e.g. 20 runs green) goes in the PR." Closed sibling #28471 (same spec, a different shape).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  6. 2 remaining items

  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Release: area o1-F · 2026-11-28T05:08Z · claim 7234062437 measured the cause and built nothing; os-dev-report 7234459441
    Resume-from: none (the probe branch holds no commit)

    Blocked-by: #38170
    State: pm:dispatched → pm:blocked, assignee cleared, in this stroke.

  8. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 28, 2026
  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Unlock · pm:blocked → pm:queue · every line-leading Blocked-by: / Restart-when: on this card (body and thread) was read at 2026-11-29T00:14Z, and each target is done: #38170 closed as completed. Grade unchanged. Before dispatch, re-check the card's file surface on the merged ref.

    Recorded 2026-11-29T00:14Z.

  10. added
    pm:queue
    and removed
    pm:blocked
    on Nov 29, 2026
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn
    Claim: PM loop round 1 · 2026-11-29T01:26Z
    Session: session_01FEkQ5oPfjnm2yWHEwkiYrn
    Account: os-project-manager
    Branch: claude/issue-38138-e2e-heading-after-38252
    Worktree: objectstack-issue-38138
    Domain: domain:ui
    Seat: repo:objectstack#5
    Area: o5-fleet
    File surface: ui/e2e/live/master-detail.spec.ts only if a test-side change inside the card's limits is still needed (keep the 5 s wait; no retries, no quarantine, no second wait in front of it). The first step is a measurement on the merged ref with #38252 in it. If it shows the cause is gone, the deliverable is the evidence and the card closes without a diff. Stop on breach; explain in the report.
    Container & model: XS, mode:subagent, model: default (dispatch-gates --tier on ui/e2e/live/master-detail.spec.ts at 5df10ec: "Model tier — no path-derived mandate"), effort: high (reason: the maintainer's standing word 「默认就是 high」; a flake verdict from repeat runs plus a queue-history reading is judgement, not a mechanical edit)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui/e2e/live/master-detail.spec.ts beforeEach heading wait in objectstack | apps/app-shell boot chain (#38170, fixed by PR #38252) | every merge-queue group running Live E2E UI
    Thread-read: 7247979090
    Premise: re-read at 5df10ec. The cause measured in 7234459441 (the 5 s heading wait timed the whole cold Console boot, five serial request hops before the app bundle) was routed to #38170 and closed by PR #38252 (merged 2026-11-28T12:59Z, the app bundle is asked for as soon as the app list arrives). Triage unlocked the card at 7247979090 and asked for a re-check of the file surface on the merged ref. The dev re-measures before building.
    Serial constraints cleared: no open PR on ui/e2e/live/master-detail.spec.ts at claim time; overlap-check before every push
    Pre-claim lane: area:fleet · domain:ui · Bug · p1 per triage 7233808924. Landing tier is read at landing with check-governed-merges --pr N.
    Pre-claim deps: #38170 closed as completed (Blocked-by cleared, 7247979090).
    Prior rulings read: the card's own limits (keep the 5 s wait; fix the cause, not the wait); seat 1's release 7234490055 (a shell-ready wait in front of the 5 s wait is a longer wait by another name, not taken). The previous claim 7234062437 was released (Resume-from: none).

  12. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  13. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn
    os-dev-report

    {
      "issue": 38138,
      "status": "done",
      "branch": "claude/issue-38138-e2e-heading-after-38252",
      "pr": null,
      "head": null,
      "session": "session_01FEkQ5oPfjnm2yWHEwkiYrn",
      "premise_still_valid": true,
      "summary": "Re-measured on base 5df10eccaa, which contains #38252 (merge 832dc48117). The fix is live: the app bundle request now leaves about 20 ms after the app list answers (median app list answered 854 ms, bundle request 882 ms after test start). Heading after goto, same method as 7234459441 (CI lane rebuilt locally, throwaway probe, never committed): 'idle' 1.44-1.94 s (median 1.79 s, n=15; the box was NOT idle, load average 5.4-5.8 from sibling agents), under a 4-core CPU burn 1.18-2.59 s (median 1.71 s, p90 2.56 s, n=15), against the old 1.0-1.7 s idle and up to 3.6 s under burn. Every repeat run is green: master-detail x20 100/100, the CI spec list x4 92/92, plus master-detail x8 under burn 40/40. Queue history since #38252 merged (2026-11-28T12:59Z): 66 merge_group runs of ci.yml, Live E2E UI success in all 66; the 52 push runs skip Live E2E UI by design (borrowed queue verdict); the 3 schedule runs are green. No master-detail red anywhere. By the dispatch's rule the cause is fixed: no file changed, no PR. Two caveats for the closing seat. (1) The evidence is thin against the old rate: in the two weeks before #38252 (2500 merge_group runs, 311 failed) Live E2E UI went red 9 times, 7 of them build failures, 1 list-row-action-cel, and only 1 master-detail (the eviction itself). That is about 1 in 2500 groups, so 66 clean groups would have been expected to show 0.03 reds even with nothing fixed. (2) CI-side timings from the job logs: test l.68 (goto, heading, one select) median 2.9 to 2.8 s, p99 4.3 to 3.7 s, max 4.6 to 3.8 s (80 pre vs 66 post jobs), so the tail moved the right way. The evicted test l.103 has one post-window pass at 7.7 s (run 46179916667, job 141087085679; its usual median is 3.8-4.0 s); the list reporter does not say which step was slow, so it is not shown to be the heading. #38252's own reading was a busy-box median gain only (2.30 to 2.04 s), idle unchanged.",
      "tests": "No code changed; all runs at 5df10eccaa, local CI lane: showcase backend via ui/e2e/live/ci/start-backend.sh (--seed-admin --fresh) on :4738, Console built with VITE_BASE_PATH=/ and served by vite preview :5738, chromium from /opt/pw-browsers (no install), --trace off --retries 0, every run under os-verify-lock slot issue-38138. Build: turbo CI filter set (concurrency 2) plus vite build, 'VERDICT command-exit 0 . held the lock 607s'. (1) Timing probe, 15 cold loads each, 'VERDICT command-exit 0 . held the lock 112s': idle afterGoto min 1436 / med 1791 / p90 1914 / max 1937 ms, bundleStart med 882 ms vs appListEnd med 854 ms; burn (4 node busy loops, load avg 8.3 at the end) afterGoto min 1176 / med 1713 / p90 2558 / max 2589 ms, bundleStart med 1161 vs appListEnd med 1159 ms. (2) CI list (test:e2e:live:ci files) --repeat-each=4: '92 passed (5.9m)'. (3) master-detail.spec.ts --repeat-each=20: '100 passed (7.2m)'; (2)+(3) 'VERDICT command-exit 0 . held the lock 788s'. (4) master-detail.spec.ts --repeat-each=8 under the 4-core burn: '40 passed (4.2m)', 'VERDICT command-exit 0 . held the lock 251s'. Local l.103 durations: max 5.1 s idle (n=24), max 6.9 s under burn (n=8), all passing. CI failure artifact 15246781857 still unreadable: gh api .../artifacts/15246781857/zip is refused by the agent proxy (blob host productionresultssa30.blob.core.windows.net); worked from job log 140849556074 (l.103 failed in 7.8 s at l.65, 'element(s) not found', 22 of 23 passed).",
      "gates": "None: no diff, so no dispatch-gates derivation and no --ran. Read-only queue reading through gh api: actions/workflows/ci.yml/runs with event=merge_group, push and schedule, created since the #38252 merge; actions/runs/ID/jobs (filter=all) for each run, job 'Live E2E UI'; for the prior window, the failed merge_group runs of the two weeks before and their Live E2E UI jobs; job logs of 9 prior reds, 66 post-window and 80 pre-window green Live E2E UI jobs.",
      "dogfood_battery": "n/a: no PR, no ! in a title, no (narrowing) arm",
      "deviations": [
        "The 'idle' probe ran on a shared box at load average 5.4-5.8 (sibling agents' unlocked work), so its numbers are not comparable one-to-one with the old idle 1.0-1.7 s; the burn figure is the decisive one.",
        "Extra run not in the order: master-detail x8 under the 4-core burn (seat 1's third run), to cover the burn case with the real spec.",
        "The turbo build used --concurrency=2 (container rule) where CI uses 4.",
        "The throwaway probe was copied into the worktree's ui/e2e/live as an untracked file for the runs and deleted before the worktree was removed; never committed.",
        "dev-worktree.sh --probe pushed the empty branch claude/issue-38138-e2e-heading-after-38252 (tip 5df10eccaa, no own commit); it is still on origin and can be deleted by the seat.",
        "Three os-verify-lock queue-timeouts (build, probe, burn run), each re-taken with the same slot; no run went unlocked."
      ],
      "mcp_calls": "0",
      "api_writes": "1: POST issues/38138/comments (this report, via post-stamped.mjs). The empty-branch probe push is git, not REST.",
      "open_questions": [
        {
          "question": "The dispatch's 'fixed' criteria are met, but 66 clean queue groups cannot by themselves separate 'fixed' from a 1-in-2500 flake. Close now or hold?",
          "options": [
            "A: Close #38138 as completed on this evidence; the next master-detail eviction files a fresh card that cites this report.",
            "B: Keep #38138 open for a soak (for example until 500 more queue groups), then close."
          ],
          "recommendation": "A, because the measured cause (bundle after a render gap) is gone, the busy-box tail and the CI l.68 tail both moved down, and a held-open card with no work on it is noise; a new eviction is cheap to file."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none . noted, not filed: one post-#38252 queue run passed master-detail l.103 in 7.7 s (job 141087085679), about twice its median; not a red, step not identifiable from the list reporter."
      ]
    }
  14. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

    Delivered (no PR) · 2026-11-29T03:10Z · area o5-fleet · closed as completed on the re-measure in os-dev report 7249852898, per the claim's rule: measure after #38252, and close with evidence if fixed.

    • Cause gone: on base 5df10eccaa, which contains perf(app-shell): a cold Console load asks the app bundle the moment the app list answers #38252, the app bundle request now leaves about 20 ms after the app list answers (medians 882 ms vs 854 ms). Before, it waited behind the render gap.
    • Heading after goto, 15 cold loads per mode: on a busy box the median was 1.79 s (max 1.94 s); under a 4-core burn the median was 1.71 s (p90 2.56 s, max 2.59 s). Before perf(app-shell): a cold Console load asks the app bundle the moment the app list answers #38252 the burn case reached up to 3.6 s.
    • Repeats, all green: master-detail ×20 (100/100), the CI live list ×4 (92/92), master-detail ×8 under burn (40/40).
    • Queue since perf(app-shell): a cold Console load asks the app bundle the moment the app list answers #38252 merged: Live E2E UI green in 66 of 66 merge_group runs; schedule runs green too. CI l.68 tail moved down: p99 4.3 → 3.7 s, max 4.6 → 3.8 s.
    • Limit, stated plainly: the old master-detail eviction rate was about 1 in 2500 queue groups, so 66 clean groups alone cannot separate "fixed" from "rare". The close rests on the measured cause being gone and on the tails moving down. If master-detail evicts a group again, file a fresh card citing 7249852898 instead of reopening this one.
    • Noted, not filed: one queue run passed l.103 in 7.7 s (job 141087085679), about twice its median. That is not a red, and the list reporter does not name the slow step.

    pm:dispatched is removed in this stroke. The dev's empty probe branch claude/issue-38138-e2e-heading-after-38252 has no commit of its own.

  15. removed
    pm:dispatched
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:fleetbugdomain:uipriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions