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

[#1668] fix: Replace assertions with exception-throwing codes #1804

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

rickyma
Copy link
Contributor

@rickyma rickyma commented Jun 17, 2024

What changes were proposed in this pull request?

Replace assertions with exception-throwing codes to make them work in production.

Why are the changes needed?

For: #1668.
This will make the exception checks work and make the code more reliable.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

Copy link

github-actions bot commented Jun 17, 2024

Test Results

 2 641 files  +201   2 641 suites  +201   5h 27m 33s ⏱️ + 30m 34s
   943 tests +  1     942 ✅ +  2   1 💤 ±0  0 ❌ ±0 
11 765 runs  +846  11 750 ✅ +846  15 💤 +1  0 ❌ ±0 

Results for commit e3f222e. ± Comparison against base commit 7aa95ce.

♻️ This comment has been updated with latest results.

@rickyma rickyma closed this Jun 17, 2024
@rickyma rickyma reopened this Jun 17, 2024
@rickyma rickyma marked this pull request as draft June 18, 2024 07:24
@rickyma rickyma marked this pull request as ready for review June 18, 2024 08:47
@rickyma
Copy link
Contributor Author

rickyma commented Jun 18, 2024

PTAL. @zuston @jerqi

@rickyma rickyma requested review from jerqi and zuston June 18, 2024 14:01
@rickyma
Copy link
Contributor Author

rickyma commented Jun 19, 2024

ping @zuston @jerqi

@rickyma
Copy link
Contributor Author

rickyma commented Jun 20, 2024

Gently ping @zuston @jerqi

@rickyma
Copy link
Contributor Author

rickyma commented Jun 21, 2024

ping @zuston @jerqi ~~~

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

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

lgtm

@rickyma rickyma merged commit 1482804 into apache:master Jun 24, 2024
43 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