Skip to content

test(plugin-list): ListView.inlineFlsNoop-6723 UNAUTHORED case reads the inline-data headers before the object schema loads, and reds the required Test UI (13/16) shard #37972

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Why this matters

Test UI (13/16) is a required check. A test that fails on timing alone keeps PRs that never touch ui/ out of the merge queue. PR #37948 (a packages/metadata-protocol fix) failed it twice in a row, on the first run (job 140512339260) and on the one re-run (job 140529997984), so it cannot land until the test is fixed or a re-run happens to pass.

What fails

ui/packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx, case UNAUTHORED: the grid takes the OBJECT-SCHEMA path …:

expected [ 'Id', 'Opportunity Name' ] to not include 'Id'

Evidence that it is timing, not a regression

  • The same file is green in Test UI (13/16) of the main push run 46001713224 (bc173343), and main CI is green on 21ad7c54.
  • No ui/ commit lands between the failing run's CI base 39fafc0d and bc173343.
  • Locally the file passes 3 of 3 (pnpm exec vitest run packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx from ui/).
  • The headers it read carry Id and leave out Amount. That is the inline-data path with its FLS gate, read before the object-schema path took over. The case takes the first non-empty header set (waitFor(() => expect(h.length).toBeGreaterThan(0))), so a slow runner can read the render before the schema loads. 3eb778d8 (perf(console): a list page draws its rows once before they paint, and the shell re-renders less during first load #37883, a list page draws its rows once before they paint) is on the CI base and moved that timing.

Full write-up: PR comment #37948 (comment).

Acceptance

  • The UNAUTHORED case waits for the object-schema header set (for example waitFor until the headers equal ['Opportunity Name']) before it asserts the mechanism, so it cannot pass or fail on the inline-data render.
  • The case still fails if the grid takes the inline-data path (keep the pin's teeth: an ablation that forces the inline path reds it).
  • No other assertion in the file is loosened.

Out of scope

StudioRoute.metadataArea-28561.test.tsx also red Test UI (13/16) once on PR #37962 (expected [ '/studio/~all' ] to deeply equal [ '/studio/~all', …(1) ]). It is a different test; it is noted here only so a second occurrence can be linked, not fixed under this card.

Activity

  1. added
    bug
    priority:p1
    pm:queue
    domain:ui
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibwRxn1J7oT4Lx22UxZ
    Account: os-tesla
    Branch: claude/project-thread-8o1afe
    Worktree: objectstack-issue-37972
    Domain: ui
    Area: o3-ux (area:ux p1, taken as a seat card thread because the zone's one dev branch is busy on #37435)
    Seat: repo:objectstack#3
    File surface: ui/packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx only, test-only, no changeset unless a gate demands one; NOT ui/packages/plugin-grid/** source (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: medium, reason: one test file, one wait condition, correctness decided by vitest plus one ablation
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the UNAUTHORED case waits until the headers equal the object-schema set (['Opportunity Name']) before it asserts the mechanism; an ablation that forces the inline-data path reds it; no other assertion in the file is loosened (the CONTROL case's toContain('Amount') stays as it is).
    Thread-read: none
    Premise: holds on origin/main 0b539b6 by code reading: ui/packages/plugin-grid/src/objectGridGenerateColumns.tsx:783 takes the inline-data path while objectSchema is still null, the #6723 FLS gate drops amount and keeps the row key id, which gives the ['Id', 'Opportunity Name'] CI read; the case's waitFor at :159-163 waits only for a non-empty header set. The file is unchanged since adb65d1.
    Serial constraints cleared: none — no open PR touches the file

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwRxn1J7oT4Lx22UxZ
    os-dev-report

    {
      "issue": 37972,
      "status": "done",
      "branch": "claude/project-thread-8o1afe",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37981",
      "session": "session_01L9qibwRxn1J7oT4Lx22UxZ",
      "premise_still_valid": true,
      "summary": "The UNAUTHORED case of ListView.inlineFlsNoop-6723 now waits until the data headers equal the object-schema set ['Opportunity Name'] before it asserts; the three assertions after the wait are unchanged and no other case moves. Premise reproduced, not only read: with getObjectSchema delayed 300 ms the OLD case (main 0b539b6a) reds with the exact CI message `expected [ 'Id', 'Opportunity Name' ] to not include 'Id'` at :171, and this head stays green. One file, +8/-5, test-only, skip-changeset. Served tier opus (get_session last_served_model claude-opus-5-5) matches the claim's default tier; the session's effort is high, above the claim's medium, and was not changed mid-session.",
      "tests": "From ui/, under os-verify-lock, head db083480: `pnpm exec vitest run --maxWorkers=2 packages/plugin-list/src/__tests__/ListView.inlineFlsNoop-6723.test.tsx` x3 -> `Tests 3 passed (3)` each (VERDICT command-exit 0). Race forced (getObjectSchema delayed 300 ms via scripts/ablation-replace.mjs, anchor 1 -> 0, blob 06a55b0e -> b6dd1c6f, restored == HEAD): this head 3/3 passed; OLD case from 0b539b6a (blob 9cd3043d -> 50ea7830) `1 failed | 2 passed`, `AssertionError: expected [ 'Id', 'Opportunity Name' ] to not include 'Id'` at :171:25. Ablation of the tested behaviour (ui/packages/plugin-grid/src/objectGridGenerateColumns.tsx `rowKeysWouldOutrankSchemaPolicy` forced to false, grid stays on the inline-data path; anchor 1 -> 0, blob b32b539f -> 60cfa059, restored b32b539f with git diff HEAD empty): `1 failed | 2 passed`, `expected [ 'Id', 'Opportunity Name' ] to deeply equal [ 'Opportunity Name' ]` at :165:56 (the new wait). No build needed for the ablation: @object-ui/plugin-grid resolves to src via the ui/vitest.config.mts alias. Prereq build: turbo build of the seven @objectstack filters Test UI builds (OS_SKIP_DTS=1), 46/46 tasks.",
      "gates": "Local: `dispatch-gates --commands` derived 27; `--ran` reconciliation: 27 accounted, 25 run exit 0, 2 NOT-MEASURED (pnpm check:query-options-erasure and pnpm check:type-check-debt, both exit 124 at a 240 s local timeout on the shared box; CI carries both: `Lint · scoped · query-options erasure` success, `Type Check · debt ledger` success). `pnpm --dir ui exec vitest run scripts/` exit 0, Test Files 172 passed | 2 skipped, Tests 5138 passed | 2 skipped. PR check-runs on db083480 when this report was written: Lint & Repo Gates success, Governed Surface Queue Guard success, Check Changeset success, Test Core success, Dogfood Regression Gate success, Live E2E UI success, Build & E2E UI success, all Lint · and Type Check · source/workspace/debt jobs success; Test UI shards, Lint UI, Type Check UI and Type Check · consumer gates in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "5 — issue_read x3 (get, get_comments x2), pull_request_read x2 (get_comments, get_check_runs); no write tool",
      "api_writes": "2 — fleet-write dispatch pr_create (objectstack-ai/objectstack#37981, read back byte-identical, assignee os-tesla, label skip-changeset); post-stamped issue comment on #37972 (this report)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: card #37972 Out of scope · noted, not filed — StudioRoute.metadataArea-28561.test.tsx red Test UI (13/16) once on PR #37962; different test, not touched"]
    }
  5. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwRxn1J7oT4Lx22UxZ
    2026-11-27T14:56Z

    Done: PR #37981 merged to main as 9a274e6725822124948fb54a3b3cebccf1c84e44 (merged 2026-11-27T14:55Z), and that merge closed this card as completed.

    Records: claim 7219890222 · os-dev report 7220561437 · L1 ACCEPT 7220869621 (L1-a) · landing 7220946838. Head at landing db08348070c1e1cd57a6f50af9595be81f39dd86, one file (+8 / -5), skip-changeset.

    This comment removes pm:dispatched. PR #37948 can update onto 9a274e67 so Test UI (13/16) runs on a base that carries the fix.

  6. removed
    pm:dispatched
    on Nov 27, 2026
  7. added a commit that references this issue on Dec 1, 2026
    9a274e6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions