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: add test cells for four organization rules that hold by reading only #35800
#35642 pins the sys_work_calendar / sys_work_calendar_exception organization rules under isolated with system writers and members. The contract review confirmed four more legs by reading, with no cell:
The exception→calendar rule (a calendar of another organization is refused) under the group posture, with the other organization in the caller's accessible set.
A create with no organization outside single (the hooks cannot read, so the create is refused).
The import door with an exception row naming a calendar of another organization: that row is refused alone, and the rest of the batch lands.
An exception update that carries both a new organization_id and calendar: refused on the organization rule, with zero reads. The read recorder today counts one-default reads only, so it needs to count the calendar read too.
Done when
Each of the four legs has a cell in the calendar rest test file (or the objectql unit file for leg 4). Each cell asserts the 400 VALIDATION_FAILED envelope and its reason, and has a CONTROL where the rule should not fire. Ablating each rule turns its cell red.
Grade: area:data · Test coverage · reach: maintainers of the calendar hooks · evidence: read (contract review 7033477356 N8) → p2.
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 — four test cells pinning the work-calendar organization rules that hold today only by reading — 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 — four test cells pinning the work-calendar organization rules that hold today only by reading — is small and low-risk (size S); one PR ships it with the week's other data rows. The body here stays the detail.