More robust CI: turn off Read the Docs pull request builds; //docs:sphinx_build_test covers them

Abierto
#12,135 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@vvbandeira ya está trabajando en esto.

Desde el 6/11/2026.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
1/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

The requested change is in the Read the Docs project settings (Admin → Settings), not in repository files. Start by reviewing the “Build pull requests” setting and the existing //docs:sphinx_build_test CI coverage. Done when pull request builds are disabled while master builds and published documentation remain enabled; the rendered preview is no longer available, and make html in docs/ remains the local preview path.

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

Descripción

documentation enhancement
Description

More robust CI: every check on a pull request is a service that can fail for reasons unrelated to the pull request. A check that duplicates another one adds that risk and nothing else.

docs/readthedocs.org:openroad is such a check. On #12120 it failed before building anything:

git checkout --force 41feba9fb9ccdeaf31ff6ac0a8afedc146ba7bd7
fatal: reference is not a tree: 41feba9fb9ccdeaf31ff6ac0a8afedc146ba7bd7

Read the Docs tried to check out a commit just pushed from a fork before it had fetched it. The red status sends a reviewer looking for a docs problem that does not exist.

The Sphinx build it performs is already checked by CI:

  • #11068 (fixing #9885) added //docs:sphinx_build_test, which runs the same sphinx-build -b html as Read the Docs, with pinned dependencies.
  • It is tagged doc_check, not manual, so it is part of bazelisk test //...: it is one of the 5082 targets bazelisk query 'tests(//...) except attr(tags, "manual", tests(//...))' lists on master, and pr-head/pr-merge run that suite on every pull request.
  • It runs in the same hermetic Bazel build as every other test and reproduces locally with bazelisk test //docs:sphinx_build_test; the Read the Docs build depends on its own OS image, Python, apt and npm packages, and its own clone of the pull request.
Suggested Solution

If you need this step, then make sure it doesn't affect the red/green state. Tests are covered by bazel.

Turn off "Build pull requests" in the Read the Docs project settings (Admin → Settings). The status on pull requests comes from that setting, not from .readthedocs.yaml, so no change in the repository can remove it. A build.jobs.post_checkout step that exits 183 can cancel a pull request build, but it runs after the checkout, which is the step that failed here.

Builds of master and the published documentation are unaffected.

Additional Context

What is lost is the rendered preview of a pull request's documentation; make html in docs/ renders it locally.

Lenguaje dominante
Verilog
Estrellas
3.4k
Forks
1.1k
Merge medio
3 d 11 h
PR fusionados (30 d)
245

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 The-OpenROAD-Project/OpenROAD

Todos los issues de The-OpenROAD-Project/OpenROAD

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.