Skip to content

Queue-flake anchor: packages/app-shell/src/console/__tests__/AppContent.objectScope-12811.test.tsx #34765

Closed

Description

@github-actions

packages/app-shell/src/console/__tests__/AppContent.objectScope-12811.test.tsx has ejected 3 pull requests from the merge
queue within a rolling 24 hours — 1 independent hit once
GitHub's speculative stacking is accounted for. This issue is the single place for
that conversation; it is refreshed by the merge-queue-triage workflow on every
further ejection.

PR stack queue build
#34663 S1 · inherited 44058468444
#34723 S1 · inherited 44057819844
#34737 S1 · root 44057602325

⚠️ Queue depth is not evidence. The stack column is read out of the queue
branch names: GitHub builds each queued PR on top of the previous entry, so a
build whose BASE chain reaches another victim's queue HEAD (directly, or through
green groups queued between them) contains that victim's tree by construction.
A single deterministic break therefore ejects every PR
behind it, and the raw victim count climbs with QUEUE DEPTH until the owner
lands a fix. Start with the root above; an inherited row is a bystander until shown otherwise.

This issue is a NAME, not a diagnosis. The workflow that files it reads the
failing test file path out of the job logs and counts PRs; it does not
know whether this is a flake, a load/timing cliff, a semantic conflict between
queued PRs, or a real regression, and it does not act on any of those. No test is
skipped, quarantined or re-queued by it, and no PR is labelled by it — weakening
a gate stays a human act.

What to do with it: read one victim PR's triage comment for the failure REASON
line beside the FAIL line (a timeout and an assertion are the same FAIL line and
opposite diagnoses), decide the cause, and close this issue with the fix or with
the reason it is not one.

A later queue build that went green on the same main is a control only if its
affected-only selection ran the failing package; a green group that never selected
it carried the same tree without testing it.

