Repository navigation
Labels
area:uxbugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Description
repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2
Context
New-company walkthrough: installing HotCRM 7.1.0 from 浏览应用市场 on the showcase dev server (latest main, console in 简体中文), then reinstalling it.
What happens
- The preview count is wrong. The install confirmation lists 「示例记录 0」. The install then reports 「本次安装载入了 482 条示例记录」.
- Failed seed rows are hidden. The server log shows the seed load dropping rows and links. The result panel only reports the 482 count. From the log, on both the first install and the reinstall:
crm_contract#0 andcrm_quoteAdd metamodel interfaces for ObjectQL/ObjectUI contract #1 were NOT seeded. Theirsigned_copyusesseedFile(...)and the install load "has no file service to store it with".- Because those two rows are missing, deferred references stay NULL:
crm_sales_order.crm_contractand.crm_quoteon 「艾克美 2025 年度续约订单」crm_quote_line_item.crm_quoteon rows Implement ObjectStack protocol specification with Zod schemas and TypeScript interfaces #3–5
- Confirmed through the API: the flagship sample order has
crm_quoteandcrm_contract= null. - The sample product-sale walkthrough the listing advertises (lead → quote → order → contract) is therefore broken at the quote/contract step, and the admin is told nothing.
- The reinstall count is stale. Reinstalling the same version again says 「本次安装载入了 482 条示例记录」. But no new rows were written: record counts are unchanged and
updated_aton the sample rows is untouched. The message also says 「再次安装会重新载入示例数据」, which the run did not do for existing rows.
Expected
- The preview shows the sample row count the install will load, or says it is unknown.
- The result panel reports rows that failed or links that stayed unresolved (count plus a "details" disclosure), not only the success count.
- A marketplace install composes the file service, or a seedFile field degrades to an empty file field instead of dropping the whole row.
- The count reflects rows actually written by this run.
Where to look
ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx: result panel,rememberSampleData.installPreview.ts: sample count.- SeedLoader
seedFilehandling in the install path.
Related: #39437 (same preview, false "modifies existing objects").
Acceptance
- The preview count matches the loaded count, or says it is unknown.
- Seed failures and unresolved references surface in the install result UI.
- HotCRM's contract and quote sample rows load on a marketplace install, or degrade without dropping the row.
Metadata
Metadata
Assignees
Labels
area:uxbugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Dec 4, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui, domain:server · Bug · p2 · pm:queue · size S, touched 2026-12-04T02:17Z. Rationale: the filer's area and grade stand. After a marketplace install, the sample-data count does not match what loaded, and failed seed rows are never reported in the UI. Issue type set to Bug.
Grade: area:ux · Bug · p2 · admins installing a marketplace app with sample data · read (new-company walkthrough, HotCRM 7.1.0 install).
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
Claim: PM loop round 1 · 2026-12-04T09:03Z
Session:
session_01L9qibyrf8y7cWLVu7DMgBNAccount:
os-teslaArea: ot-ux2
Branch:
claude/issue-39469-wipWorktree:
objectstack-issue-39469Domain:
domain:uiSeat:
repo:objectstack@os-teslaFile surface:
ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx(result panel: report failed seed rows and unresolved links from the answer's existingseeded.errors/errorSample, behind a details disclosure; the count is rows this run wrote),ui/packages/app-shell/src/console/marketplace/installPreview.ts(preview count reads the datasets the install loads, or says unknown),ui/packages/app-shell/src/console/marketplace/sampleDataNotice.ts,ui/packages/i18n/src/namespaces/marketplace/(reason: the result and preview sentences in each shipped locale file of this namespace),packages/cloud-connection/src/marketplace-install-local-plugin.ts(the install load composes the file service forseedFile(...)fields, or reports the dropped rows; reinstall counts rows actually written). ⛔ Notpackages/metadata-protocol/src/**(in flight under #39536 and #39393): if the seedFile fix needs the loader itself, stop and report. Stop on breach; explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack: the console result panel reads only the success count and the install load has no file service for seedFile fields (packages/cloud-connection) | none — the seed loader already refuses with a reason, nobody shows it | every admin installing a marketplace package with sample data (HotCRM 7.1.0 walkthrough), reached todayThread-read: 7398789637
Premise: holds (read on
origin/maind7844bb:installPreview.ts:195counts only top-leveldata[]records; the answer type atmarketplace-install-local-plugin.ts:6717already carrieserrors/errorSample;packages/metadata-protocol/src/seed-files.ts:275refuses a seed file with no file service. The dev re-measures each acceptance item on a real install before code.)Pre-claim lane:
domain:ui+domain:serverby file (ui/packages/app-shell/**,packages/cloud-connection/**); stays in this seat.Pre-claim deps: none named; related #39437 closed (PR #39539 merged).
Prior rulings read:
check-prior-rulings.mjs --card 39469: 0 ruling comments on the card; ADR hits are title-term matches (ADR-0045 §2 materialization, ADR-0153 D8 proposed), none rules on install result reporting.Serial constraints cleared:
check-handover.mjs --inflighton the surface: no readable in-flight surface meets it (#38415, #35238 name no path);packages/metadata-protocol/src/excluded above because #39536 (ot-build) and #39393 (os-elon-musk) hold it.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
os-dev-report
{ "issue": 39469, "status": "done", "branch": "claude/issue-39469-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39623", "session": "session_01L9qibyrf8y7cWLVu7DMgBN", "premise_still_valid": true, "summary": "All three acceptance items reproduced on origin/main 8b1560bc before any code was written. (1) The install-local seed run built SeedLoaderService without getFieldFiles, so a seedFile row was refused even with field-files registered (new test, red on main: errors 2, inserted 2). runInlineSeed now resolves FIELD_FILE_SERVICE the way AppPlugin does; the loader itself is unchanged (metadata-protocol not touched). (2) The install result now says what the run wrote (inserted+updated), what it did not write (skipped: already there or deleted), and counts problems with every errorList message under a details disclosure. Before, a failed run drew nothing, and a reinstall that wrote nothing said 482 loaded. The reinstall sentence that promised cleared data comes back is replaced with a true one (the landed-key record keeps it out; Re-seed brings it back). (3) The preview read only top-level data[], and HotCRM is a packages[] artifact. It now follows resolveStackCollection's rule, and a locale-scoped package says the count depends on the language the install uses. PM mechanism assumption 1 holds: seeded already carried errors/errorSample, and also errorList/droppedRefs, undeclared, through the spread. No answer field was added; the built dist/index.d.ts shows `private applySideEffects;` untyped, 0 errorList hits, so no published type widened. Assumption 2 holds.", "tests": "cloud-connection vitest (seed-files new, landed-keys, composed-bundle-seeds, heal): 4 files, 41 passed. On origin/main code the new seed-files suite was 2 failed, 1 passed ('expected { mode: inline, inserted: 2 } to match { inserted: 3, errors: 0 }'). ui vitest packages/i18n/ plus the 5 marketplace suites: 115 files, 1942 passed, 13 skipped. Ablation: installPreview.ts restored to BASE leaves installPreview-30325.test.ts at 6 failed, 10 passed; restored to HEAD after (git status clean).", "gates": "head 3083b5290. Typecheck: cloud-connection exit 0; @object-ui/i18n + @object-ui/app-shell type-check exit 0 (os-verify-lock VERDICT command-exit 0). dispatch-gates --commands: 80 commands, all exit 0 except these NOT MEASURED: check-plugin-teardown-shape --self-test exit 3 (shallow clone cannot reach its fixture commit); check:query-options-erasure 124 (300 s timeout); check-comment-mask-corpus 124 on the final head (exit 0 on the earlier head); ui vitest scripts/ 1 timeout of 5161 on the earlier head (type-check:scripts 15 s timeout under load). check:engine-double-contract was red on the new test double, fixed (assertEngineUpdateDispatch, pinned ledger --write), now exit 0. ui i18n gates call-site-keys, dead-keys and en-drift exit 0; eager-locale-catalogues PREREQUISITE NOT MET (no built console). --ran reconciliation not run. PR check-runs not yet read: CI had not concluded when this report was written.", "mcp_calls": "0", "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, then POST issues/39623/assignees os-tesla) and this os-dev-report comment (post-stamped, POST issues/39469/comments)", "classifier_refusals": [ { "command": "python3 heredoc rewriting marketplaceApi.ts and sampleDataNotice.ts in the task worktree", "reason": "[Destructive or Unwanted Actions]", "mode": "subagent", "human_turn_before": "no", "resend": "none; the same edits were made with the Edit tool" } ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in the PR's Acceptance notes, not filed: the install answer's seeded.errorList is unbounded raw loader errors, attemptedValue included. This predates the PR; the console lists them in a scrolling box." ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibyrf8y7cWLVu7DMgBN
Post-merge live install reading — zone ot-ux2 · 2026-12-04T11:36Z · closes the landing to-do of L1-c ACCEPT 7409274204 (PR #39623)
Verdict: GREEN.
6477f39f1b. The showcase server was booted withobjectstack dev --seed-admin; its plugin list includes StorageServicePlugin and marketplace-install-local.POST /api/v1/marketplace/install-local{packageId: app.objectstack.hotcrm, versionId: 7.1.0}, signed in as admin. It answered 200,hotLoaded: true, andseeded: { mode: inline, inserted: 486, updated: 0, skipped: 1, errors: 0, errorList: [] }.crm_contract: 4 rows. CTR-0001, the seed-file row, carriessigned_copy, a PDF of 851 B. Download returns 200application/pdf.crm_quote: 6 rows. QTE-0002, the seed-file row, carries a PDF of 825 B.crm_sales_orderSO-0001: itscrm_contractandcrm_quoteare exactly the ids of those two rows. SO-0002 and SO-0003 set neither link in the seed, by design.crm_quote_line_item: 20 rows, 0 with a null quote link.crm_sales_order_line: 7 rows, 0 with a null order link.OS_CLOUD_URL. It is the same route the console uses, but not byte-for-byte the published copy.skipped: 1, updated: 0. The likely cause is HotCRM's singlemode: updaterow oncrm_sales_order, whose quote link did land. If so, the console notice would call a row that was written "already there". This is an inference; the code was not traced.inserted: 486, butGET …/install-local/app.objectstack.hotcrm/sample-dataanswerscount: 482.