Skip to content

Add retryability and expiration metadata to FFI error types #1272

@chavic

Description

@chavic

Directory/OHTTP/Session errors don’t expose “retryable/fatal” or expiration metadata. Clients cannot implement safe retry/backoff or decide when to abandon a session.

Todo:

  • Add retryability flags to FFI error variants where applicable.
  • Surface expiration timestamps/TTL when the session is already expired.
  • Update sender/receiver tests to assert the retry/fatal signal.
  • Add integration tests that simulate expired sessions and assert metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions