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
Work calendars: give an exception row in a seed load without an organization its own refusal reason #35799
Since #35642, the sys_work_calendar_exception hooks read the named calendar by id in the exception's organization, and refuse with one fixed reason ("An exception date names a calendar of its own organization.") when no row comes back. A create the hooks cannot read for is refused with the same reason. That case is a row that names an organization other than the session's, or a row with no organization outside single.
A seed load in an install with several organizations that pins none of them is told by the seed loader to name the owner on each record. Its exception rows are such creates, so they get the calendar-organization sentence. The cause of this refusal depends only on the write itself (no organization it can be judged in), so a reason of its own gives nothing away about other organizations' calendars. Loads pinned to an organization and installs with one organization are unaffected.
Done when
The unreadable-create branch in packages/objectql/src/work-calendar-service.ts refuses with a reason of its own (400 VALIDATION_FAILED, ADR-0114 field code). The reason says the row's organization could not be determined and that the record should name its organization. It names no organization, code or id.
The foreign-calendar and missing-calendar cases keep their one shared reason, byte-identical to each other (the no-existence-oracle pin stays).
A cell pins the seed-shaped case: a create with no organization outside single gets the new reason.
2026-11-20T08:49Z · Moved to the weekly data sweep #35765 as a row (maintainer-approved sweep cards, 「同意」; rule row 6 on #35760). This card's ask — a distinct, non-leaking refusal reason for a seed-loaded calendar exception with no organization — is small and low-risk (size S); one PR ships it with the week's other data rows. The body here stays the detail.
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
2026-11-20T08:49Z · Moved to the weekly data sweep #35765 as a row (maintainer-approved sweep cards, 「同意」; rule row 6 on #35760). This card's ask — a distinct, non-leaking refusal reason for a seed-loaded calendar exception with no organization — is small and low-risk (size S); one PR ships it with the week's other data rows. The body here stays the detail.