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

Added significant amount of validation to components #419

Merged

Conversation

no-longer-human
Copy link
Contributor

Implement #417, by preventing lazy errors, where the primary issue is an incorrect configuration, but where the runtime error only occurs once the computation is running, resulting in difficult to diagnose errors.

The two ways this was accomplished by:

  • Add partyId validation whereever possible.
  • Add Objects.requireNonNull checks in component constructors.

Additionally:

  • Added improved dianostics for failing futures in MASCOT TestRuntime.

Focus as on preventing lazy errors, where the primary issue is an
incorrect configuration, but where the runtime error only occurs once
the system is up and running, resulting in difficult to diagnose errors.

The two ways this was accomplished by:

- Add partyId validation whereever possible.
- Add `Objects.requireNonNull` checks in component constructors.

Additionally:

- Added improved dianostics for failing futures in MASCOT `TestRuntime`.
@quackzar quackzar merged commit 83ed851 into aicis:master Apr 2, 2024
1 check failed
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.

None yet

2 participants