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

Add a 'strict' flag to have a recording upload fail if any part of the upload fails. #302

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

klochek
Copy link
Contributor

@klochek klochek commented Jan 18, 2024

No description provided.

Copy link
Contributor

@jazzdan jazzdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Curious what @ryanjduffy thinks

/**
* Fail the recording upload if any part of the upload fails.
*/
strict?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there situations where we wouldn't want this behavior? I guess maybe people wouldn't appreciate their CI failing if the recording upload fails?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea why you wouldn't want this behaviour, but this is public/in the wild, and so making this anything other than opt-in could break users downstream, thus I'm adding the flag.

@klochek klochek merged commit aa45119 into main Jan 18, 2024
3 of 4 checks passed
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