Spec 9: world-vercel step listing stays stale for over 30s after a run completes

Abierto
#5,605 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, testing

Línea de trabajo

Start with stepsOf in packages/core/e2e/e2e.test.ts and the spec 9 README section “Steps on world-vercel”; compare world.steps.list() and workflow inspect steps with the event log after run_completed. Reproduce the affected cases named in the issue, including instanceMethodStepWorkflow and the experimental_retention: 0 run. Done when the listing converges reliably on spec 9 and the e2e assertions can use it on every lane.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

On spec 9 runs against world-vercel, world.steps.list() (and workflow inspect steps) sometimes still shows a step as running or pending, or leaves it out, more than 30-60s after run_completed, even though the run's event log already holds that step's step_started and terminal event. The spec 9 README ("Steps on world-vercel") says the listing can lag the log, but this lasts much longer than a step written "moments ago", and it is what users see in the steps view.

Seen in CI on the spec 9 lanes in instanceMethodStepWorkflow (~18 times in two days), StepNotRegisteredError fails the step but workflow can catch it and step-argument serialization failure is catchable in workflow code. It also showed up as an empty inspect steps --withData listing for an experimental_retention: 0 run. Steps whose events land within ~100ms of each other seem most affected.

#5601 moved those e2e assertions onto the event log on the spec 9 lane only, so nothing in CI checks that the listing converges on spec 9. The other lanes still assert on the listing. Once the listing converges reliably, stepsOf in packages/core/e2e/e2e.test.ts can go back to the listing on every lane.

🤖 Generated with Claude Code

Lenguaje dominante
TypeScript
Estrellas
2.5k
Forks
401
Merge medio
1 d 21 h
PR fusionados (30 d)
201

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de vercel/workflow

Todos los issues de vercel/workflow

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.