Skip to content

grid: a multi-field row save conflict shows both values as raw JSON in the concurrent-update dialog (buildRowConflict does not fill the new per-field list) #33557

Closed

Description

@objectstack-fleet

domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

Filing gate: ① a user-visible defect with a named producer, found by the contract review of PR #33547 (record 6886524339, should-fix S2) beside #33346 row 118. Reader: domain:ui (ui/packages/plugin-grid). Grade p3, self-graded by the lane seat under the maintainer's 「定级你可以自己决定」: the same raw-JSON face #33346 row 118 fixed on the inline-edit save, on the grid's row path.
Dedupe: is:issue is:open buildRowConflict and is:issue is:open grid conflict raw JSON find nothing open.
⛔ Serial: ObjectGrid.tsx is in ui seat 1's live #33317 surface; dispatch after #33317's PR merges.

What the user sees

A grid row save that changed several fields and meets a newer version (409 CONCURRENT_UPDATE) opens the concurrent-update dialog with both values printed as raw JSON objects.

Where (on main at e3f0cfd4)

Acceptance

  • A multi-field row conflict fills fields (labels from the grid's columns/object schema), so the dialog lists each field; a one-field conflict looks as it does today.
  • Pin through the rendered grid: two changed fields + a 409 → two labelled rows, no raw JSON. CONTROL: one field.

Blocked-by: #33547

Activity

  1. added
    pm:blocked
    domain:ui
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Unblocked · 2026-11-15T04:17Z: PR #33547 merged (159dbe36), and ui seat 1's PR #33544 (#33317, the ObjectGrid.tsx surface this card waited behind) merged as beff1fbf. Back to pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Claim: PM loop round 1 · 2026-11-15T04:18Z
    Session: session_01FEkQ5mDVzZmSX2UmJXU7sH (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
    Account: os-project-manager
    Branch: claude/project-thread-llrivg
    Worktree: objectstack-issue-33557
    Domain: domain:ui
    Seat: domain:ui#2
    File surface: ui/packages/plugin-grid/src/ObjectGrid.tsx (buildRowConflict, the footer summary path), ui/packages/plugin-grid/src/objectGridFooterSummaryReport.tsx if the total is formatted there, their tests, root .changeset/. ⛔ Not apps/console/src/register-plugins.ts or the plugin-grid entry's registration (ui seat 1's #33581). ⛔ No server, spec or cloud edit.
    Container & model: M, mode:thread, model: default tier, effort: default
    Clause-②: no (internals of @object-ui/plugin-grid; an added export would amend this to yes (widening))
    Metadata-protocol: none
    Responsibility: a multi-field grid row save that meets a 409 CONCURRENT_UPDATE shows both values as raw JSON | buildRowConflict does not fill the fields list #33547 added | every grid user editing several cells of a row that someone else changed
    Thread-read: none
    Premise: holds: found by the contract review of PR #33547 (record 6886524339, S2); unblocked by #33547 (159dbe36) and #33544 (beff1fbf)
    Serial constraints cleared: no other pm:dispatched domain:ui card claims a file in this surface (live label read; ui seat 1's live files #33317 #33063 #33061 #33103 #33377 are disjoint); no other ui seat holds a Claim: on these files

    Scope: shared card thread with #33542 (one dev, one PR). p3. Order: /mnt/project-files/pm-orders/ui/order-33557.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5mDVzZmSX2UmJXU7sH

    os-dev-report
    {
    "issue": 33557,
    "status": "done",
    "branch": "claude/project-thread-llrivg",
    "pr": "#33728",
    "session": "session_01FEkQ5mDVzZmSX2UmJXU7sH",
    "premise_still_valid": true,
    "summary": "One PR for #33557 and #33542 (Fixes both). #33557: ObjectGrid.tsx buildRowConflict fills the conflict fields list (field, column header, your edit, current value) on a multi-field row save, so the dialog lists each field instead of two raw JSON maps; a one-field conflict is unchanged. #33542: measured first on a live showcase (origin/main d95ddeb): GET /api/v1/meta/object/showcase_expense_report serves the summary fields with scale 2 (no currencyConfig), so the gap was ui. useColumnSummary.ts gains summaryValueType, routing a summary column footer total into the existing currency arm when summaryDeclaresCurrency holds (the cell predicate, now exported from @object-ui/fields) and into the existing number arm when resolveFieldScale answers a width; neither keeps the plain default. No second formatter. Accepted deviation (seat relay): money follows the summary own currencyConfig per spec, not its source field type; HotCRM paid_amount (scale 2, no currencyConfig) totals 230,000.00, matching its cells. Rebased onto origin/main 5604aeb after #33548 (PR #33671) merged, per the seat serial hold; head eed5643.",
    "tests": "New pins: ui/packages/plugin-grid/src/tests/inlineEditConflictFields-33557.test.tsx (rendered grid, real adapter and client, fetch-stubbed 409; two fields -> two labelled rows, no braces; CONTROL one field, no list) and footerSummaryFieldScale-33542.test.tsx (rendered footer, catalogue from getObjectSchema, real I18nProvider: en Sum: 230,000.00, zh-CN 合计:230,000.00, fixed-CNY summary equals a plain currency column in en and zh-CN; CONTROL no-scale summary keeps Sum: 7). Ablations at eed5643 via scripts/ablation-replace.mjs (src-aliased, no dist in path): A fields -> _ablated in buildRowConflict, anchor 1 -> 0, blob 7c4d76f5dbd4 -> 3be11d0556d5, 1 failed | 1 passed (2), restored blob == HEAD, git diff HEAD empty; B summary routing switched off, anchor 1 -> 0, blob 7803efa5aef8 -> 9ba5b6deda4a, 4 failed | 1 passed (5), restored blob == HEAD. Full plugin-grid suite (pnpm --dir ui exec vitest run packages/plugin-grid/ under the lock, rebased tree): Test Files 283 passed (283), Tests 2443 passed (2443). Type-check: pnpm --filter @object-ui/fields run type-check and @object-ui/plugin-grid run type-check (tsc --noEmit plus tsconfig.test.json) exit 0 after the plugin-grid^... closure build.",
    "gates": "Local at eed5643: dispatch-gates --commands derived 39 families, all run, all exit 0 (list in /mnt/project-files/pm-orders/ui/33557-gates-ran.txt and the PR body); --ran: 39 derived accounted for, 39 run, 0 NOT-MEASURED. ui check:new-line-citations: 0 new. Pre-rebase run at b4887eaf: 38/38 exit 0. CI check-runs on #33728: in_progress at report time, not waited for (os-dev.md).",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "10 — all reads: mcp__github__issue_read x6 (get #33557, get #33542, get_comments #33542, get_comments #33557 x3 for the claim), mcp__github__pull_request_read get_files x4 (ui seat 1 PRs #33485 #33493 #33575 #33585, surface check). No write tools.",
    "api_writes": "2 — relay pr_create (fleet-write run 43693490188, PR #33728, body read back identical, no labels, no assignees) and this os-dev-report comment via post-stamped. git push of claude/project-thread-llrivg is not a REST write.",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "carrier: none · noted, not filed: a formula column footer total also falls to the plain default arm (the cell draws a formula by returnType); not measured on a real producer, so not in the three filing classes. PR Acceptance notes carry it."
    ]
    }


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Seat review: PR #33728 ACCEPT on head eed5643b (2026-11-15T08:37Z), for #33557 and #33542 together. K = 8, CI green; ready + auto-merge set in the same stroke. Contract record PASS 6891601341 (TIER_DEFAULT).

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Landed · 2026-11-15T08:58Z

    reading value
    PR #33728 MERGED as f06f0640 on main (closes this card via Fixes #33557)

    State: pm:dispatched removed, assignee cleared; card closed by the merge. Shipped with #33542 in one PR (seat ACCEPT 6891785286; contract record PASS 6891601341).

  9. removed
    pm:dispatched
    on Nov 15, 2026
  10. added a commit that references this issue on Nov 16, 2026
    f06f064
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

    domain:uipriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions