pub struct PendingWaitpointInfo {
pub waitpoint_id: WaitpointId,
pub waitpoint_key: String,
pub state: String,
pub waitpoint_token: WaitpointToken,
pub required_signal_names: Vec<String>,
pub created_at: TimestampMs,
pub activated_at: Option<TimestampMs>,
pub expires_at: Option<TimestampMs>,
}Expand description
One entry in the read-only view of an execution’s active waitpoints.
Returned by Server::list_pending_waitpoints (and the
GET /v1/executions/{id}/pending-waitpoints REST endpoint). The
waitpoint_token is the same HMAC-SHA1 credential a suspending worker
receives in SuspendOutcome::Suspended — a reviewer that needs to
deliver a signal against this waitpoint must present it in
DeliverSignalArgs::waitpoint_token.
Exposing the token here is a deliberate API gap closure: a
human-in-the-loop reviewer has no other path to the token, since only
the suspending worker sees the SuspendOutcome. Access is gated by
the same bearer-auth middleware as every other REST endpoint.
Fields§
§waitpoint_id: WaitpointId§waitpoint_key: String§state: StringCurrent waitpoint state: pending, active, closed. Callers
typically filter to pending or active.
waitpoint_token: WaitpointTokenHMAC-SHA1 token minted at create time; required by
ff_deliver_signal and ff_buffer_signal_for_pending_waitpoint.
required_signal_names: Vec<String>Signal names the resume condition is waiting for. Reviewers that need to drive a specific waitpoint — particularly when multiple concurrent waitpoints exist on one execution — filter on this to pick the right target.
An EMPTY vec means the condition matches any signal (wildcard, per
lua/helpers.lua initialize_condition). Callers must not infer
“no waitpoint” from empty; check state / length of the outer
list for that.
created_at: TimestampMsTimestamp when the waitpoint record was first written.
activated_at: Option<TimestampMs>Timestamp when the waitpoint was activated (suspension landed).
None while the waitpoint is still pending.
expires_at: Option<TimestampMs>Scheduled expiration timestamp. None if no timeout configured.
Trait Implementations§
Source§impl Clone for PendingWaitpointInfo
impl Clone for PendingWaitpointInfo
Source§fn clone(&self) -> PendingWaitpointInfo
fn clone(&self) -> PendingWaitpointInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more