Skip to content

fix(core,plugin-grid): the duplicate-match-key import row refusal reads in the request language, and a record-level row error shows no _record: prefix - #37009

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36980-import-row-errors-reader-language
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36980-import-row-errors-reader-language

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #36980

Clause-②: no
Metadata-protocol: none

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

维护者速读

  • 用户能看到什么变化:在控制台导入数据时,文件里两行用了同一个匹配键(比如同一个邮箱)而被拒,这条提示改用用户自己的语言,并用字段名称(如「邮箱」)代替内部字段名;被整条记录校验规则拒绝的行,不再显示内部的「_record:」前缀,只显示规则的提示语,校验预览、结果页和下载的失败行文件都一样。
  • 为什么做:属于「导入体验」这一组工作,替中文用户解决导入时同一屏里中英文混杂、看到内部字段名的问题(在 HotCRM 线索导入中发现)。
  • 出错会怎样:只影响这两类提示的文字,哪些行被拒、拒绝规则和写入结果都不变,可以直接撤回。
  • 要你做的:无。

What changes

1. The duplicate-match-key row refusal reads in the request language and names the key by label (packages/core/src/utils/import-runner.ts, packages/spec/src/system/validation-message.ts).
The DUPLICATE_MATCH_KEY row's error was an English template naming the key set by API name (email). It is now rendered through renderValidationMessage, with the same request locale (context.locale) and the same override hook (messageTranslator) that the cell-coercion errors in the same row report already use. The sentence comes from a new catalog entry, import_duplicate_match_key, in all four platform locales (en, zh-CN, ja-JP, es-ES). It sits beside the importer's other import_* row sentences, and a deployment can override it under validation.field.import_duplicate_match_key. {{label}} is the key set by field label, joined with +, and falls back to the API name only for a field with no label. {{rows}} keeps the row numbers. The row keeps its shape (row, ok, action, code, error), so Clause-②: no. The English sentence keeps its wording, with the label where the API name was.

2. A record-level row error shows no _record: prefix (ui/packages/plugin-grid/src/ImportWizard.tsx).
When an object-level validation rule names no field, the rule validator reports it on the _record sentinel. The wizard prefixed every row error with the field's label and fell back to the API name, so such a row read Row 3: _record: RULE_MESSAGE. A new rowErrorFieldLabel gives no label for _record, as the record form's save bar (RECORD_LEVEL_FIELD in plugin-detail) already does. It serves all three readers: the dry-run findings and the result screen (through formatDryRunError), and the failed-rows download. A field-level error keeps its Label: message form.

Bounded in-place fix, declared: the failed-rows download prefixed a field-level error with the field's API name (title: …), where the two screens use the label. It now uses the same label helper. This is the same defect class (a row error naming an internal identifier), a mechanical change in the claimed file, and part of the same gate family. It is pinned in the download case below.

Existing pin updated: packages/rest/src/import-upsert-in-file-duplicate-key.test.ts asserted the old sentence with API names. Its expected key set now reads by label (Supplier + Type + No., Supplier + Note), because the fixture's fields carry those labels. This is a respelling only; every row, code and count assertion is unchanged.

ADRs read near the edited lines: ADR-0104 D1/D2 (value-shape refusal wording; nothing here touches a value-shape refusal), ADR-0002 §4, ADR-0031 §4/§6, ADR-0032 §1, ADR-0077 §3, ADR-0137 D2. None governs these two sentences.

