Skip to content

Commit b9f2cfe

Browse files
committed
chore(changeset): declare Metadata-protocol for the objectql patch
Claude-Session: https://claude.ai/code/session_016cxs5HWHRyhQhA9EaXmnWy Co-authored-by: Claude <noreply@anthropic.com>
1 parent e3e83ba commit b9f2cfe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.changeset/25079-federated-report-policy-denied.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
fix(objectql): a federated object whose datasource the connect policy denied is reported at info, not in the ERROR that claims its reads hit the wrong table
66

77
Clause-②: no (log text and level only: no response, status, outcome, boot verdict or export moves)
8+
Metadata-protocol: none (a boot log line's level and text; nothing a metadata author writes changes)
89

910
- **What it was.** At `kernel:ready`, `ObjectQLPlugin` re-binds every federated (`external`) object to its remote table and reports, at ERROR, each one it could not bind. The ERROR says the object stays served while every read against it "resolves to a table named after the OBJECT … no such table, or the wrong table". It said that about an object whose datasource the host's connect policy had denied on purpose. `os migrate apply` on the stock showcase, whose managed-only policy denies every `schemaMode: 'external'` datasource, printed it after a successful apply.
1011
- **What changed.** When the datasource layer records the datasource as refused by policy (availability `blocked`), its unbound objects are reported in one `info` line instead. The line names the objects and their datasource, and says every read against them is refused with `DatasourceUnavailableError` until the policy allows that datasource. That is what the engine already does for such a read. The same line appears on every composition, serving or not, because it follows the recorded verdict alone.

0 commit comments

Comments
 (0)