Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dev-deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ cargo-edit-upgrade 0.13.11
cargo-expand 1.0.123
cargo generate 0.23.9
cargo-nextest 0.9.138
just 1.54.0
obelisk 0.39.4
just 1.55.1
obelisk 0.39.5
pkg-config 0.29.2
rustc 1.96.0 (ac68faa20 2026-05-25)
wasm-tools 1.252.0
wasmtime 45.0.2
wasmtime 46.0.1
node.js v22.23.1
wizer 10.0.0
tinygo version 0.40.1 linux/amd64 (using go version go1.25.7 and LLVM version 20.1.8)
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package obelisk:webhook@5.2.0;
package obelisk:webhook@5.3.0;

@since(version = 5.0.0)
interface webhook-support {
Expand Down Expand Up @@ -36,6 +36,9 @@ interface webhook-support {
}

/// The status of an execution.
///
/// Superseded by `execution-status-v2`, which additionally reports the
/// `cancelling` state. Kept unchanged for backwards compatibility.
@since(version = 5.0.0)
variant execution-status {
/// Execution is scheduled to run at a specific time.
Expand All @@ -50,6 +53,23 @@ interface webhook-support {
finished(execution-status-finished),
}

/// The status of an execution, including cancellation.
@since(version = 5.3.0)
variant execution-status-v2 {
/// Execution is scheduled to run at a specific time.
pending-at(datetime),
/// Execution is currently being processed.
locked,
/// Execution is currently paused.
paused,
/// Execution is waiting for child executions to complete (workflows only).
blocked-by-join-set,
/// Cancellation has been requested; the execution is being torn down.
cancelling,
/// Execution has finished.
finished(execution-status-finished),
}

/// The finished status of an execution.
@since(version = 5.0.0)
variant execution-status-finished {
Expand Down Expand Up @@ -91,10 +111,18 @@ interface webhook-support {
@since(version = 5.0.0)
schedule-json: func(execution-id: execution-id, schedule-at: schedule-at, function: function, params: string, config: option<submit-config>, backtrace: option<wasm-backtrace>) -> result<_, schedule-json-error>;

/// Get the current status of an execution.
/// Use `get-status-v2`, which additionally reports the `cancelling` state.
// TODO: Remove this deprecated function (and `execution-status`) on the next
// major version bump of this package.
@since(version = 5.0.0)
@deprecated(version = 5.3.0)
get-status: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status, get-status-error>;

/// Get the current status of an execution.
/// Additionally reports the `cancelling` state for cancellable workflows.
@since(version = 5.3.0)
get-status-v2: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status-v2, get-status-error>;

/// Get the result of an execution, blocking until it finishes.
/// Returns Ok(Some(json)) for successful result with value,
/// Ok(None) for successful result with no value,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package obelisk:webhook@5.2.0;
package obelisk:webhook@5.3.0;

@since(version = 5.0.0)
interface webhook-support {
Expand Down Expand Up @@ -36,6 +36,9 @@ interface webhook-support {
}

/// The status of an execution.
///
/// Superseded by `execution-status-v2`, which additionally reports the
/// `cancelling` state. Kept unchanged for backwards compatibility.
@since(version = 5.0.0)
variant execution-status {
/// Execution is scheduled to run at a specific time.
Expand All @@ -50,6 +53,23 @@ interface webhook-support {
finished(execution-status-finished),
}

/// The status of an execution, including cancellation.
@since(version = 5.3.0)
variant execution-status-v2 {
/// Execution is scheduled to run at a specific time.
pending-at(datetime),
/// Execution is currently being processed.
locked,
/// Execution is currently paused.
paused,
/// Execution is waiting for child executions to complete (workflows only).
blocked-by-join-set,
/// Cancellation has been requested; the execution is being torn down.
cancelling,
/// Execution has finished.
finished(execution-status-finished),
}

/// The finished status of an execution.
@since(version = 5.0.0)
variant execution-status-finished {
Expand Down Expand Up @@ -91,10 +111,18 @@ interface webhook-support {
@since(version = 5.0.0)
schedule-json: func(execution-id: execution-id, schedule-at: schedule-at, function: function, params: string, config: option<submit-config>, backtrace: option<wasm-backtrace>) -> result<_, schedule-json-error>;

/// Get the current status of an execution.
/// Use `get-status-v2`, which additionally reports the `cancelling` state.
// TODO: Remove this deprecated function (and `execution-status`) on the next
// major version bump of this package.
@since(version = 5.0.0)
@deprecated(version = 5.3.0)
get-status: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status, get-status-error>;

/// Get the current status of an execution.
/// Additionally reports the `cancelling` state for cancellable workflows.
@since(version = 5.3.0)
get-status-v2: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status-v2, get-status-error>;

/// Get the result of an execution, blocking until it finishes.
/// Returns Ok(Some(json)) for successful result with value,
/// Ok(None) for successful result with no value,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package obelisk:webhook@5.2.0;
package obelisk:webhook@5.3.0;

@since(version = 5.0.0)
interface webhook-support {
Expand Down Expand Up @@ -36,6 +36,9 @@ interface webhook-support {
}

/// The status of an execution.
///
/// Superseded by `execution-status-v2`, which additionally reports the
/// `cancelling` state. Kept unchanged for backwards compatibility.
@since(version = 5.0.0)
variant execution-status {
/// Execution is scheduled to run at a specific time.
Expand All @@ -50,6 +53,23 @@ interface webhook-support {
finished(execution-status-finished),
}

/// The status of an execution, including cancellation.
@since(version = 5.3.0)
variant execution-status-v2 {
/// Execution is scheduled to run at a specific time.
pending-at(datetime),
/// Execution is currently being processed.
locked,
/// Execution is currently paused.
paused,
/// Execution is waiting for child executions to complete (workflows only).
blocked-by-join-set,
/// Cancellation has been requested; the execution is being torn down.
cancelling,
/// Execution has finished.
finished(execution-status-finished),
}

/// The finished status of an execution.
@since(version = 5.0.0)
variant execution-status-finished {
Expand Down Expand Up @@ -91,10 +111,18 @@ interface webhook-support {
@since(version = 5.0.0)
schedule-json: func(execution-id: execution-id, schedule-at: schedule-at, function: function, params: string, config: option<submit-config>, backtrace: option<wasm-backtrace>) -> result<_, schedule-json-error>;

/// Get the current status of an execution.
/// Use `get-status-v2`, which additionally reports the `cancelling` state.
// TODO: Remove this deprecated function (and `execution-status`) on the next
// major version bump of this package.
@since(version = 5.0.0)
@deprecated(version = 5.3.0)
get-status: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status, get-status-error>;

/// Get the current status of an execution.
/// Additionally reports the `cancelling` state for cancellable workflows.
@since(version = 5.3.0)
get-status-v2: func(execution-id: execution-id, backtrace: option<wasm-backtrace>) -> result<execution-status-v2, get-status-error>;

/// Get the result of an execution, blocking until it finishes.
/// Returns Ok(Some(json)) for successful result with value,
/// Ok(None) for successful result with no value,
Expand Down