Skip to content

[codex] Preserve typed SNOS RPC errors#525

Merged
prkpndy merged 1 commit into
keep-starknet-strange:mainfrom
karnotxyz:codex/preserve-snos-errors
Jun 19, 2026
Merged

[codex] Preserve typed SNOS RPC errors#525
prkpndy merged 1 commit into
keep-starknet-strange:mainfrom
karnotxyz:codex/preserve-snos-errors

Conversation

@prkpndy

@prkpndy prkpndy commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • preserve typed provider, proof, and state-update errors instead of collapsing them into generic strings
  • expose structured join/state/proof errors from generate-pie so downstream callers can distinguish retryable RPC failures from deterministic execution failures

Why

Orchestrator needs reliable SNOS error typing to avoid fail-fasting on intermittent RPC and proof-fetch failures while still failing immediately on deterministic Cairo execution errors.

Impact

  • SNOS callers can now inspect RPC/proof/state-update failures structurally
  • downstream retry logic can key off real error variants rather than string parsing

Validation

  • cargo clippy --workspace --all-features --tests --no-deps -- -D warnings
  • cargo fmt

@prkpndy prkpndy marked this pull request as ready for review June 19, 2026 06:37
@prkpndy prkpndy requested a review from Mohiiit as a code owner June 19, 2026 06:37
@prkpndy prkpndy self-assigned this Jun 19, 2026
@prkpndy prkpndy merged commit de84a89 into keep-starknet-strange:main Jun 19, 2026
5 checks passed
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.

2 participants