Runner selection: pool size, failure classification and payment_sent on rejections
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, distributed-systems
Línea de trabajo
Start with the proposal, then read RunnerSelectionCursor.next in src/livepeer_gateway/selection.py and discover_orchestrator_runners in src/livepeer_gateway/discovery.py. Trace the related reserve_session change from #37 and the still-open #36 before deciding the pool, ordering, failure categories, and payment state. Done means the requested selection and rejection information is defined and implemented consistently.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The builder engine (proposal) will build its runner failover on runner_selector / RunnerSelectionCursor. Three things are missing for that.
Today (main at 44df061):
RunnerSelectionCursor.nexttries candidates in discovery order and moves on after any exception.- Its candidates come from
discover_orchestrator_runners, which returns the runners of the first batch of five orchestrators that has any. - There is no setting for how many candidates to consider, no ordering hook, and no way to tell a capacity refusal from other failures.
RunnerRejectionrecords only the URL and a reason string, so a caller cannot tell whether a failed attempt had already paid. With a session prepay, a start refused on capacity has paid.
Request:
- A maximum pool size, so selection can consider runners across more than one orchestrator batch.
- An ordering hook, or ranking inputs.
- A classified failure reason: capacity refusal versus unreachable versus other.
- Whether payment was sent, on each rejection.
Related: #37 forwarded orchestrators through reserve_session. That change is on main, but #36 is still open.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 7
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de livepeer/livepeer-python-gateway
-
call_runner rejects a top-level JSON array, so a runner cannot pass one throughPosiblemente ocupada @rickstaa la tomó hace 48 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
livepeer/livepeer-python-gateway#64 · 1 comentario ·
-
Align pricing terminology: pixels_per_unit -> pricing_unit_size (track go-livepeer #3942)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoImprovement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
livepeer/livepeer-python-gateway#27 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
trickle_publisher: `_resolve_next_seq` fallback drops first video segment + logs noisy warningQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
livepeer/livepeer-python-gateway#12 · 1 comentario ·
-
live runner: metered session dies after ~600 tickets because ticket params are never rotatedAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 76/100
livepeer/livepeer-python-gateway#62 · 3 comentarios ·
Todos los issues de livepeer/livepeer-python-gateway
Issues similares
-
bug llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Arkansas 2025 tax is $1.70 high above $100,000 net taxable income ($3,809 + 3.9% rule)Posiblemente ocupada @PavelMakarchuk la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
PolicyEngine/policyengine-us#9828 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jellyfin/jellyfin-mpv-shim#800 ·
Los mantenedores suelen responder en 1 día
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)Posiblemente ocupada @zjncs la tomó hoy. Abiertocomponent:skillfs
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
agentic-os-org/ANOLISA#6116 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
P4: low query
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
jeffknupp/association#336 ·