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
Running-app report save and existing-view settings save name no package, so an installed app's item writes the package-unbound row, not its paired .custom package (ADR-0146 D2) #37061
Filing gate: ① suspected defect with a named location, reproduction not yet run · Source: fleet (found while revising ADRs for #36086; PR #37045 "Noted, not filed", contract review 7139668897 note N4)
What the code does (read, not run)
ui/packages/app-shell/src/views/runtime-metadata-persistence.ts, saveAndPublishRuntimeMetadata (line 568) passes a package only when it saves a new view. A report's save, and a change to an existing view's settings, made from the running app name no package. For an item of an installed package whose stored rows are not bound to exactly one package, the server then addresses the package-unbound row.
Why it matters
ADR-0146 D2 says a customization of an installed package's item lands in that package's paired .custom package. These two saves land in a place ADR-0146 does not describe. PR #37045's ADR note records this as true of main; it is not the ruled design.
Not measured
Whether some door refuses the write, and what an upgrade of the installed package then does to the change. The first step is to reproduce it: install a package with a report and a view, save both from the running app, and read which row was written.
Expected
Either both saves name the paired .custom package for an installed package's item, as ADR-0146 D2 does, or the ADR records the exception with a reason.
Business reason: a builder's change to an installed app's report or view could sit outside the package that keeps customizations, so an upgrade or uninstall may not treat it as theirs.
Dedupe: repo:objectstack-ai/objectstack is:issue is:open saveAndPublishRuntimeMetadata package → 0; is:issue is:open ADR-0146 custom package report save → 0.
Clause-②: no · Metadata-protocol: none
Grade: proposal for triage, unmeasured: area:build · Bug · not yet reproduced, so ungraded here.
Triage: lands in area:build; rationale: where a running-app customization of an installed package's item is written is the metadata write path.
Completed at first touch (the card had no type, grade or state): type Bug, priority:p2, pm:queue, domain:ui.
Grade line: area:build · Bug · a report save or an existing view's settings save from the running app lands outside ADR-0146 D2's paired .custom package · admins customizing installed apps (admin row) · read, with the mechanism named (saveAndPublishRuntimeMetadata, line 568) · size S.
First step: measure. Reproduce the two saves on an installed package's item once before any fix; if the row lands in .custom after all, close with that reading.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T18:36Z
Bug,priority:p2,pm:queue,domain:ui..custompackage · admins customizing installed apps (admin row) · read, with the mechanism named (saveAndPublishRuntimeMetadata, line 568) · size S..customafter all, close with that reading.