Skip to content

feat: time out requests of the REST providers #599

Open

Description

@uniqueg

Why?

The components of all client packages await their provider's requests without a deadline. A request that never settles (e.g. a server that accepts the connection but never answers) leaves a component showing loading placeholders indefinitely, without an error or an event. Sourcery raised this on #597 (service-info, service-types); the same holds for every component.

What?

  • Add an optional request timeout to the REST providers (e.g. a timeout option passed to fetch as AbortSignal.timeout()), with a default of some tens of seconds, so that an expired request rejects and the components show their usual error.
  • Custom providers keep control over their own deadlines; document that a provider should reject instead of never settling.
  • Tests: an expired request shows the error and emits the empty data event.
  • Docs: the option in the providers docs of each package.

Activity

  1. added
    priority: low
    type: feature
    workload: hours
    status: triage
    on Nov 18, 2026
  2. moved this from Backlog to Ready in ELIXIR On-Cloud: Low Priorityon Nov 18, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 18, 2026
  4. self-assigned this
    on Nov 18, 2026
  5. moved this from Ready to In progress in ELIXIR On-Cloud: Low Priorityon Nov 18, 2026
  6. moved this from In progress to In review in ELIXIR On-Cloud: Low Priorityon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowstatus: in progresstype: featureworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions