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
upgrade: rename a customer's unsuffixed pair validation rule to NAME__c in stored .custom object_extension rows #39731
area:buildbugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Category: Bug (execution of ruling 7411414171 term (3), as amended in reading 7415462403)
Grade: p2. Customers who already wrote a validation rule with a package rule's name keep a rule that does nothing after upgrade, until someone renames it by hand.
Reader: whoever claims it after PR #39729. Source: fleet.
Dedupe: rename validation rule __c object_extension → none on point. Parent #39661.
Business rationale
Tesla ruled on #39661 (「拒收重名并强制专用后缀」, 7411414171): a customer's validation rule on an installed package's object must not reuse a package rule's name, and must end in __c. Term (3) says rules already written unsuffixed are renamed on upgrade. PR #39729 refuses new collisions and ships an upgrade notice. ADR-0087 cannot carry the rename itself: a semantic entry only gives notice, and a D2 conversion cannot tell a customer's .custom row from a vendor row. So a customer who already stored require_reason beside the vendor's require_reason keeps a held copy that is inert and reported, and their check silently stops applying until they rename it. Reading 7415462403 settles this as execution of term (3) by a different vehicle, not a change of the ruling.
Expected
A package-aware stored pass (a migrate step) that renames NAME → NAME__c for validation rules in .customobject_extension rows only. Vendor rows and authored source are untouched. It is idempotent, reports each rename, and is pinned with a two-row case (customer row renamed, vendor row untouched).
Triage: lands in area:build · domain:server · Bug · p2 · pm:blocked · size S, touched 2026-12-04T15:17Z. Rationale: term (3) of ruling 7411414171 on #39661, as amended in reading 7415462403. Upgrade renames a customer's unsuffixed pair validation rule to NAME__c in stored .customobject_extension rows, so an existing rule keeps working after upgrade. A rule silently stopping on the upgrade path is p2 as filed. pm:blocked until PR #39729 (the refusal it pairs with) merges. Issue type set to Bug.
Grade: p2 · size S · unblocks when PR #39729 merges.
Scope addition (contract review 7416563447 on PR #39729, ③ and nits N1, N3, N4):
Install door. The marketplace / install-local door does not ask the rule-name judge. An installed .custom artifact with unsuffixed rule names, or one reusing a package rule's name, is admitted today, while the sibling judges (__c field suffix, arrangement, field-patch targets) are all asked at install. This card carries that door too: refuse, or rename under the same pass, consistently with the save door.
N3:packagedRules() (registry-object-registration.ts) still lets a .custom package installed as a built artifact replace a rule by name in the compared set. Fix it alongside the install door.
N1: when the stored pass lands, reword the pair-validation-rule-suffix semantic entry and its header comment ("the rename is the row's owner's to make"), because the pass now does it.
area:buildbugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Dec 4, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:build · domain:server · Bug · p2 · pm:blocked · size S, touched 2026-12-04T15:17Z. Rationale: term (3) of ruling 7411414171 on #39661, as amended in reading 7415462403. Upgrade renames a customer's unsuffixed pair validation rule to
NAME__cin stored.customobject_extensionrows, so an existing rule keeps working after upgrade. A rule silently stopping on the upgrade path is p2 as filed.pm:blockeduntil PR #39729 (the refusal it pairs with) merges. Issue type set to Bug.Grade: p2 · size S · unblocks when PR #39729 merges.
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB
Scope addition (contract review 7416563447 on PR #39729, ③ and nits N1, N3, N4):
.customartifact with unsuffixed rule names, or one reusing a package rule's name, is admitted today, while the sibling judges (__cfield suffix, arrangement, field-patch targets) are all asked at install. This card carries that door too: refuse, or rename under the same pass, consistently with the save door.packagedRules()(registry-object-registration.ts) still lets a.custompackage installed as a built artifact replace a rule by name in the compared set. Fix it alongside the install door.pair-validation-rule-suffixsemantic entry and its header comment ("the rename is the row's owner's to make"), because the pass now does it.