You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calendar: a failed reschedule toasts the raw server sentence "Record ID not found in OBJECT_NAME", untranslated, with the machine object name and the record id #31494
The failing clause of ux-conventions.labels-over-machine-names in the QA run #31486 (subject 0647dabb), rule R-4 there, met while running records-forms.calendar-interactions acceptance[1] (which itself passes: the card rolls back). Reproduced twice.
Reproduction (stock showcase)
Mint a contributor-bound member and assign it a task: PATCH /api/v1/data/showcase_task/ID {"assignee": MEMBER_EMAIL}. The member switches the language to 中文 in the avatar menu.
As the member open /_console/apps/com.example.showcase/showcase_task/view/calendar.
As admin reassign the task away: PATCH /api/v1/data/showcase_task/ID {"assignee":"ada@example.com"}.
As the member drag that card to another day.
Expected: a translated message that names the object by its label (任务 / Task), with no raw id.
Actual: the PATCH answers 404, the card rolls back correctly, and the toast reads Record WB5z1sLAsWgE1tXL not found in showcase_task: English on a zh-CN session, the machine object name, the raw record id.
Mechanism
ui/packages/plugin-calendar/src/ObjectCalendar.tsx, around line 1346: the error toast takes declaredUserMessage(err), then a permission branch (isPermissionError), then extractWriteErrorMessage(err). A 404 RECORD_NOT_FOUND is not a permission error, so the toast shows the server's error text, built by packages/core/src/utils/record-not-found.ts line 55 (Record ${id} not found in ${object}). A 404 on reschedule (the row was deleted or is no longer visible) has no translated, labelled branch. The shared extractWriteErrorMessage may be the better place for the fix.
Owning package: @object-ui/plugin-calendar. Full evidence: #31486, slice C3b.
Claim: PM loop round 1 · 2026-11-08T12:16Z
Session: session_01QsR2jSxTNXbFBqyMe2bkhV (card thread, dev) · seat session_01QsR2jVEjiYrK7onirxUGyo
Account: zhuangjianguo
Branch: claude/project-thread-0et78n
Worktree: objectstack-issue-31494
Domain: domain:ui
Seat: domain:ui#3
File surface: ui/packages/plugin-calendar/src/ObjectCalendar.tsx, its tests, locale packs if a key is added, root .changeset/; ⛔ no server or packages/spec/** change
Container & model: S, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui/packages/plugin-calendar/src/ObjectCalendar.tsx reschedule toast (~L1340) in objectstack falls through to extractWriteErrorMessage on a 404 | the platform path is the RECORD_NOT_FOUND code plus the object label the calendar already holds | an end user in any non-English locale; a routine drag shows a raw English sentence with the machine name and id
Thread-read: 6721205704
Premise: holds: the toast chain declaredUserMessage → isExternalWriteRefusal → isPermissionError → extractWriteErrorMessage has no not-found branch (L1340–1348), on origin/main58f66b937
Serial constraints cleared: other domain:ui cards in build on this seat are #31472, #31492, #31494 and #27482, on disjoint source files; any shared locale-pack lines are serialised by the merge queue
Scope: the card's Expected: a translated sentence naming the object by its label, no id, rollback kept. Fix at the calendar toast; a move into the shared extractWriteErrorMessage stops for a caller census first. PR says Fixes #31494. Brief: /mnt/project-files/issue-31494/brief.md.
Clause-②: yes (widening). No existing sentence names the object for a not-found (form.recordNotFoundOrHidden takes no object), so the dev adds one key, calendar.rescheduleNotFound, in every @object-ui/i18n locale pack. A new key widens the client surface, so it reads Clause-②: yes (widening) and its TIER_DEFAULT declaration review is owed before landing.
Surface: adds ui/packages/i18n/src/locales/*.ts (the one key). The label comes from the served objectSchema.label, then the app's object-label translation, then the existing form.recordNotFoundOrHidden sentence, so a machine name never shows.
Classifier:errorCodeIs from @object-ui/types (already a runtime dependency) for RECORD_NOT_FOUND, plus a 404 status read, inside ObjectCalendar.tsx. is404Error in @object-ui/data-objectstack is a devDependency of plugin-calendar only, so it is not used, and package.json is unchanged. The shared extractWriteErrorMessage is untouched.
{
"issue": 31494,
"status": "done",
"branch": "claude/project-thread-0et78n",
"pr": "https://github.com/objectstack-ai/objectstack/pull/31528",
"head": "d15c0ad4",
"session": "session_01QsR2jSxTNXbFBqyMe2bkhV",
"premise_still_valid": true,
"summary": "A reschedule refused with 404 RECORD_NOT_FOUND now toasts calendar.rescheduleNotFound naming the object by its served label (else the app's objectLabel translation, else the existing form.recordNotFoundOrHidden sentence), never the server sentence, record id or machine name; the optimistic move still rolls back. The branch sits after the userMessage, external-source and permission branches. Classifier is a module-local isRecordNotFound on errorCodeIs from @object-ui/types (code on the error or details, or status 404); shared extractWriteErrorMessage untouched. One new key in all eleven locales packs, zh-Hant generated.",
"tests": "ObjectCalendar.markedRefusalToast.test.tsx 12/12 (6 new: labelled en sentence + rollback, zh session sentence, no-label generic, marked 404, external-source, unmarked 403). vitest packages/plugin-calendar/ packages/i18n/: 167 files passed, 2312 tests passed, 108 skipped, at a934d107 and again at d15c0ad4 after merging main. turbo type-check plugin-calendar + i18n: 53/53. eslint two calendar files: 0 errors. Ablation via scripts/ablation-replace.mjs (isRecordNotFound(err) -> false): 3 failed / 9 passed, the 3 not-found cases received 'Record v1 not found in visit'; restore blob == HEAD 8e0352a2, git diff HEAD empty. No rebuild needed: the test imports ./ObjectCalendar from src.",
"gates": "dispatch-gates --commands: 38 derived, all 38 exit 0 at a934d107 (pnpm --dir ui exec vitest run scripts/: 170 files passed); --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. After the main merge (list unchanged) re-ran at d15c0ad4: check-sdui-manifest, cross-package-test-inputs, test-source-alias, type-check-coverage, type-check-debt, undeclared-dep-imports, published-files, nul-bytes: all exit 0. PR body gates: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword: all exit 0. ui check-i18n-en-drift: exit 0. CI check-runs: in_progress at report time.",
"line_budget": "14 files, +172/-23 (ObjectCalendar.tsx +40/-1, test +106/-22, locales +13, changeset +12)",
"files_changed": [
".changeset/31494-calendar-reschedule-not-found.md",
"ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts",
"ui/packages/plugin-calendar/src/ObjectCalendar.tsx",
"ui/packages/plugin-calendar/src/ObjectCalendar.markedRefusalToast.test.tsx"
],
"deviations": [
"Classifier is not the brief's existing is404Error: it lives in @object-ui/data-objectstack, a devDependency of plugin-calendar only; approved by the seat amendment 6721392279.",
"The test harness drop-target lookup moved from the spoken cell label to the current-month cell's day number (so the zh render finds it); the unused cellLabel helper was removed, inside the claimed test surface.",
"none on declarations: Clause-② yes (widening) copied from amendment 6721392279."
],
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"mcp_calls": "3: issue_read get x1, issue_read get_comments x2 (reads only)",
"api_writes": "2: fleet-write relay pr_create (PR 31528), post-stamped comment on 31494 (this report); plus 2 git pushes",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in Acceptance notes: other write toasts ending in extractWriteErrorMessage (11 non-test files) may show the same raw not-found sentence; not measured, not filed"
]
}
ACCEPT → PR #31528 comment 6722160713 · 2026-11-08T13:36Z · head d15c0ad4 (a refused reschedule of a gone record toasts a translated sentence naming the object by its label; 195 lines, not governed, Fixes #31494). Declaration review PASS 6722000697. Landing through the merge queue.
closed completed by the PR's Fixes; labels bug, priority:p2, domain:ui (pm:dispatched removed)
Delivered: a calendar reschedule refused with 404 RECORD_NOT_FOUND toasts the new calendar.rescheduleNotFound sentence in the session language, naming the object by its label (served label, then the app's translation, then the existing nameless sentence), with no record id or machine name; the event still rolls back. Remaining: none.
Activity
objectstack-fleet commentedon Nov 8, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: audit · p2 ·
domain:ui· 2026-11-08T11:59Z⛔ Not a claim.
qa#1, subject0647dabb). A failed calendar reschedule toasts the raw server sentence "Record ID not found in OBJECT_NAME": untranslated in a 中文 session, with the machine object name. It is the failing clause ofux-conventions.labels-over-machine-names.domain:ui.pm:queue.Generated by Claude Code
objectstack-fleet commentedon Nov 8, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Claim: PM loop round 1 · 2026-11-08T12:16Z
Session:
session_01QsR2jSxTNXbFBqyMe2bkhV(card thread, dev) · seatsession_01QsR2jVEjiYrK7onirxUGyoAccount:
zhuangjianguoBranch:
claude/project-thread-0et78nWorktree:
objectstack-issue-31494Domain:
domain:uiSeat:
domain:ui#3File surface:
ui/packages/plugin-calendar/src/ObjectCalendar.tsx, its tests, locale packs if a key is added, root.changeset/; ⛔ no server orpackages/spec/**changeContainer & model: S,
mode:thread,model: default tier(dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
ui/packages/plugin-calendar/src/ObjectCalendar.tsxreschedule toast (~L1340) in objectstack falls through toextractWriteErrorMessageon a 404 | the platform path is theRECORD_NOT_FOUNDcode plus the object label the calendar already holds | an end user in any non-English locale; a routine drag shows a raw English sentence with the machine name and idThread-read: 6721205704
Premise: holds: the toast chain
declaredUserMessage→isExternalWriteRefusal→isPermissionError→extractWriteErrorMessagehas no not-found branch (L1340–1348), onorigin/main58f66b937Serial constraints cleared: other
domain:uicards in build on this seat are #31472, #31492, #31494 and #27482, on disjoint source files; any shared locale-pack lines are serialised by the merge queueScope: the card's Expected: a translated sentence naming the object by its label, no id, rollback kept. Fix at the calendar toast; a move into the shared
extractWriteErrorMessagestops for a caller census first. PR saysFixes #31494. Brief:/mnt/project-files/issue-31494/brief.md.objectstack-fleet commentedon Nov 8, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Claim amendment · 2026-11-08T12:18Z · claim 6721374461
form.recordNotFoundOrHiddentakes no object), so the dev adds one key,calendar.rescheduleNotFound, in every@object-ui/i18nlocale pack. A new key widens the client surface, so it readsClause-②: yes (widening)and itsTIER_DEFAULTdeclaration review is owed before landing.ui/packages/i18n/src/locales/*.ts(the one key). The label comes from the servedobjectSchema.label, then the app's object-label translation, then the existingform.recordNotFoundOrHiddensentence, so a machine name never shows.errorCodeIsfrom@object-ui/types(already a runtime dependency) forRECORD_NOT_FOUND, plus a 404 status read, insideObjectCalendar.tsx.is404Errorin@object-ui/data-objectstackis a devDependency ofplugin-calendaronly, so it is not used, andpackage.jsonis unchanged. The sharedextractWriteErrorMessageis untouched.Metadata-protocol: nonestands.objectstack-fleet commentedon Nov 8, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jSxTNXbFBqyMe2bkhV
os-dev-report
{ "issue": 31494, "status": "done", "branch": "claude/project-thread-0et78n", "pr": "https://github.com/objectstack-ai/objectstack/pull/31528", "head": "d15c0ad4", "session": "session_01QsR2jSxTNXbFBqyMe2bkhV", "premise_still_valid": true, "summary": "A reschedule refused with 404 RECORD_NOT_FOUND now toasts calendar.rescheduleNotFound naming the object by its served label (else the app's objectLabel translation, else the existing form.recordNotFoundOrHidden sentence), never the server sentence, record id or machine name; the optimistic move still rolls back. The branch sits after the userMessage, external-source and permission branches. Classifier is a module-local isRecordNotFound on errorCodeIs from @object-ui/types (code on the error or details, or status 404); shared extractWriteErrorMessage untouched. One new key in all eleven locales packs, zh-Hant generated.", "tests": "ObjectCalendar.markedRefusalToast.test.tsx 12/12 (6 new: labelled en sentence + rollback, zh session sentence, no-label generic, marked 404, external-source, unmarked 403). vitest packages/plugin-calendar/ packages/i18n/: 167 files passed, 2312 tests passed, 108 skipped, at a934d107 and again at d15c0ad4 after merging main. turbo type-check plugin-calendar + i18n: 53/53. eslint two calendar files: 0 errors. Ablation via scripts/ablation-replace.mjs (isRecordNotFound(err) -> false): 3 failed / 9 passed, the 3 not-found cases received 'Record v1 not found in visit'; restore blob == HEAD 8e0352a2, git diff HEAD empty. No rebuild needed: the test imports ./ObjectCalendar from src.", "gates": "dispatch-gates --commands: 38 derived, all 38 exit 0 at a934d107 (pnpm --dir ui exec vitest run scripts/: 170 files passed); --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. After the main merge (list unchanged) re-ran at d15c0ad4: check-sdui-manifest, cross-package-test-inputs, test-source-alias, type-check-coverage, type-check-debt, undeclared-dep-imports, published-files, nul-bytes: all exit 0. PR body gates: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword: all exit 0. ui check-i18n-en-drift: exit 0. CI check-runs: in_progress at report time.", "line_budget": "14 files, +172/-23 (ObjectCalendar.tsx +40/-1, test +106/-22, locales +13, changeset +12)", "files_changed": [ ".changeset/31494-calendar-reschedule-not-found.md", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts", "ui/packages/plugin-calendar/src/ObjectCalendar.tsx", "ui/packages/plugin-calendar/src/ObjectCalendar.markedRefusalToast.test.tsx" ], "deviations": [ "Classifier is not the brief's existing is404Error: it lives in @object-ui/data-objectstack, a devDependency of plugin-calendar only; approved by the seat amendment 6721392279.", "The test harness drop-target lookup moved from the spoken cell label to the current-month cell's day number (so the zh render finds it); the unused cellLabel helper was removed, inside the claimed test surface.", "none on declarations: Clause-② yes (widening) copied from amendment 6721392279." ], "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "3: issue_read get x1, issue_read get_comments x2 (reads only)", "api_writes": "2: fleet-write relay pr_create (PR 31528), post-stamped comment on 31494 (this report); plus 2 git pushes", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in Acceptance notes: other write toasts ending in extractWriteErrorMessage (11 non-test files) may show the same raw not-found sentence; not measured, not filed" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 8, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
ACCEPT → PR #31528 comment 6722160713 · 2026-11-08T13:36Z · head
d15c0ad4(a refused reschedule of a gone record toasts a translated sentence naming the object by its label; 195 lines, not governed,Fixes #31494). Declaration review PASS 6722000697. Landing through the merge queue.objectstack-fleet commentedon Nov 8, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Landed · 2026-11-08T13:55Z
46ec2ec10fafc1d7aa760598c1f1b6fdb80c9b47onmaincompletedby the PR'sFixes; labelsbug,priority:p2,domain:ui(pm:dispatchedremoved)Delivered: a calendar reschedule refused with
404 RECORD_NOT_FOUNDtoasts the newcalendar.rescheduleNotFoundsentence in the session language, naming the object by its label (served label, then the app's translation, then the existing nameless sentence), with no record id or machine name; the event still rolls back. Remaining: none.