Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Return nil instead of task discarded error if namespace is invalid locally #4678

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Return nil instead of task discarded error if namespace is invalid locally

Why?
Returning task discarded error will make metrics confusing

How did you test it?
N/A

Potential risks
N/A

Is hotfix candidate?
N/A

@wxing1292 wxing1292 requested review from meiliang86 and yux0 July 24, 2023 23:24
@wxing1292 wxing1292 requested a review from a team as a code owner July 24, 2023 23:24
@wxing1292 wxing1292 merged commit c3fa088 into temporalio:master Jul 25, 2023
@wxing1292 wxing1292 deleted the err branch July 25, 2023 20:35
wxing1292 added a commit that referenced this pull request Jul 26, 2023
…cally (#4678)

<!-- Describe what has changed in this PR -->
**What changed?**
* Return nil instead of task discarded error if namespace is invalid
locally

<!-- Tell your future self why have you made these changes -->
**Why?**
Returning task discarded error will make metrics confusing

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

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

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
N/A
wxing1292 added a commit that referenced this pull request Jul 27, 2023
…cally (#4678)

<!-- Describe what has changed in this PR -->
**What changed?**
* Return nil instead of task discarded error if namespace is invalid
locally

<!-- Tell your future self why have you made these changes -->
**Why?**
Returning task discarded error will make metrics confusing

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

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

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
N/A
rodrigozhou pushed a commit that referenced this pull request Aug 7, 2023
…cally (#4678)

<!-- Describe what has changed in this PR -->
**What changed?**
* Return nil instead of task discarded error if namespace is invalid
locally

<!-- Tell your future self why have you made these changes -->
**Why?**
Returning task discarded error will make metrics confusing

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

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

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
N/A
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants