Skip to content

feat(sdk): add samples#1190

Merged
chris-olszewski merged 14 commits intomasterfrom
olszewski/add_samples
Apr 8, 2026
Merged

feat(sdk): add samples#1190
chris-olszewski merged 14 commits intomasterfrom
olszewski/add_samples

Conversation

@chris-olszewski
Copy link
Copy Markdown
Member

@chris-olszewski chris-olszewski commented Mar 31, 2026

What was changed

Add an examples directory to the SDK crate that will take the place of a dedicated samples-rust repository.

Each sample contains 2 binaries, a worker and a starter, along with a shared workflow.rs file and a brief readme explaining usage.

Note for reviewer: for each example, the workflow is usually the only interesting part aside from the examples that deal with signals. Otherwise all worker/starters are the same.

Why?

TSIA

Checklist

  1. Closes [Feature Request] Add Rust Samples #1186

  2. How was this tested:
    New CI job that runs each example worker/starter and verified the workflow ran.

  3. Any docs updates needed?
    Added various README.md files

@chris-olszewski chris-olszewski marked this pull request as ready for review April 1, 2026 17:54
@chris-olszewski chris-olszewski requested a review from a team as a code owner April 1, 2026 17:54
Copy link
Copy Markdown
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

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

Sick. Thanks for doing this. Didn't look in incredibly close detail but a couple things jumped out

Comment thread crates/sdk/examples/activity_heartbeating/starter.rs Outdated
Comment thread crates/sdk/examples/activity_heartbeating/starter.rs Outdated
Comment thread crates/sdk/examples/child_workflows/starter.rs Outdated
Comment thread crates/sdk/examples/child_workflows/worker.rs
Comment thread crates/sdk/examples/saga/README.md Outdated
@chris-olszewski chris-olszewski force-pushed the olszewski/add_samples branch from ed7e237 to bdd4a20 Compare April 8, 2026 13:25
@chris-olszewski chris-olszewski merged commit 723c283 into master Apr 8, 2026
21 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/add_samples branch April 8, 2026 14:08
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.

[Feature Request] Add Rust Samples

2 participants