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

🏷️ Better typings for RunDetails #600

Merged
merged 4 commits into from
Jun 5, 2020

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jun 2, 2020

Why is this PR for?

Better typings for RunDetails. Currently typings defined for RunDetails are too permisive. Even if most of our users will never have to rely on this type, for users relying on it, it requires a deep knowledge of its content.

For instance, there are 3 different causes that can mark a run as failed: property failed, too many skips or interrupted. And depending on the situation, we may or may not have a counterexample. By defining stricter typings we will provide our users with safer types but also prevent some potential bugs in our code.

In a nutshell

✔️ New feature
❌ Fix an issue
❌ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

  • Typings impact

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 2, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d2572d0:

Sandbox Source
quirky-saha-bfzbx Configuration
gallant-cori-h2u3c Configuration

@coveralls
Copy link

coveralls commented Jun 2, 2020

Coverage Status

Coverage decreased (-0.003%) to 96.055% when pulling d2572d0 on feat/better-typings-for-run-details into 1fd8ab7 on master.

@dubzzz dubzzz changed the title 🚧✨ Better typings for RunDetails ✨ Better typings for RunDetails Jun 5, 2020
@dubzzz dubzzz changed the title ✨ Better typings for RunDetails 🏷️ Better typings for RunDetails Jun 5, 2020
@dubzzz dubzzz merged commit 93d3732 into master Jun 5, 2020
@dubzzz dubzzz deleted the feat/better-typings-for-run-details branch June 5, 2020 20:37
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.

2 participants