Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: Implement pipeline-wide policy config #41

Merged
merged 1 commit into from
Jun 25, 2022
Merged

Conversation

scarmuega
Copy link
Member

This PR introduces a new way to define pipeline-wide runtime policies to handle known errors.

The policy is configured by adding a top-level section in the toml such as this:

[policy]
missing_data = "Skip" | "Warn" | "Default"
cbor_errors = "Skip" | "Warn" | "Default"
ledger_errors = "Skip" | "Warn" | "Default"
any_error = "Skip" | "Warn" | "Default"

@scarmuega scarmuega requested review from matiwinnetou and rvcas June 25, 2022 22:37
@scarmuega scarmuega merged commit 3dff913 into main Jun 25, 2022
@scarmuega scarmuega deleted the feat/runtime-policy branch June 25, 2022 22:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants