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

Java/Kotlin docs for the new workflow api #333

Merged
merged 2 commits into from
May 29, 2024

Conversation

slinkydeveloper
Copy link
Contributor

Plus rename durablePromise/durablePromiseHandle to promise/promiseHandle

Copy link
Contributor

github-actions bot commented May 29, 2024

Test Results

 14 files  ±0   14 suites  ±0   10s ⏱️ ±0s
665 tests +1  658 ✅ +1  7 💤 ±0  0 ❌ ±0 
665 runs  ±0  658 ✅ ±0  7 💤 ±0  0 ❌ ±0 

Results for commit 2eedc30. ± Comparison against base commit a8d7c68.

This pull request removes 6 and adds 7 tests. Note that renamed tests count towards both.
dev.restate.sdk.TestSerdesTest ‑ Byte: 71
dev.restate.sdk.TestSerdesTest ‑ Double: 0.7626391291439185
dev.restate.sdk.TestSerdesTest ‑ Float: 0.27512664
dev.restate.sdk.TestSerdesTest ‑ Integer: 1146013176
dev.restate.sdk.TestSerdesTest ‑ Long: -7650375207564171699
dev.restate.sdk.TestSerdesTest ‑ Short: -21170
dev.restate.sdk.TestSerdesTest ‑ Byte: -76
dev.restate.sdk.TestSerdesTest ‑ Double: 0.5456393491501177
dev.restate.sdk.TestSerdesTest ‑ Float: 0.60434604
dev.restate.sdk.TestSerdesTest ‑ Integer: 1146126087
dev.restate.sdk.TestSerdesTest ‑ Long: -7530717429202420943
dev.restate.sdk.TestSerdesTest ‑ Short: -4798
dev.restate.sdk.serde.jackson.JacksonSerdesTest ‑ [Till, Francesco]

♻️ This comment has been updated with latest results.

Copy link
Contributor

@gvdongen gvdongen left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Some small comments

*
* NOTE: This interface MUST NOT be accessed concurrently since it can lead to different orderings
* of user actions, corrupting the execution of the invocation.
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

should we move a bit of this explanation to the ctx.promise JavaDocs? Because those are the ones you see first before clicking on the return type.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This specific bit about not concurrent access is fine to keep it here.

@slinkydeveloper slinkydeveloper merged commit a3f7505 into main May 29, 2024
3 of 4 checks passed
@slinkydeveloper slinkydeveloper deleted the issues/wf-api-javadocs branch May 29, 2024 12:45
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.

None yet

2 participants