Sitelet https://github.com/restatedev/restate/pull/5178
Skip to content

[ingress] /restate/invocation/:invocation_id/status to retrieve invocation status - #5178

Open
slinkydeveloper wants to merge 6 commits into
restatedev:mainfrom
slinkydeveloper:ingress/invocation-status
Open

[ingress] /restate/invocation/:invocation_id/status to retrieve invocation status#5178
slinkydeveloper wants to merge 6 commits into
restatedev:mainfrom
slinkydeveloper:ingress/invocation-status

Conversation

@slinkydeveloper

@slinkydeveloper slinkydeveloper commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

New endpoint in ingress GET /restate/invocation/:invocation_id/status, response type:

#[derive(Debug, Serialize)]
#[serde(rename_all = "lowercase")]
pub enum InvocationStage {
    /// Means the invocation has been created but not yet started.
    Created,
    /// The invocation started and has not yet completed.
    Started,
    /// The invocation completed, with either success or failure.
    Completed,
}

#[derive(Debug, Serialize)]
pub struct InvocationStatusResponse {
    stage: InvocationStage,
    /// Filled if `stage = 'completed'` and the invocation failed
    error: Option<InvocationError>,
}

@slinkydeveloper
slinkydeveloper marked this pull request as ready for review August 17, 2026 11:39

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Comment thread crates/ingress-http/src/handler/invocation.rs Outdated

@muhamadazmy muhamadazmy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread crates/ingress-http/src/handler/path_parsing.rs
Comment thread crates/worker-api/src/partition_processor_rpc_client.rs
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.

4 participants