L2 contract review owed: this PR edits non-test packages/spec/src/** (validation-message.ts). It adds one key to the built-in validation message catalog in four locales and one docblock paragraph. No Zod shape, export, error code or authorable key changes.

Tests

  • packages/core/src/utils/import-runner-duplicate-match-key-36980.test.ts (new): in zh-CN, the row's error is the zh-CN catalog entry. It names 邮箱, keeps 1, 3, contains no email, and carries Han script. In en, it names (Email). With no locale on the context, it reads English. A multi-field key is named by each label, and a field with no label falls back to its API name. A deployment override wins. The row result's keys are exactly action, code, error, ok, row.
  • ui/packages/plugin-grid/src/ImportWizard.recordLevelRowError-36980.test.tsx (new): on the dry-run findings, the result screen and the failed-rows download, a _record row reads as its message alone, and a field-level row reads Title: ….
  • packages/rest/src/import-upsert-in-file-duplicate-key.test.ts: the expected key set is now spelled by label. It runs through the real POST /data/:object/import route over a real SQL engine.

Acceptance notes

  • Other English row sentences in the same runner. BLANK_MATCH_KEY (ordered key sets, The row has no match key: every key set in matchFields (…)), the multi-value match-key refusal and the AMBIGUOUS_MATCH text are still English and name API names. The wizard already localizes AMBIGUOUS_MATCH from its code. The other two were only read here, not reproduced through a public door, so they are noted rather than filed. They are the same family as this card.
  • The download's _error cell carries the server's error text, not the wizard's code-driven rewording that the two screens show for known cell codes. That was already the case and is unchanged here.

Verification

Two-minute check: pnpm --filter @objectstack/core exec vitest run --maxWorkers=2 src/utils/import-runner-duplicate-match-key-36980.test.ts. Expect 5 passed, including "zh-CN: the sentence is the zh-CN catalog entry, names the key by its label and keeps the row numbers".

Local readings at 5ed720f
  • Dependency closure builds: @objectstack/rest... (rest and its dependencies, spec and core included) and @object-ui/plugin-grid^.... Lock VERDICT command-exit 0 for both.
  • Typecheck: @objectstack/core, @objectstack/rest (each includes check:test-typecheck), @objectstack/spec and @object-ui/plugin-grid type-check (its tsconfig.test.json includes src/**): exit 0.
  • Full @objectstack/core vitest: Test Files 165 passed (165), Tests 3854 passed (3854).
  • Full @objectstack/spec vitest: Test Files 982 passed (982), Tests 29733 passed, 1 todo. This includes validation-message.test.ts's "every locale defines every message key".
  • @objectstack/rest: import-upsert-in-file-duplicate-key.test.ts and import-row-cell-errors.test.ts, Test Files 2 passed, Tests 15 passed. The rest of the rest suite is left to CI Test Core, since the diff there is that one test file.
  • UI: pnpm --dir ui exec vitest run packages/plugin-grid/: Test Files 311 passed (311), Tests 2763 passed (2763). pnpm check:new-line-citations (ui): 0 new, exit 0.
  • Derived gate list (dispatch-gates.mjs --commands, 93 commands): 92 exit 0, and 1 exit 3 (PREREQUISITE NOT MET, so NOT MEASURED): check:dual-build-cjs-loads, which needs a full workspace build. --ran with exit codes: "93 derived famil(ies) accounted for — 92 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)".
  • Ablations, each through scripts/ablation-replace.mjs, with the restore proven by git diff HEAD empty and the blob equal to HEAD:
    • runner key label replaced by keySet.join(' + ') (API names): import-runner-duplicate-match-key-36980 5 failed / 5;
    • wizard sentinel check dropped (if (!field) return undefined;): ImportWizard.recordLevelRowError-36980 3 failed / 3.
  • overlap-check --branch=claude/issue-36980-import-row-errors-reader-language: VERDICT clean exit 0.

Generated by Claude Code

…he request language, and a record-level row error shows no `_record:` prefix

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzh1FMUQYf1PcEunaaK
…ge and label, and the record-level row error's missing prefix

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzh1FMUQYf1PcEunaaK
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/core, @objectstack/spec, touching 9 documentable anchor(s).

7 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/api/client-sdk.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/api/wire-format.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/data-modeling/currency.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it), /:object/import/jobs (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/data-modeling/fields.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/data-modeling/import-mappings.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it), /:object/import/jobs (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/permissions/system-context.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it), /:object/import/jobs (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/protocol/objectql/state-machine.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it), /:object/import/jobs (route, bridged from symbol runImport — its route source's handler names it))

⛔ 4 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v12.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/releases/v17/17-6.mdx (via runImport (symbol, a top-level function), /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/releases/v18/18-1.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))
  • content/docs/releases/v18/18-2.mdx (via /:object/import (route, bridged from symbol runImport — its route source's handler names it))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 183 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 5727092e72f7c8f34964a98ca0aef01103305719 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 28684fef123ca396c95bde8e231b43e4cf957824 — the merge of head ef15e26f3fb777d0e3055cee7d507fd0e3583315 into base 5727092e72f7c8f34964a98ca0aef01103305719, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 28684fef123ca396c95bde8e231b43e4cf957824 && git checkout 28684fef123ca396c95bde8e231b43e4cf957824
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 5727092e72f7c8f34964a98ca0aef01103305719 ef15e26f3fb777d0e3055cee7d507fd0e3583315 && git checkout -B drift-repro 5727092e72f7c8f34964a98ca0aef01103305719 && git merge --no-ff ef15e26f3fb777d0e3055cee7d507fd0e3583315

node scripts/docs-audit/affected-docs.mjs --json 5727092e72f7c8f34964a98ca0aef01103305719

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 5727092e72f7c8f34964a98ca0aef01103305719 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract-review-claim: session_01WGufzhjqviExWpzQMm57Mt · head ef15e26 · 2026-11-24T15:53Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ef15e26f3fb777d0e3055cee7d507fd0e3583315
Local-runs: none
Scope: packages/spec/src/system/validation-message.ts + packages/core/src/utils/import-runner.ts

Inputs read: card #36980 (body and all 4 comments: triage, claim, os-dev-report, claim amendment), PR #37009 (body, 7-file list, net diff against merge base 57445a6), and the check-runs on this head. The remainder of the diff (ui/packages/plugin-grid/src/ImportWizard.tsx, the three test files, the changeset) is the lane seat's ACCEPT at TIER_DEFAULT and is not judged in ④.

① Derived judgments

  • Accept-set: no change — right. The spec hunk adds one string entry per locale to BUILTIN_VALIDATION_MESSAGES and one docblock paragraph. No Zod shape, no export, no FieldErrorCode, no ledger code (DUPLICATE_MATCH_KEY is already in api/error-code-ledger.zod.ts), no authorable key moves. Spec property liveness and Type Check · source gates are green on the head.
  • Public surface, catalog: one additive message key — right. import_duplicate_match_key exists in en, zh-CN, ja-JP and es-ES, so the catalog's "every locale defines every message key" pin holds (Test Core green). The const is typed Record of string to string, so no type narrows or widens for a consumer.
  • Public surface, override namespace: one new addressable key — right. validation.field.import_duplicate_match_key becomes overridable through the existing prefix rule (validationMessageTranslationKey); nothing existing is renamed, and a deployment with no such translation entry falls to the built-in as before.
  • Wire: the row result keeps its members; only the error text of a DUPLICATE_MATCH_KEY row moves — right. row, ok, action, code, error are unchanged and no field is added (pinned by the new core test's key-set assertion). The text now reads in context.locale and names the key set by label. For an English request the sentence is the same template with the label where the API name stood; a field with no label still reads its API name. The published descriptions that speak of this row (api/export.zod.ts "naming every row that carries it"; import-mappings.mdx "error names them all") stay true: the row numbers are kept. No published text quotes the old sentence.
  • Dependency direction: unchanged — right. core/import-runner.ts now imports the runtime renderValidationMessage from @objectstack/spec/system; core/import-coerce.ts already does, so no new edge.

② Semver level

Clause-②: no — right. Nothing an author can write or a client can send is accepted or refused differently, and no response member is added or removed; the change is the human-readable error text of one row code. Metadata-protocol: none — right, the diff adds no key, value or type a metadata author writes (a translation entry under the new key is an existing free-form override surface, not a new protocol key).

The changeset is patch on @objectstack/spec, @objectstack/core, @objectstack/rest and @object-ui/plugin-grid, which matches a bug fix with kind none. All four sit in the one fixed group of .changeset/config.json, so naming @objectstack/rest (test-only diff there) changes nothing that publishes. Both declaration lines are in the changeset body and the PR body, and agree. Check Changeset is green.

③ Boundary flags

open_questions in the os-dev-report: empty. Dev flags (the report's deviations and out_of_scope_findings), each answered:

  • import-upsert-in-file-duplicate-key.test.ts outside the claimed surface — accepted. The claim amendment (comment 7136736546) names the file; the diff there respells the expected key set by label and touches no row, code or count assertion.
  • Bounded in-place fix: the failed-rows download prefixes by label — outside this record's scope (wizard file); it is declared in the PR, named in the claim amendment, and is the lane seat's ACCEPT.
  • Changeset names @objectstack/rest — harmless, see ②.
  • Local scope: full rest suite not run locally, check:dual-build-cjs-loads NOT MEASURED — answered by the head's check-runs: Test Core (10/10 shards), Build Core, Lint & Repo Gates, TypeScript Type Check, Test UI (16/16), Type Check UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate all concluded success. No check-run on this head failed; the skipped ones are opt-in or schedule-gated.
  • Other English row sentences in the same runner (BLANK_MATCH_KEY, the multi-value match-key refusal) — a true residue of the same family, not this card's two sentences. Noted, not filed by the dev; it deserves a follow-up card so the row report is not left half translated. Not a finding on this head.
  • PR body layout / --ran format note — process notes, no contract bearing.

SQL push-down: the diff adds no query, no id materialisation and no in-app join. The duplicate grouping (rowsSharingKey) is pre-existing and untouched; the new code formats a string from values already in memory. No finding.

④ Design judgment

packages/spec/src/system/validation-message.ts (hits). Judged against card #36980 expectation 1 (the sentence in the request's language, the key by field label) and its first consumer, the runner.

  • Placement holds. The docblock's own rule for the import_* family is "they land in the same row report a user reads", and this sentence is in that report; putting it in the same catalog gives it the same locale matching (resolveBundleLocale), the same en last resort and the same override hook, with no second mechanism.
  • The four templates carry exactly the two placeholders the runner fills, «label» and «rows», and each keeps both facts the published row description promises (which rows, that none was written, what to do). The English template is the previous sentence with the placeholder in the API name's place.
  • Break attempts, none succeeded: a label or override that itself contains placeholder syntax is not re-expanded (interpolateValidationMessage is a single pass over the template, and the override is fetched as a template without params); params.label cannot be shadowed because renderValidationMessage writes label after spreading params; an unknown or absent locale resolves to en; a throwing translator is caught and the built-in is used.
  • The reader-language claim holds end to end on the card's path: the REST import builds its metaMap through applyLocalizedFieldLabels (rest/import-prepare.ts, read, not reviewed), so the «label» the runner passes is the request-locale label (邮箱), the same source the cell failures use.

packages/core/src/utils/import-runner.ts (implementing). Read against the docblock paragraph sentence by sentence.

  • "the importer's ROW refusal for rows of one file that share a match key (DUPLICATE_MATCH_KEY, core/import-runner.ts)" — agrees: the only call site is the DUPLICATE_MATCH_KEY row, and the row carries no field.
  • "read in the same language" — agrees: duplicateMatchKeyMessage passes coerceCtx.locale and coerceCtx.translate, the very pair coerceError uses for the cell failures.
  • "«rows» the row numbers that carry the key, both filled by the runner" — agrees: rowNos.join(', '), the same join as before.
  • "«label» is the key set by field LABEL, never the API names" — agrees for every labelled field; see N1 for the unlabelled one.

Findings:

  • N1 (nit) — the docblock says the key set is named by label, "never the API names", while the runner falls back to the API name for a field that has no label (metaMap.get(f)?.label?.trim() || f), and the new core test pins that fallback. The fallback is the catalog's standing rule for «label» (RenderValidationMessageInput.label: "falls back to the API name") and is the right behaviour; only the word "never" overstates it. No effect on correctness or on what a consumer can rely on. Left as an accepted deviation; reword in a later touch of the file ("the API name only for a field with no label"), not on this head.
  • N2 (nit) — two key-set fields that share a label, or a label that itself contains " + ", make the joined «label» ambiguous to the reader. Cosmetic, same limit as any label-based message; no action.

No must-fix, no should-fix.

Implemented-by: claude/issue-36980-import-row-errors-reader-language
Reviewed-by: session_01WGufzhjqviExWpzQMm57Mt

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

席位核对 — ACCEPT · repo:objectstack#3 · head ef15e26 · 2026-11-24T15:59Z

L1: ACCEPT
Head-sha: ef15e26f3fb777d0e3055cee7d507fd0e3583315
Reviewer: L1-b (3) (seat 3, area ux-D).
Tier: not Tier H. This is card #36980's only PR: 7 files, +307/−8 (315 lines). Not governed (check-governed-merges.mjs: 0 of 7 paths).
Contract review: CONTRACT_REVIEW_TIER PASS on this head, 7136918215 (claim 7136797311). Its nits N1 and N2 are left as accepted deviations.

Read

Checklist

  • Shape. Draft, base main, first line Fixes #36980. The card's two expectations are both delivered here, so Fixes is right.
  • Expectation 1, the duplicate-key sentence in the request language, the key by label. The runner renders DUPLICATE_MATCH_KEY through renderValidationMessage with coerceCtx.locale and coerceCtx.translate, the same pair the cell failures beside it use. The key set is joined by field label, with the API name only for a field that has none. The new catalog entry import_duplicate_match_key is in all four locales, and the zh-CN, ja-JP and es-ES sentences read naturally and keep the row numbers, "none was written" and the remedy. The row keeps its five members (pinned by the new core test's key-set assertion). The REST door's metaMap carries request-locale labels (applyLocalizedFieldLabels), so a zh-CN import reads 「邮箱」 where it read email. Met.
  • Expectation 2, no _record: prefix. rowErrorFieldLabel returns no label for _record or a missing field. It is used by formatDryRunError (the dry-run findings and the result screen, line 3392) and by the failed-rows download. A field-level error keeps Label: message. The new wizard test drives all three surfaces through the real wizard. Met.
  • Adjacent in-place fix. The failed-rows download's prefix moves from the API name to the field label. It is named in the claim amendment and the changeset, and fieldLabelByName joins the callback's dependency list. Accepted.
  • Rest test respelling. import-upsert-in-file-duplicate-key.test.ts only respells the expected key set by label (Supplier + Type + No.), with no row, code or count assertion touched. It is named in amendment 7136736546.
  • Declarations. Clause-②: no and Metadata-protocol: none hold: no export or member moves, and a catalog entry is not an authorable key. patch on the four packages, all in the one fixed group.
  • Changeset prose. Read sentence by sentence; every sentence agrees with the tree, including "an English deployment reads the same sentence as before, with the field label where the API name was".

Findings

No must-fix, no should-fix.

  • N1 (nit). In the failed-rows download, a cell failure now reads Email: Email: "x" is not …. The server's cell messages already begin with «label»: (the catalog's import_* templates), and the download prefixes the label again. Before this PR it read email: Email: …, so the doubling is not new, but it is now an exact repeat. The result screen avoids it by driving known codes through formatDryRunError. A later touch could have the download reuse formatDryRunError.
  • N2 (nit). BLANK_MATCH_KEY and the multi-value match-key refusal in the same runner are still English with API names. They are outside this card's two sentences, and the PR's acceptance notes name them. They are worth a follow-up card so the row report is not half translated.
  • N3 (nit), from the contract review. The spec docblock says the key set is named by label, "never the API names", but the runner falls back to the API name for a field with no label. The behaviour is right; only the word overstates it.

Landable on full green.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Landing · 2026-11-24T16:01Z · ACCEPT 7136960885 (L1-b) at head ef15e26

reading value
check-governed-merges.mjs --pr 37009 NOT governed · +307/−8 (315 ≤ 3000; one PR for the card)
landing-k.mjs --pr 37009 OK · K = 1 < 15 · no new locale pack, no shared book moved
contract review PASS 7136918215 (CONTRACT_REVIEW_TIER, claim 7136797311) on ef15e26
open nits N1 (the failed-rows download reads the label twice for a cell failure, Email: Email: …; it read email: Email: before, so not new) goes to the seat as a nit with a user effect; N2 (BLANK_MATCH_KEY and the multi-value match-key refusal still compose in English) goes to the seat for a follow-up card; N3 (the docblock says "never the API names" while the runner falls back to the API name for an unlabelled field) stays in the review record
checks at ef15e26 59 success, 10 expected skip, 0 failed, 0 pending; mergeable clean
claim 7133105230, surface amended 7136736546

State: ready + auto-merge (area ux-D, not governed, ≤3000 lines). Fixes #36980: on MERGED the area removes pm:dispatched with a close-out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:system size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import wizard: the duplicate-match-key row error is an English sentence in a zh-CN session, and record-level validation errors carry a _record: prefix

2 participants