Skip to content

Clarify/implement scope (currently always empty) #235

Description

@EricAndrechek

Area: ingest — confusion / FYI · found via WaveHouse-Stats dogfooding

Expected: know whether scope (in EventMessage) provides any isolation today.

Actual: it's always empty — the multi-tenant scope concept exists in the wire format but isn't populated or used (internal/api/ingest.go:150-151, with matching // TODO: impl scope in structured_query.go:121 and stream.go:54).

Impact (Stats): none now (single-tenant); flagging so nobody assumes scope isolates anything if tenants are added.

Scope: document that scope is currently inert, and/or implement population as part of multi-tenant work.

Related: per-table policy storage + per-table authorization scopes #214 (the policy side of multi-tenant; scope is the runtime-population half).


From WAVEHOUSE-FEEDBACK.md (WaveHouse-Stats dogfooding); validated by code-read against 0f8826c on 2026-06-04.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiHTTP handlers, routing, middlewarearea/ingestIngest pipeline (Bento, batching, DLQ)documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions