Skip to content

"View all" → New from a record trail on ObjectDataPage still writes only the parent pair, not the dependsOn seed #37290

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Found by the seat L1 on PR #37283 (#37246), 7162744164, S2(b). Same family as #37246.

维护者速读

What

ObjectDataPage's New from a record trail ("View all") writes the parent pair alone. It does not apply the dependsOn seed that #37283 adds to the related-tab New.

Done when

  • That path seeds through the same relatedCreateSeedOf.
  • One pin covers it, red without the fix.

Notes

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T13:34Z. Bug, confirmed as filed: area:ux · domain:ui · p2 · S, pm:blocked on #37246 (PR #37283). It has no parent topic, so it goes to repo:objectstack#6 on unlock. Line form below, so the unlock scan reads it.

    Blocked-by: #37246

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-25T15:37Z

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 25, 2026
  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

    Claim: PM loop round 1 · zone o5-U (area:ux p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project thread: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-26T02:15Z · seat 6 (routed holder) left this card in pm:queue for other seats (its wind-down 7168409761)
    Session: session_01Utp6Ca6EBDpTBZk8v46Jjv
    Account: os-bill
    Area: o5-U
    Branch: claude/issue-37290-view-all-new-seed
    Worktree: objectstack-issue-37290
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/app-shell/src/views/ObjectDataPage.tsx (the record-trail New path only), reuse of relatedCreateSeedOf from ui/packages/plugin-detail/src/relatedParentScope.ts (read, not changed, unless an export is missing), one new pin test file named for this card, root .changeset/. Stop on breach and report.
    Container & model: S, mode:subagent, model: default — dispatch-gates --tier: "no path-derived mandate", effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the console's own record-trail New (objectstack, ui/packages/app-shell) | relatedCreateSeedOf from PR #37283 already seeds the related-tab New | anyone who opens a related list's "View all" and creates from there
    Thread-read: 7167139627
    Premise: holds — on origin/main ff6f9768 ObjectDataPage.tsx has no relatedCreateSeedOf call; the dev confirms the New path writes only the parent pair and whether the page holds the parent record at that mount (a screen noted it may hold only source.i, so a fetch may be needed)
    Serial constraints cleared: PR #37319 (seat 6, same file) merged; no open PR touches ObjectDataPage.tsx or relatedParentScope.ts at claim
    Pre-claim lane: domain:ui
    Pre-claim deps: Blocked-by: #37246 closed (PR #37283 merged)
    Prior rulings read: relatedcreateseedof,dependson → 0 hits; none; thread: none; repo: objectstack-ai/objectstack

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
    os-dev-report

    {
      "issue": 37290,
      "status": "done",
      "branch": "claude/issue-37290-view-all-new-seed",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37421",
      "head": "7bcb29c20a",
      "session": "session_01Utp6Ca6EBDpTBZk8v46Jjv",
      "premise_still_valid": true,
      "summary": "Resumed the lost dev's worktree (claim 7180634038, takeover, no second worktree). Kept the ObjectDataPage hunk with one fix: the dependsOn pre-check now reads the field def through @object-ui/core parentRelationshipFieldDef (array-form field lists too) instead of a record-only index. The record-trail New now writes the parent formLink pair, then relatedCreateSeedOf's pairs, the related-tab New's URL shape. A1 holds: relatedCreateSeedOf is already exported on @object-ui/plugin-detail/core, no export change, no copy. A2 measured: the page holds only the trail id, so it reads the parent once via dataSource.findOne(source.o, source.i), only when the relationship lookup declares a non-empty dependsOn; a failed or empty read falls back to the parent pair alone. Card assignee not touched; PR assignee os-bill (claim Account).",
      "tests": "Pin ui/packages/app-shell/src/views/ObjectDataPage.viewAllNewSeed-37290.test.tsx (2 cases: dependsOn seed + CONTROL with no dependsOn). With fix at ad4ceb5764: Test Files 1 passed (1), Tests 2 passed (2), lock VERDICT command-exit 0. Red leg: ObjectDataPage.tsx checked out from base ff6f9768d2 (relatedCreateSeedOf count 0): Tests 1 failed | 1 passed (2), AssertionError expected [ 'opportunity:O-1' ] to deeply equal [ 'opportunity:O-1', 'account:A-1' ], VERDICT command-exit 1; restored with git checkout HEAD, git diff HEAD empty, hash-object equals the HEAD blob. No ablation beyond this red leg (no dist path: vitest aliases @object-ui/plugin-detail to src).",
      "gates": "Local: dispatch-gates --commands (38 derived) run with exits captured before any pipe; dispatch-gates --ran: 38 derived, 36 run all exit 0, 2 NOT-MEASURED (pnpm check:type-check-debt exit 3 = closure build queued behind the shared verify lock held by sibling pid 7434 30+ min; pnpm --dir ui exec vitest run scripts/ same lock), verdict exit 0. pnpm --filter @object-ui/app-shell run type-check: NOT MEASURED locally (needs the whole ui dependency closure built; 2151 errors all cascading from unresolved @object-ui/* modules, none on the edited lines). overlap-check --branch=HEAD: VERDICT clean exit 0. CI on head 7bcb29c20a: 38 success, 13 skipped, 0 failed, including Type Check UI, Type Check · debt ledger, Test UI (shards 1-9 + aggregate), Test Core, Lint & Repo Gates, Lint · PM dispatch-gates, Check Changeset, PR-body guards, Build & E2E UI, Live E2E UI, Dogfood Regression Gate.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "files_changed": [".changeset/37290-view-all-new-dependson-seed.md", "ui/packages/app-shell/src/views/ObjectDataPage.tsx", "ui/packages/app-shell/src/views/ObjectDataPage.viewAllNewSeed-37290.test.tsx"],
      "line_budget": "+199 / -3 over 3 files (dispatch-gates count), under the 3000 human-merge threshold",
      "acceptance": ["That path seeds through the same relatedCreateSeedOf: MET (imported from @object-ui/plugin-detail/core, no copy)", "One pin covers it, red without the fix: MET (red leg quoted in tests)"],
      "deviations": ["Built @objectstack/client and its closure (pnpm --filter '@objectstack/client...' build) because the app-shell test could not resolve @objectstack/client without dist.", "app-shell type-check and two derived families NOT MEASURED locally (shared lock held by a sibling); CI measured them green.", "Merged origin/main once before opening the PR (no conflict), per the rule."],
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/37421/assignees), this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/37290/comments); plus git push (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
    os-dev-report

    {
      "issue": 37290,
      "status": "done",
      "branch": "claude/issue-37290-view-all-new-seed",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37421",
      "head": "90c47a7a63",
      "session": "session_01Utp6Ca6EBDpTBZk8v46Jjv",
      "premise_still_valid": true,
      "summary": "Rework round 1 (seat verdict 7182035521, L2 record 7182025259). S1: while the parent read runs, New is disabled and aria-busy. The read is raced against TRAIL_NEW_PARENT_READ_TIMEOUT_MS (5000 ms); past it the form opens with the parent link alone. A result is dropped when the page unmounted (a per-mount click token, bumped on unmount) or when the address (pathname + search, read live through locationRef) changed since the click; a dropped result on a live mount still clears pending. A synchronous throw from findOne counts as refused. S2: four new pin cases (refused, empty, hung, stale). The changeset now states the pending state, the bound and the stale drop. N1 not taken: it needs a new export on published @object-ui/plugin-detail/core, which would flip Clause-② to widening and go past the claim's file surface. PR body not patched: os-dev has a subagent write the PR body only at pr_create, and the relay's issue_patch refused the body without the signed trailer, so the rework readings are here for the seat to carry.",
      "tests": "Pin file now 6 cases. Unmutated at 5f39581f1c: Tests 6 passed (6), twice, lock VERDICT command-exit 0. Ablations via scripts/ablation-replace.mjs, every restore blob == HEAD with git diff HEAD empty: pending dropped from disabled -> Tests 2 failed | 4 passed (hung + stale cases); address guard removed (--delete and replacement) -> Tests 1 failed | 5 passed (stale case, expected 'new' to be null); race without the timer -> Tests 1 failed | 5 passed (hung case); .catch(() => undefined) removed -> Tests 1 failed | 5 passed (refused case). Two runs got no verdict and are not counted. The first .catch run was a no-op: the replacement ';' was already in the file, so the tool refused the run. The first address-guard run, on the stale case before it waited for a late write, read green. I then added a 50 ms act flush before reading the address and a same-mount assertion, and it was red in all four later runs. The empty-read case pins a promise, not a guard: relatedCreateSeedOf answers {} for a null parent, so no single-line ablation turns it red.",
      "gates": "Local, 38 derived commands, exits captured before any pipe. dispatch-gates --ran: 36 run all exit 0, 2 NOT-MEASURED (check:type-check-debt exit 3 = closure build queued behind the shared verify lock held by the #36987 sibling; ui vitest scripts/ same lock, no ui/scripts file changed). Verdict exit 0. overlap-check --branch=HEAD: VERDICT clean exit 0, origin/main merges cleanly, no merge taken. CI on 90c47a7a63: 38 success, 13 skipped, 0 failed (Type Check UI, Type Check · debt ledger, Test UI and its shards, Test Core, Lint & Repo Gates, Check Changeset, PR-body guards all success).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "files_changed": [".changeset/37290-view-all-new-dependson-seed.md", "ui/packages/app-shell/src/views/ObjectDataPage.tsx", "ui/packages/app-shell/src/views/ObjectDataPage.viewAllNewSeed-37290.test.tsx"],
      "line_budget": "same 3 files; rework delta +33/-4 in ObjectDataPage.tsx plus 4 test cases and one changeset sentence",
      "acceptance": ["Card: seeds through relatedCreateSeedOf: MET (unchanged)", "Card: one pin red without the fix: MET (unchanged)", "S1 pending + bound + stale drop: MET (ablation-backed)", "S2 refused, empty, hang and stale arms pinned: MET", "N1: NOT TAKEN (needs a published export, Clause-② widening)"],
      "deviations": ["Re-created the worktree from origin/claude/issue-37290-view-all-new-seed, then rebuilt the @objectstack/client and @objectstack/lint closures so the test resolves.", "PR body not patched (see summary).", "app-shell type-check and two derived families not measured locally (shared lock); CI measured them green."],
      "mcp_calls": "0",
      "api_writes": "1 this round — os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/37290/comments); the issue_patch on PR 37421 was refused before sending; plus git push (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

    Close-out · 2026-11-26T08:12Z

    Delivered by PR #37421, merged 2026-11-26T08:11Z: View all → New seeds the dependsOn value from the parent record. pm:dispatched removed.

  10. removed
    pm:dispatched
    on Nov 26, 2026
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:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions