chore: regenerate clients for authzed/api@3270b08244f3e97e2a57a7ee2d9c649c88b861d3 - #116
Open
authzed-client-regen[bot] wants to merge 16 commits into
Open
authzed-client-regen[bot] wants to merge 16 commits into
authzed-client-regen[bot] wants to merge 16 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerate clients for
RoaringLookupResourcesUpstream added
authzed.api.materialize.v0.RoaringLookupResourcesService, a newservice (one RPC,
ExperimentalRoaringLookupResources) that returns aroaring64-encoded bitmap of the resource object IDs a subject has a given
permission on, for bulk export into a search index that supports
roaring-bitmap terms queries (e.g. OpenSearch's
"value_type": "bitmap").The proto tier for all seven languages (Go, Python, TypeScript, C#, Java,
Ruby, Rust) regenerated to pick up the new generated types/stubs under
materialize/v0/.Only the TypeScript idiomatic client wires this into its public surface.
New public API:
SpiceDBClient.experimentalRoaringLookupResources(params: RoaringLookupResourcesParams, consistency: Consistency): Promise<RoaringLookupResourcesResult>RoaringLookupResourcesParamsandRoaringLookupResourcesResult({ bitmap: Uint8Array, cardinality: bigint, revision: string }).SpiceDBProtoClientnow exposes a fifth Connect client,materialize, alongsidepermissions/schema/watch/experimental.FailedPreconditionErrorrather than returning a partial bitmap.@experimentalper DESIGN.md's naming convention. New example underexamples/roaring_lookup_resources/covers both the response mapping and the failure case (the test SpiceDB image doesn't implement this RPC yet, confirmed returningUNIMPLEMENTED).The other six idiomatic clients (Go, Python, C#, Java, Ruby, Rust) only bump
.last-generation/CHANGELOG.md— no source changes. Each already doesn'twrap the sibling
materializepackage (it's never surfaced its otherservices either), so this is consistent prior behavior, not a regression.
Go's changelog additionally documents a real landmine: importing the new
materialize/v0generated package alongside this module's ownv1packagepanics at init from a duplicate proto file registration
(
authzed/api/v1/core.proto) — a pre-existing bug in the generatedgen/files, out of scope to fix here, but worth a reviewer's awareness before
anyone tries to wire Go up next.
ddfa3b5is a same-day, docs-only follow-up fixing an unresolved{@link bitmap}doc comment that brokemage apicompat; no API change.Automated client regeneration.
3270b08244f3e97e2a57a7ee2d9c649c88b861d3repository_dispatch/api_main_updatesuccessnone reportedb7434c00783744819f061e14d2479b02(from3270b08244f3e97e2a57a7ee2d9c649c88b861d3)Reproduce locally, against the exact revision this ran on: