livepeer / livepeer/clearinghouse

side-track: livepeer-python-gateway — fail fast on signer HTTP 483 insufficient balance

Open
#72 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

billing feature go-livepeer
Dominant language
Go
Stars
1
Forks
3
Avg merge
1h 47m
Merged PRs (30d)
3

Description

Summary

Side-track (non-blocking for clearinghouse deliverables). Tracks the gateway consumer of the remote-signer 483 insufficient_balance contract.

When the identity webhook / balance gate denies signing (allowance exhausted), go-livepeer returns HTTP 483. The Python gateway must fail fast — no orchestrator fallback — and surface InsufficientBalance to callers.

Implementation

Open PR: livepeer/livepeer-python-gateway#44

  • Map signer HTTP 483 → InsufficientBalance
  • Fail fast in LV2V and BYOC/training payment paths (no orch retry)

Why side-track

This is gateway + go-livepeer wire-protocol work that pairs with clearinghouse’s balance gate (483 / trial_credits_exhausted), but lives outside this repo and should not block D2.

Related

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 with livepeer/livepeer-python-gateway#44 and inspect the signer HTTP 483 handling plus the LV2V and BYOC/training payment paths. Done means the gateway maps 483 insufficient_balance to InsufficientBalance, fails fast without orchestrator fallback, and surfaces it to callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.