Last refreshed by queue build 44058468444 (PR #34663).


Filed by the merge-queue-triage workflow (#4859, aggregation #10128).

Activity

  1. added
    finding
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: queue-flake anchor → p2 · domain:ui · pm:queue (one root, no jump) · 2026-11-17T10:22Z

    ⛔ Not a claim.

  3. added
    domain:ui
    pm:queue
    priority:p2
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Raised p2 → p1 by maintainer ruling (2026-11-17 22:5xZ, in triage's session, on triage's UI-lane p2 list): 「以上提到 p1」, covering #34972, #34765, #34991, #34629 and #34728.

    This is a grade set by ruling, so the focus-grading rules and the queue-flake single-root rule (#34152) do not move it back. Domain and state are unchanged; it is queued for a p1 seat.

  5. added
    priority:p1
    and removed
    priority:p2
    on Nov 17, 2026
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz

    Claim: PM loop round 2 · 2026-11-17T22:57Z
    Session: session_01WGufzi3ezPzTysQPDEjmVz
    Account: os-support-ai
    Branch: claude/issue-34765-objectscope-flake
    Worktree: objectstack-issue-34765
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface: ui/packages/app-shell/src/console/__tests__/AppContent.objectScope-12811.test.tsx (and its local harness helpers); ui/packages/app-shell/src/console/AppContent*.tsx only if the reading shows the product itself drops or reorders the object/sys_user read; root .changeset/ only if product code changes
    Container & model: S, mode:subagent, model: TIER_DEFAULT (no path-derived mandate on these paths), effort: medium (small console card: one test file, no spec change; area-order addendum 16:27Z, seat 22:55Z)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack ui/packages/app-shell console AppContent.objectScope-12811.test.tsx ("does not hold the route…": AssertionError expected [ 'app', …(4) ] to include 'object/sys_user', an assertion, not a timeout) | none | every PR the merge queue ejects on this anchor (#34737 root; #34663, #34723, #34825 ejected)
    Thread-read: 6963317286
    Premise: holds on origin/main 4443014: the anchor's failure REASON is an assertion over the recorded metadata reads (the by-name object/sys_user read is not yet recorded when the assertion runs), seen on several queue builds and not on the PRs' own runs; the test file is unchanged on main since
    Serial constraints cleared: no open PR touches AppContent* or objectScope-12811 (checked 2026-11-17 22:57Z); overlap-check before every push
    Pre-claim lane: domain:ui — every path is under ui/**
    Pre-claim deps: none
    Prior rulings read: queue-flake rule #34152 (never skip or quarantine; fix the cause); thread: none
    Ruling-ref: maintainer 「以上提到 p1」 (6963317286), seat dispatch 22:55Z

    Scope: read the failing assertion and the read order it depends on, find why the object/sys_user read can land after the assertion under queue load, and fix that cause (await the read the test is about, not a fixed sleep); prove it with a reproduction (slowed fetch / loop under load) that fails before and passes after. ⛔ No skip, no quarantine, no retry wrapper, no weakened assertion. If the reading shows a real product ordering bug (the route held, or the read dropped), say so and fix it in AppContent. Close the anchor with the fix.

    Lease o3-D (seat post #34584).

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  8. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz
    os-dev-report

    {
      "issue": 34765,
      "status": "done",
      "branch": "claude/issue-34765-objectscope-flake",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35056",
      "session": "session_01WGufzi3ezPzTysQPDEjmVz",
      "premise_still_valid": true,
      "summary": "Cause: in 'does not hold the route for its lookup targets', the lookup target's by-name read (object/sys_user) is issued by readObjectRouteNames -> servedByName (appObjectScope.ts) only after its batched ?names= presence read answers it served, i.e. one render AFTER the package list lets the route paint; the case asserted it synchronously right after the list's first paint, so any extra scheduling turn under queue load reddened it. Fix: waitFor the recorded object/sys_user read, then re-assert the list is drawn without sys_user while the by-name answer is held (no sleep, no retry, no skip; assertion set unchanged plus one). Not a product bug: the read is neither dropped nor holding the route; it goes out one presence round trip after the paint, the designed order (objectstack#34188). Test-only, no changeset; skip-changeset declared on pr_create (app-shell is private, test file not in files[]).",
      "tests": "Repro (one-shot, restored, not in tree), mock ?names= answer delayed 30ms by an anchored replace (hit count asserted): BEFORE leg (main's sync assertion) at 08cd3e344: 'x does not hold the route for its lookup targets ... AssertionError: expected [ app, ...(4) ] to include object/sys_user', Tests 1 failed | 6 passed (7), the queue's exact failure line; AFTER leg (fix): Tests 7 passed (7); restore proved by blob 795795f89c2f matching HEAD and empty git diff HEAD. Unmutated file 5 runs: Tests 7 passed (7) x5. Narrowed package run at 08cd3e344: pnpm --dir ui exec vitest run packages/app-shell/src/console/__tests__/AppContent -> Test Files 50 passed (50), Tests 491 passed (491), lock VERDICT command-exit 0. pnpm --filter @object-ui/app-shell run type-check -> lock VERDICT command-exit 0. DECLARED NARROWING: the whole packages/app-shell/ vitest (2315 files) was started and stopped by me after 50 min holding the shared lock with no verdict -> NOT MEASURED locally, Test UI in CI runs it sharded.",
      "gates": "dispatch-gates --commands (repo objectstack-ai/objectstack, tree 08cd3e344): 27 families; all run. 26 exit 0 on first run (exit captured by redirect-then-$?); check:type-check-debt first exit 3 (lock queue-timeout behind my own package run = NOT MEASURED), re-run exit 0 ('--re-measure: OK — 0 raw tsc error(s)'); pnpm --dir ui exec vitest run scripts/ exit 0 (Test Files 171 passed | 2 skipped, Tests 5077 passed | 2 skipped) after one exit-99 queue-timeout. --ran reconciliation: '27 derived, 27 run, 0 NOT-MEASURED, 0 UNRUN'. overlap-check vs origin/main 743308b90 and open PRs: VERDICT clean exit 0. PR check-runs at report time: Governed Surface Queue Guard success, Check Changeset success, Lint/Type Check/Test lanes in_progress (CI convergence is PM's).",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-②: no without an arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch, 2 pushes, not REST); fleet-write relay pr_create (POST pulls + POST issues/35056/assignees + POST issues/35056/labels, one action, run 44208453307); post-stamped os-dev-report comment on issue 34765",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": "(1) the fix commit was pushed before the first overlap-check; overlap-check then ran clean twice before pr_create, no further push. (2) The dispatch order's HTML-comment signature at the end of the PR body conflicts with os-dev.md's no-HTML-comment rule; followed the dispatch order (area standard), read back intact. (3) The whole-package app-shell vitest was narrowed (see tests)."
    }
  9. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz

    Closed by merge · 2026-11-18T02:34Z

    PR #35056 merged at 2026-11-18T02:11Z (Fixes #34765). Cause: the case "does not hold the route for its lookup targets" read the recorded calls synchronously after the list's first paint, while the by-name object/sys_user read goes out one presence round trip later (after the batched ?names= read answers; by design, #34188). Under queue load that extra turn turned it red. The test now waits for the recorded by-name read and re-checks that the list draws without sys_user while it is held; no sleep, retry, skip or weakened assertion. Reproduction (?names= 30 ms late): base 1 failed / 7 with the queue line, fix 7 / 7. Not a product bug. L1 ACCEPT 6965278223. pm:dispatched and lease:o3-D removed.

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

Metadata

Metadata

Assignees

Labels

domain:uifindingpriority:p1queue-flake-anchor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions