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

Do not use Unvailable as error type for expected error cases #4650

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Jul 19, 2023

What changed?
Do not use Unavailable error type for expected error cases.

Why?
To correctly reflect the error case.

How did you test it?
eye_balls

Potential risks
No

Is hotfix candidate?
No

@yiminc yiminc requested a review from a team as a code owner July 19, 2023 04:22
@yiminc yiminc merged commit fdb94a5 into temporalio:master Jul 20, 2023
dnr pushed a commit that referenced this pull request Jul 21, 2023
<!-- Describe what has changed in this PR -->
**What changed?**
Do not use Unavailable error type for expected error cases.

<!-- Tell your future self why have you made these changes -->
**Why?**
To correctly reflect the error case.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
eye_balls

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No
dnr pushed a commit that referenced this pull request Jul 21, 2023
<!-- Describe what has changed in this PR -->
**What changed?**
Do not use Unavailable error type for expected error cases.

<!-- Tell your future self why have you made these changes -->
**Why?**
To correctly reflect the error case.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
eye_balls

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No
dnr pushed a commit that referenced this pull request Jul 21, 2023
<!-- Describe what has changed in this PR -->
**What changed?**
Do not use Unavailable error type for expected error cases.

<!-- Tell your future self why have you made these changes -->
**Why?**
To correctly reflect the error case.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
eye_balls

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No
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