Skip to content

feat: sync codegen changes from staging-next (2026-04-17) - #2697

Merged
musa-cf merged 95 commits into
nextfrom
sync/staging-next-2026-04-17
Apr 20, 2026
Merged

feat: sync codegen changes from staging-next (2026-04-17)#2697
musa-cf merged 95 commits into
nextfrom
sync/staging-next-2026-04-17

Conversation

@musa-cf

@musa-cf musa-cf commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Codegen Sync: staging-next -> next

Synced 106 resources from staging-next as 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.

  • pyright: 0 errors
  • mypy: 0 errors (5045 source files)
  • ruff: all checks passed

Results

  • 81 resources passed all 4 gates (pyright + mypy + ruff + pytest)
  • 3 resources required pre-existing mypy bug fixes before integration:
    • ai, radar: type: ignore[call-arg] moved to _get_api_list call site in to_markdown.py
    • stream: removed duplicate notification_url field in webhook response types
  • 3 resources passed type check + lint but have pre-existing test failures (integrated with tests skipped):
    • custom_pages: test missing required zone_id argument (codegen bug)
    • registrar: Prism mock rejects test fixture domain with 422 (test skip added in cloudflare-config)
    • workers: RunQueryParametersNeedleValue bare class breaks pydantic schema generation (codegen bug)
  • 19 new resources added, all passed pyright + mypy + ruff

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)

Resource Error Origin
workers PydanticSchemaGenerationError for RunQueryParametersNeedleValue ac5db55 (2025-05-06)
custom_pages Missing zone_id in test_assets.py 719a778 (2026-03-30)
registrar 422 from Prism mock for registrations.edit test skip added in cloudflare-config
musa-cf added 30 commits April 17, 2026 14:08
musa-cf added 21 commits April 17, 2026 14:48
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
@musa-cf
musa-cf force-pushed the sync/staging-next-2026-04-17 branch from 5571ba0 to 492dc26 Compare April 17, 2026 20:08
musa-cf added 5 commits April 17, 2026 15:36
…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).
@musa-cf
musa-cf merged commit cbf9a27 into next Apr 20, 2026
9 checks passed
@musa-cf
musa-cf deleted the sync/staging-next-2026-04-17 branch April 20, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant