Skip to content

Commit 583b692

Browse files
authored
Merge pull request #770 from obeli-sk/litestream-bump
litestream bump
2 parents d1562ce + 41b4c6e commit 583b692

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/release/docker-image/ubuntu-24.04-litestream.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY obelisk /obelisk/obelisk
99
COPY server.toml /obelisk/server.toml
1010

1111
# Install Litestream
12-
COPY --from=litestream/litestream:0.5.13 /usr/local/bin/litestream /usr/local/bin/litestream
12+
COPY --from=litestream/litestream:0.5.14 /usr/local/bin/litestream /usr/local/bin/litestream
1313

1414
ENV PATH="/obelisk:${PATH}"
1515

crates/workflow-js-runtime/src/workflow_js_runtime.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@
6767
//!
6868
//! ## Stubbing (Mock Responses)
6969
//! ```js
70-
//! // Stub a child execution with a predetermined result
70+
//! // A workflow submits a stub activity execution, obtaining its execution id.
7171
//! const js = obelisk.createJoinSet();
7272
//! const execId = js.submit("ns:pkg/activity.stub_fn", [args]);
73+
//! // The same or another workflow can provide the result using an import:
74+
//! import { fooStub } from "ns:pkg-obelisk-stub/activity.stub_fn";
75+
//! fooStub(execId, result)
76+
//! // or dynamically:
7377
//! obelisk.stub(execId, { ok: "mocked-value" }); // or { err: "error" }
7478
//! ```
7579
//!

dev-deps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ rustc 1.96.0 (ac68faa20 2026-05-25)
99
rust-version 1.96.0
1010
wasm-tools 1.252.0
1111
cargo-zigbuild 0.23.0
12-
litestream v0.5.13
12+
litestream v0.5.14
1313
ldd (GNU libc) 2.42

0 commit comments

Comments
 (0)