Skip to content

feat: Further preparation for the '--wait' support - #1923

Merged
gtema merged 1 commit into
mainfrom
waitable
Aug 10, 2026
Merged

feat: Further preparation for the '--wait' support#1923
gtema merged 1 commit into
mainfrom
waitable

Conversation

@gtema

@gtema gtema commented Aug 7, 2026

Copy link
Copy Markdown
Owner

max_transient_errors was never reset after a successful (non-terminal)
poll, making it count errors across the whole wait instead of
consecutive failures as documented.

Introduces a trait for endpoints to declare their status field location
via JSON Pointer, allowing generic wait operations without explicit
pointer arguments. Includes a convenience function wait_for_status_typed
that wraps wait_for_status but resolves the pointer from the endpoint's
trait implementation.

max_transient_errors was never reset after a successful (non-terminal)
poll, making it count errors across the whole wait instead of
consecutive failures as documented.

Introduces a trait for endpoints to declare their status field location
via JSON Pointer, allowing generic wait operations without explicit
pointer arguments. Includes a convenience function wait_for_status_typed
that wraps wait_for_status but resolves the pointer from the endpoint's
trait implementation.

Assisted-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit b97f790 into main Aug 10, 2026
14 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Aug 10, 2026
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.

1 participant