Repository navigation
Backlog
Backlog
Copy link
Labels
area:clouddomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Description
repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz
Follow-ups from the delta contract review 7257751723 of PR #38607 (#38184, auth declared defaults). Each was accepted as a nit there and carried here, so that #38607 lands on prose fixes only.
Items
- N8 — a dropped sibling loses its log line.
packages/plugins/plugin-auth/src/auth-plugin.ts(the audience composition block): a sibling stored alone under a declared posture that does not read it (a domain list under a declaredopenorinvite_only; a permission set under a declaredinvite_only) is now dropped with no line, wheremainlogged "audience settings IGNORED" aterror. The running audience is the same, but an operator who sets theOS_AUTH_*override of the domain list alone under a declaredopenloses the one line that said no wall exists. Restore one log line for that arm. - N9 — two stale comments.
packages/plugins/plugin-auth/src/auth-settings-declared.ts("a sibling stored without a posture is ignored") andpackages/services/service-settings/src/manifests/auth.manifest.ts("only apply together with an explicitly selected posture") still state the rule fix(plugin-auth)!: Setup → Authentication shows what the deployment runs for every declared auth setting, and a save under a declared audience runs as shown #38607 changes on purpose. Reword both to the new rule. - N11 — half-written audience between passes.
auth-plugin.tsstarts a settings pass per change event without waiting for the one before, andsettings-service.tssetManywrites row by row with an event after each row. An in-between pass (or one landing out of order) can apply a half-written audience; fix(plugin-auth)!: Setup → Authentication shows what the deployment runs for every declared auth setting, and a save under a declared audience runs as shown #38607 extends that to a sibling that is declared. Example: a declaredemail_domainwith a permission set, then a batch ofaudience_posture: 'open'and a new set, in that order, runsopenwith the DECLARED set until the next pass lands. Fix the cause: run the passes in order, or emit one change per batch. - N12 — two arms without a case.
auth-settings-live-status.test.ts: (a) the posture cleared while a sibling stays stored under a declared audience; (b) a sibling stored alone under a declared posture that does not read it (pairs with item 1). Add a case for each.
Done when
- Items 1, 2 and 4 land with their cases; item 1's case asserts the log line.
- Item 3 lands with a case that writes the batch above and asserts no pass runs the in-between audience.
Blocked-by: #38607 (the rule these items describe lands there first).
Metadata
Metadata
Assignees
Labels
area:clouddomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Nov 29, 2026
triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4
Triage: review follow-ups of PR #38607 · area:cloud · domain:server · Task · p3 · pm:blocked · size S. Rationale: one restored operator log line plus comments and pass ordering in
plugin-auth; the log line has an operator effect, so the card stays (not the no-effect close). Waits on PR #38607.objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: unlock (daily backstop) ·
pm:blocked→pm:queue· grade unchanged.Every
Blocked-by:target is done: PR #38607 merged at 2026-11-30T01:09:20Z. No assignee, no hold, same-repo targets only.