Skip to content

Constrained schema generation to prevent slow units#637

Merged
katherine-hough merged 2 commits into
cedar-policy:release/2.5.xfrom
katherine-hough:gen_constraints
Jun 13, 2025
Merged

Constrained schema generation to prevent slow units#637
katherine-hough merged 2 commits into
cedar-policy:release/2.5.xfrom
katherine-hough:gen_constraints

Conversation

@katherine-hough

Copy link
Copy Markdown
Contributor

Improved the throughput of fuzzing targets that use the schema generator by imposing size constraints.

Issue #, if available:
N/A

Description of changes:

  • Added an upper bound on the number of components in a namespace's path for schema generation
  • Refactored pick_entity_types closure into function
  • Added constraint on the number of request environments per action for schema generation

…ath for schema generation

* Refactored pick_entity_types closure into function
* Added constraint on the number of request environments per action for schema generation

Signed-off-by: Katherine Hough <kmhough@amazon.com>
Signed-off-by: Katherine Hough <kmhough@amazon.com>
@katherine-hough katherine-hough merged commit 863e896 into cedar-policy:release/2.5.x Jun 13, 2025
2 of 3 checks passed
@katherine-hough katherine-hough deleted the gen_constraints branch June 13, 2025 20:27
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.

3 participants