ship-queue: manual train freeze for a gh outage after a bad slot-1 squash, and an unreadable-slots field on the freeze record

Abierto
#3,519 1 comentario 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, typescript

Línea de trabajo

Read lib/ship-queue-train-verify.ts around freezeQueue and stopped, then review the run-train and QUEUE_TRAIN_FROZEN documentation named in the issue. Trace how the freeze record and clear-time NEXT: are built. Done means the manual freeze command and unreadable-slot field follow the stated rules, with schema and documentation updated.

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

Descripción

enhancement S3 ship-queue

Two follow-ups from #3518 (GSTA-129), filed on GStack Minder's word; neither is in that PR's scope.

(a) A manual gstack-ship-queue train freeze for a sustained gh outage after a bad slot-1 squash

Today verify --train is the only writer of a freeze. When slot 1's own squash fails the post-merge check and gh pr view cannot be read, verify refuses with QUEUE_PROOF_MISSING and asks to be rerun once gh answers; while gh stays down, main holds an unverified squash with no freeze and no backstop. The adversarial pass on #3518 asked whether that should escalate. Proposed shape: a manual train freeze --train <nonce> --reason <text> the operator runs under a written grant, which writes the same freeze record and dispatches the backstop, with verify staying the only automatic writer. The command must refuse when a freeze is already active and must record who froze (the operator, not verify) in the reason.

(b) A freeze-record field for unreadable slots

Since #3518 the freeze record is built from the one GitHub read that decided to freeze: a slot that read MERGED is merged, a slot that read OPEN/CLOSED is unmerged, and a slot that was unreadable beside a merged one is left out of unmerged and named only in the reason prose ("# unreadable on GitHub, left out of unmerged; seat it in a train by hand once gh pr view answers"). The post-repair NEXT: is built from freeze.unmerged alone, so it omits that slot and the operator has to parse the reason. Three pass-4 specialists flagged this. Proposed shape: an unreadable: Array<{ pr, head }> field on FreezeRecord (schema bump), frozenLines printing it, and the clear-time NEXT: either re-reading those slots once gh answers or naming them beside the rebuild command.

Refs: #3518 (lib/ship-queue-train-verify.ts freezeQueue/stopped, docs/ship-policy.md § Run a merge train, docs/troubleshooting.md § QUEUE_TRAIN_FROZEN), train 24 (GSTA-96).

Lenguaje dominante
TypeScript
Estrellas
143k
Forks
21k
Merge medio
5 h 25 min
PR fusionados (30 d)
791

Preparar el entorno

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 garrytan/gstack

Todos los issues de garrytan/gstack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.