CI handoff fails the attempt when GitHub's pull request head lags behind the pushed branch
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #1048 de @usine-phildl — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github, typescript
Línea de trabajo
Start in packages/orchestrator/src/ by reading the AwaitingCi handoff and the “no harvested pull request” check, then trace the GitHub polling adapter. Add a test where the origin branch is at the pushed head while the pull request API still reports the previous head. Done means the handoff tolerates bounded API lag and reports a persistent mismatch as retryable InfraFailure.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Observed on the dogfood instance on 2026-11-05, run 570618ea8f9766b3f94c7c2db014b2a9 (act-on-findings on #1000, attempt .../act-on-findings/1).
What happened
- 16:07:47Z the child pushed
b88703dftofix/976-resume-durable-child;git ls-remoteshows the branch at that commit. - 16:09:06Z the child returned
[usine:awaiting-ci] {"pull_request":1000,"head":"b88703df…"}. - 16:09:17Z the harvest recorded the result, and the attempt failed with
AgentFailure: The CI handoff has no harvested pull request for the checkout's pushed head. - At 16:15Z GitHub's pull request API still reported
head.sha = c66d6cd4(the previous push) withupdated_at = 16:08:01Z, whilerefs/heads/fix/976-resume-durable-childwas atb88703df. The pull request head lagged the branch by several minutes (GitHub was degraded at the time).
So the handoff compared the pushed head against a stale pull request head and treated the mismatch as the agent's fault. Nothing was wrong with the push, and the operator had to rescue the item by hand (watch CI for the pushed commit, relabel, resolve the failure). This counts as a manual PR rescue for the CI-wait trial.
Expected
- The handoff accepts the agent's
pull_requestnumber plus the pushed head when the branch ref on origin is at that head, without requiring the pull request API to have caught up. - If it must read the pull request head, retry for a bounded window (GitHub can lag minutes) before failing, and log the branch head versus the pull request head on each try.
- A mismatch that persists after the window is an
InfraFailure(retryable), not anAgentFailure: the agent did what it was asked.
Files
The CI-wait handoff harvest in packages/orchestrator/src/ (the AwaitingCi state and the "no harvested pull request" check), the GitHub polling adapter, and a test with a lagging pull request head.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 3 h 23 min
- PR fusionados (30 d)
- 400
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 basaltbytes/usine
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
basaltbytes/usine#1068 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
basaltbytes/usine#1032 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
basaltbytes/usine#1080 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
basaltbytes/usine#1079 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
basaltbytes/usine#1078 ·
Los mantenedores suelen responder en 1 día
Todos los issues de basaltbytes/usine
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 91/100
marimo-team/marimo#11768 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue priority: high size: XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
openclaw/openclaw#195577 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Studio feedback] 对话内容向下滚动时执行过程吸顶时,由于背景色是透明的,导致执行过程标题与下面的具体执行内容重叠,导致了两行信息重叠显示;建议执行过程的背景色设置为会话界面的背景Abiertobug from-studio
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
esengine/DeepSeek-Reasonix#15044 ·
Los mantenedores suelen responder en 1 día
-
Web wizard: "Launch without Sandbox" can switch a Structured create to Terminal in the same clickAbiertoarea:web bug needs-triage P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agent-of-empires/agent-of-empires#5489 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día