rigetti / rigetti/qcs-sdk-rust

Prefer inspectable objects in errors over Strings

Open
#427 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
15
Forks
4
Avg merge
1h 9m
Merged PRs (30d)
1

Description

The SDK does not differentiate between gRPC status codes received e.g. during translation, and converts all of them into string messages. This makes it difficult for consumers to detect when the failure is a transient one that should succeed after a couple tries, such as when the translation backend is under load and temporarily rejects new requests.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at crates/lib/src/executable.rs around line 703 and inspect how gRPC status codes from translation are converted into strings. Determine how the error should preserve an inspectable status so consumers can identify transient failures. Done means callers can distinguish retryable translation failures from other errors without parsing message text.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.