Skip to content

chore(generation): regenerate SDK for upstream stable/8.10 spec drift - #481

Merged
emilyoram merged 4 commits into
stable/10from
chore/regen-spec-drift-2026-11-20-s10
Nov 19, 2026
Merged

emilyoram merged 4 commits into
stable/10from
chore/regen-spec-drift-2026-11-20-s10

Conversation

@emilyoram

Copy link
Copy Markdown
Collaborator

Upstream camunda stable/8.10 added the PROBE resource type and the ANSWER permission (18c64ec13aa).

API change: PROBE and ANSWER are added to the resource-type and permission-type enums (component and inline variants). Existing members are unchanged, so this is additive for Python callers. No new operations.

Verification: make generate-only (no further drift), ruff check, ty check (0 errors) and acceptance tests (1009 passed).

Related issues

  • This PR does not need a linked issue

Regenerate the SDK from upstream camunda/camunda stable/8.10, which
picked up one additive spec change since the last committed bundle:

- 18c64ec13aa: PermissionTypeEnum gains ANSWER and ResourceTypeEnum
  gains PROBE. The new members also appear on the inlined
  authorization enums (permission types item and resource type of the
  id- and property-based requests, filter, search filter and result).

No operations were added or removed.
@emilyoram
emilyoram requested a review from a team as a code owner November 19, 2026 21:15
Copilot AI balanced review requested due to automatic review settings November 19, 2026 21:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the SDK authorization and specification updates.

No open issues 🎉

What changed in this PR

Updates the generated Python SDK for upstream stable/8.10 authorization changes. Existing enum members remain unchanged, and no operations are added.

Changes:

  • Add PROBE and ANSWER across shared and inline authorization enums and matching type stubs.
  • Refresh bundled specifications, resource-permission mappings, and spec hashes.
  • Update the upstream authentication schema snapshot with anonymous-user information and nullable usernames.
File Description
stubs/​camunda_orchestration_sdk/​models/​resource_type_enum.pyi Add PROBE to the shared resource-type stub.
stubs/​camunda_orchestration_sdk/​models/​permission_type_enum.pyi Add ANSWER to the shared permission stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_search_query_filter_resource_type.pyi Add PROBE to the search-filter stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_result_resource_type.pyi Add PROBE to the authorization-result stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_property_based_request_resource_type.pyi Add PROBE to the property-based request stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_property_based_request_permission_types_item.pyi Add ANSWER to the property-based permission stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_id_based_request_resource_type.pyi Add PROBE to the ID-based request stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_id_based_request_permission_types_item.pyi Add ANSWER to the ID-based permission stub.
stubs/​camunda_orchestration_sdk/​models/​authorization_filter_resource_type.pyi Add PROBE to the authorization-filter stub.
stubs/​camunda_orchestration_sdk/​_spec_hash.pyi Synchronize the spec-hash stub.
generated/​camunda_orchestration_sdk/​models/​resource_type_enum.py Add PROBE to the shared resource enum.
generated/​camunda_orchestration_sdk/​models/​permission_type_enum.py Add ANSWER to the shared permission enum.
generated/​camunda_orchestration_sdk/​models/​authorization_search_query_filter_resource_type.py Support PROBE in authorization searches.
generated/​camunda_orchestration_sdk/​models/​authorization_result_resource_type.py Support PROBE in authorization results.
generated/​camunda_orchestration_sdk/​models/​authorization_property_based_request_resource_type.py Support PROBE in property-based requests.
generated/​camunda_orchestration_sdk/​models/​authorization_property_based_request_permission_types_item.py Support ANSWER in property-based requests.
generated/​camunda_orchestration_sdk/​models/​authorization_id_based_request_resource_type.py Support PROBE in ID-based requests.
generated/​camunda_orchestration_sdk/​models/​authorization_id_based_request_permission_types_item.py Support ANSWER in ID-based requests.
generated/​camunda_orchestration_sdk/​models/​authorization_filter_resource_type.py Support PROBE in authorization filters.
generated/​camunda_orchestration_sdk/​_spec_hash.py Update the generated SDK’s spec hash.
generated/​bundled_spec.yaml Propagate enum additions into expanded schemas.
external-spec/​upstream/​zeebe/​gateway-protocol/​src/​main/​proto/​v2/​resource-permissions.json Map PROBE to ANSWER and CREATE.
external-spec/​upstream/​zeebe/​gateway-protocol/​src/​main/​proto/​v2/​authorizations.yaml Add upstream authorization enum values.
external-spec/​upstream/​zeebe/​gateway-protocol/​src/​main/​proto/​v2/​authentication.yaml Add isAnonymous, nullable usernames, and related documentation.
external-spec/​bundled/​spec-metadata.json Update the bundled spec hash.
external-spec/​bundled/​rest-api.bundle.json Include PROBE and ANSWER in bundled enums.

Review effort: Balanced

…ymous

isAnonymous was added to CamundaUserResult in 8.10.10 and the spec
marks it required. Servers on 8.10.0-8.10.9 omit it, so pop_required
made get_authentication raise MissingRequiredFieldError against them.

Add hook 0460, which pops a fixed list of such fields with a default
before hook 1260 makes the remaining pops strict. An absent isAnonymous
decodes as False: those servers never answer an anonymous caller. Every
entry must match, so a rename upstream fails generation.
Regenerated output for the preceding hook 0460 change.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the SDK authorization and authentication-compatibility update.

No open issues 🎉

Review effort: Balanced

Generating from an older SPEC_REF (for example stable/8.10 on main)
aborted hook 0460, because that spec has no isWaitStatesEnabled and the
hook required every entry to match. Entries are now keyed by schema and
applied only when the bundled spec requires the field; a required one
must still match exactly. The generated-model test also asserts the
committed bundle still requires each entry.
@emilyoram
emilyoram merged commit 36af33a into stable/10 Nov 19, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants