-
Notifications
You must be signed in to change notification settings - Fork 118
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
feat(workflow): add upsert memo command #1321
Conversation
f5ea1e8
to
edbc7aa
Compare
edbc7aa
to
7e4e464
Compare
Thanks! Overall lgtm. Please also test deleting a memo and reading the memo from WorkflowHandle.describe, I think setting a value to null or undefined should work. For testing, use the new style at https://github.com/temporalio/sdk-typescript/blob/main/packages/test/src/test-integration-workflows.ts |
const workflow = await client.start(workflows.upsertAndReadMemo, { | ||
taskQueue: 'test', | ||
workflowId: uuid4(), | ||
args: [{ note2: 'bar' }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the newer test-integration-workflows.ts
and test adding, updating and removing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
LGTM apart from the testing part.
LMK if you need help with that.
@tharun208 Do you want to continue working on this, or should we take it on? We'd need some more tests, as pointed out by bergundy previously. |
Hi @mjameswh, I was on PTO but will look into this week |
Any updates here @tharun208 ? |
Any update on this getting merged? |
Bump on the ETA for this? Would be happy to pitch in! |
Hi, I will work on it today |
@tharun208 Ah! I missed your message. I just fixed your PR. |
7c901f0
to
c71b52d
Compare
What was changed
Implement
upsertMemo
commandWhy?
See temporalio/features#119
Checklist
Closes [Feature Request] Add
upsertMemo
command #1124How was this tested:
Added integration tests
Any docs updates needed?