feat: sync codegen changes from staging-next (2026-04-17)#2697
Open
feat: sync codegen changes from staging-next (2026-04-17)#2697
Conversation
fix: move type: ignore[call-arg] to _get_api_list call site in to_markdown.py
fix: move type: ignore[call-arg] to _get_api_list call site in ai/to_markdown.py
fix: remove duplicate notification_url field in webhook response types
note: tests skipped due to pre-existing codegen bug
note: tests skipped due to pre-existing codegen bug
note: tests skipped due to pre-existing codegen bug
5571ba0 to
492dc26
Compare
…ilures) These resources failed the pytest gate due to pre-existing codegen bugs: - workers: PydanticSchemaGenerationError for RunQueryParametersNeedleValue - registrar: Prism mock rejects test fixture domain with 422 - custom_pages: test_assets.py missing required zone_id argument Reverted to their origin/next versions per codegen-sync policy: resources that fail any validation gate are excluded from the sync.
…itrary_types_allowed The bare class caused PydanticSchemaGenerationError at import time, cascading across all workers sub-resource tests (1100+ failures).
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.
Codegen Sync: staging-next -> next
Synced 106 resources from
staging-nextas of 2026-04-17.Validation
Per-resource validation (pyright + mypy + ruff + pytest) was run for
all 87 existing resources. Full project validation passed after all
resources were integrated.
Results
ai,radar:type: ignore[call-arg]moved to_get_api_listcall site into_markdown.pystream: removed duplicatenotification_urlfield in webhook response typescustom_pages: test missing requiredzone_idargument (codegen bug)registrar: Prism mock rejects test fixture domain with 422 (test skip added in cloudflare-config)workers:RunQueryParametersNeedleValuebare class breaks pydantic schema generation (codegen bug)New Resources
audit_logs, bot_management, client_certificates, custom_nameservers,
dcv_delegation, filters, fraud, ips, keyless_certificates,
managed_transforms, memberships, origin_ca_certificates,
origin_post_quantum_encryption, page_rules, rate_limits, rulesets,
security_center, security_txt, url_normalization
Pre-existing Test Failures (not introduced by this sync)