Skip to content

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

Todo

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. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 38138,
      "status": "needs_decision",
      "branch": "claude/issue-38138-master-detail-e2e-flake",
      "pr": null,
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "The flake is real, but its cause is not in the spec, the test order or the seed data. The heading only appears after the whole cold Console boot has finished, and that boot is a chain of five request hops, one after another: runtime/config, then get-session/discovery, then meta/app/permissions/preferences, then me/apps plus meta/object?package, then the app bundle, then render. The 5 s budget in the beforeEach therefore times the Console boot, not this page. I measured on origin/main 581ae76a with the CI lane rebuilt locally (backend --fresh on its own port, vite build with VITE_BASE_PATH=/, vite preview). The heading came 1.0-1.7 s after goto on an idle box. With four busy-loop CPU burners running it came 1.3-3.6 s after goto (15 runs), and the two slow runs both hit the bundle request late (it started at 2.6-2.8 s and took up to 0.9 s). Nothing leaks between tests: each test gets a fresh browser context. Creating a project with the same batch call that test 5 makes, right before goto, did not slow the next load (12 runs, heading 1.6-2.3 s). I could not reproduce the red: master-detail.spec.ts --repeat-each=20 passed 100/100, the full CI spec list --repeat-each=4 passed 92/92, and master-detail --repeat-each=8 under CPU burn passed 40/40. #37929 is not the trigger: it was already in base 0e361201, and the previous queue group on that same base was green (run 46102923263). It also touches action locations, not page boot. The two fixes inside the card's limits are a product performance change bigger than an XS card, or a test change that adds a wait in another form, which the card forbids. So no code was changed and no PR was opened. The empty probe branch exists on origin.",
      "tests": "No code changed. Repeat runs on 581ae76a23 (local live stack: showcase backend --fresh :4710, Console built with VITE_BASE_PATH=/ and served by vite preview :5790, chromium /opt/pw-browsers, --trace off --retries 0): (1) master-detail.spec.ts --repeat-each=20: '100 passed (6.3m)'. (2) the CI list (test:e2e:live:ci files) --repeat-each=4: '92 passed (5.1m)'. (3) master-detail.spec.ts --repeat-each=8 with 4 node busy-loops pinning all 4 cores: '40 passed (3.9m)'. (4) a throwaway timing probe (deleted, never committed) timed goto and then the heading, and logged every request: idle 1.5-2.5 s from test start to heading; under CPU burn 2.1-4.6 s from test start (3.6 s after goto at worst), slow runs show the bundle request starting at 2.6-2.8 s; with a showcase_project batch create right before goto, 1.6-2.3 s. The CI artifact 15246781857 could not be read: both gh api .../artifacts/15246781857/zip and gh run download were refused by the agent proxy (blob host productionresultssa30.blob.core.windows.net not allowed). I worked from job log 140849556074 instead: test 6 failed in 7.8 s with 'element(s) not found' at l.65; tests 4 and 5 took 2.2 s and 2.9 s.",
      "gates": "None run: no diff. The local builds went through os-verify-lock: 'VERDICT command-exit 0' for the turbo build of the CI filter set plus vite build (558 s), and 'VERDICT command-exit 0' for the vite build rerun with VITE_BASE_PATH=/ (116 s).",
      "dogfood_battery": "n/a: no PR, no `!` in a title, no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1: POST issues/38138/comments (this report, via post-stamped.mjs). The git push of the empty probe branch is not a REST write.",
      "open_questions": [
        {
          "question": "The page heading depends on the whole cold Console boot (five serial request hops before the app bundle arrives), and on a busy runner the slowest loads approach the 5 s budget. How should #38138 be closed, given that the card forbids a longer wait, retries and quarantine?",
          "options": [
            "A: Product fix in app-shell: start the app bundle request (meta/app/APP/bundle) as soon as the route names the app, in parallel with the boot reads, instead of after me/apps and meta/object?package. This shortens what the heading waits on for every page and dashboard. Cost: medium. It touches the MetadataProvider bundle-first read path (objectstack#28645 and #29552 semantics) and needs its own card, unit pins and a before/after timing reading. Size M, not XS.",
            "B: Test fix: in the beforeEach, first wait for the Console shell to be ready (the app route has settled on the canonical package-id URL and the boot splash is gone), then start the unchanged 5 s heading wait. Cost: small (one file). But it adds a second wait in front of the 5 s one, which the card's 'keep the 5 s wait' arguably forbids, so it needs the PM's or the maintainer's agreement.",
            "C: Leave it as it is and track the eviction rate. Cost: none now. A rare queue eviction (one of 23 tests, observed once) stays possible."
          ],
          "recommendation": "A, filed as its own perf card that names this flake as its reach, because it fixes what the 5 s budget actually waits on. Keep #38138 open until A lands, or take B as a stopgap only if the seat rules a shell-ready wait is not a raised wait."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: every Console load fires two parallel POST /api/v1/data/sys_user_preference calls followed by a PATCH (ui.recent / ui.app.last). This is an observation only; nothing failed because of it."
      ]
    }
  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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetbugdomain:uipm:blockedpriority:p1

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions