Skip to content

Conversation

carlydf
Copy link
Contributor

@carlydf carlydf commented Feb 6, 2025

What changed?

Make describe closed wf return not found and add tests

Why?

How did you test it?

Potential risks

Documentation

Is hotfix candidate?

@carlydf carlydf requested a review from a team as a code owner February 6, 2025 02:28
@carlydf carlydf requested a review from Shivs11 February 6, 2025 02:31
Copy link
Contributor

@ShahabT ShahabT left a comment

Choose a reason for hiding this comment

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

This works, but I wonder if it was better for the query handler to just return an error when the wf is closed rather than pushing logic of checking closed to the client. That way, keeping just a in-memory bool in wf memory would be enough, without need for augmenting protos.

@ShahabT ShahabT force-pushed the versioning-3.1-merge branch 2 times, most recently from 616671c to b5acfe9 Compare February 6, 2025 08:34
@ShahabT ShahabT force-pushed the versioning-3.1-merge branch from 122d338 to 9140a68 Compare February 6, 2025 17:17
@carlydf carlydf merged commit b8cfd85 into versioning-3.1-merge Feb 6, 2025
47 of 49 checks passed
@carlydf carlydf deleted the cdf/handle-closed branch February 6, 2025 19:09
ShahabT added a commit that referenced this pull request Feb 6, 2025
…oyments excludes closed (#7267)

## What changed?
Make describe closed wf return not found and add tests

## Why?
<!-- Tell your future self why have you made these changes -->

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

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

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->

---------

Co-authored-by: ShahabT <shahab.tajik@temporal.io>
Co-authored-by: Shivam Saraf <shivam.saraf@temporal.io>
ShahabT added a commit that referenced this pull request Feb 6, 2025
…oyments excludes closed (#7267)

## What changed?
Make describe closed wf return not found and add tests

## Why?
<!-- Tell your future self why have you made these changes -->

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

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

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->

---------

Co-authored-by: ShahabT <shahab.tajik@temporal.io>
Co-authored-by: Shivam Saraf <shivam.saraf@temporal.io>
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