Skip to content

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT#36452

Closed
tanvi-jagtap wants to merge 22 commits into
grpc:masterfrom
tanvi-jagtap:tjagtap_include_grpc
Closed

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT#36452
tanvi-jagtap wants to merge 22 commits into
grpc:masterfrom
tanvi-jagtap:tjagtap_include_grpc

Conversation

@tanvi-jagtap

Copy link
Copy Markdown
Collaborator

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT
Replacing GPR_ASSERT with absl CHECK.
These changes have been made using string replacement and regex.
Will not be replacing all instances of CHECK with CHECK_EQ , CHECK_NE etc because there are too many callsites. Only ones which are doable using very simple regex with least chance of failure will be replaced.
Given that we have 5000+ instances of GPR_ASSERT to edit, Doing it manually is too much work for both the author and reviewer.

@tanvi-jagtap tanvi-jagtap added release notes: no Indicates if PR should not be in release notes and removed lang/c++ lang/core labels Apr 25, 2024
@tanvi-jagtap tanvi-jagtap requested a review from yashykt April 26, 2024 03:33
@tanvi-jagtap tanvi-jagtap marked this pull request as ready for review April 26, 2024 03:33
markdroth added a commit to markdroth/grpc that referenced this pull request Apr 26, 2024
copybara-service Bot pushed a commit that referenced this pull request Apr 27, 2024
CC @tanvi-jagtap

Closes #36462

COPYBARA_INTEGRATE_REVIEW=#36462 from markdroth:build_fix 091e13d
PiperOrigin-RevId: 628549571
@tanvi-jagtap tanvi-jagtap deleted the tjagtap_include_grpc branch April 27, 2024 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants