Skip to content

Conversation

@dharmvr1
Copy link

@dharmvr1 dharmvr1 commented Feb 2, 2026

continuation to #4694

@dharmvr1 dharmvr1 marked this pull request as draft February 2, 2026 16:29
@dharmvr1
Copy link
Author

dharmvr1 commented Feb 2, 2026

Hi @rami3l @ChrisDenton — quick check: is this the right approach, or should exit codes be handled differently? Also, do we want to replace all exit codes with named constants, or only the ones in the update/no-update path? Any advice would be appreciated.
thanks

@ChrisDenton
Copy link
Member

Yes, it should change all exit codes to use constants.

@dharmvr1 dharmvr1 marked this pull request as ready for review February 2, 2026 23:31
@dharmvr1 dharmvr1 requested a review from rami3l February 3, 2026 14:02
@dharmvr1 dharmvr1 requested a review from rami3l February 3, 2026 15:16
Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

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

LGTM modulo #4700 (comment), many thanks!

PS: Please squash all commits into one when you are done so that we can merge it.

Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

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

LGTM modulo #4700 (comment), many thanks!

PS: Please squash all commits into one when you are done so that we can merge it.

@dharmvr1 dharmvr1 force-pushed the exit_code_constant branch 2 times, most recently from 49af512 to 1394af8 Compare February 3, 2026 16:24
@dharmvr1 dharmvr1 requested a review from rami3l February 3, 2026 16:25
Copy link
Member

@rami3l rami3l left a comment

Choose a reason for hiding this comment

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

Just change the commit message to be the same as the PR title please? "wip" is not very descriptive :]

wip

complete add const name for exit_code

change const type to  ExitCode

change const type to  ExitCode

change to Self

adding const name for exit_code
@dharmvr1 dharmvr1 force-pushed the exit_code_constant branch 2 times, most recently from 1394af8 to 2f2e97a Compare February 3, 2026 16:40
@dharmvr1 dharmvr1 requested a review from rami3l February 3, 2026 16:41
@rami3l rami3l enabled auto-merge February 3, 2026 16:48
@rami3l rami3l added this pull request to the merge queue Feb 3, 2026
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.

3 participants