restatedev / restatedev/sdk-rust
Improve suspension logging
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 85
- Forks
- 27
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 2
Description
I got these log messages when my Rust handler suspended:
2025-01-14T16:15:20.973864Z WARN restate_sdk::endpoint::futures::handler_state_aware: Error while processing handler Suspended rpc.system="restate" rpc.service=SignupWorkflow rpc.method=run
2025-01-14T16:15:20.973983Z WARN restate_sdk::hyper: Handler failure: Error(Suspended)
Is there a way to remove the words Error here? It seems as if something went wrong instead of right.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the logging paths shown in the report: restate_sdk::endpoint::futures::handler_state_aware and restate_sdk::hyper. Reproduce a suspended Rust handler and inspect how its status is formatted; done means suspension logs no longer present it as an error while genuine failures retain error wording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100