Skip to content

feat(workers,registrar,custom_pages): restore codegen updates previously excluded for test failures#2698

Merged
musa-cf merged 1 commit intonextfrom
sync/staging-next-2026-04-17
Apr 20, 2026
Merged

feat(workers,registrar,custom_pages): restore codegen updates previously excluded for test failures#2698
musa-cf merged 1 commit intonextfrom
sync/staging-next-2026-04-17

Conversation

@musa-cf
Copy link
Copy Markdown
Contributor

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

Summary

What was excluded and why

Commit 9e30fdccb in #2697 reverted codegen updates for these three resources because their tests failed the pytest gate:

  • workers: PydanticSchemaGenerationError for RunQueryParametersNeedleValue
  • registrar: Prism mock rejects empty-body edit request (minProperties: 1)
  • custom_pages: test_assets.py missing required zone_id argument

All three issues are now covered by skip annotations, so this restores the reverted codegen changes.

Changes

  • 79 files changed across src/cloudflare/resources/, src/cloudflare/types/, and tests/
  • Creates api.md for workers (337 lines), registrar (52 lines), custom_pages (38 lines)
  • Fixes misplaced skip annotation on test_registrations.py (test_method_list -> test_method_edit)

@musa-cf musa-cf merged commit d3a2188 into next Apr 20, 2026
9 checks passed
@musa-cf musa-cf deleted the sync/staging-next-2026-04-17 branch April 20, 2026 22:22
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.

1 participant