Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRE-44] Add restricted configuration; validate transformer values #15961

Merged
merged 9 commits into from
Jan 21, 2025

Conversation

cedric-cordenier
Copy link
Contributor

This resolves CRE-44 using two distinct solutions:

  • Extending the onchain capability configuration to include the concept of RestrictedKeys and RestrictedConfig; these are keys and config fields that can't be set by workflow authors. This is useful for certain compute configuration which we might want to store onchain, eg. MaxMemoryMBs.
  • Source maximum values for MaxMemoryMBs, TickInterval and Timeout from the job spec and validate passed in values against this; this serves as a hard maximum on these values.

Copy link
Contributor

github-actions bot commented Jan 17, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@cedric-cordenier cedric-cordenier marked this pull request as ready for review January 20, 2025 13:54
@cedric-cordenier cedric-cordenier requested review from a team as code owners January 20, 2025 13:54
jmank88
jmank88 previously approved these changes Jan 21, 2025
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jan 21, 2025
Merged via the queue into develop with commit 6facc69 Jan 21, 2025
175 of 177 checks passed
@cedric-cordenier cedric-cordenier deleted the CRE-44-restricted-config branch January 21, 2025 11:00
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.

6 participants