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

Aperta
#12,135 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@vvbandeira ci sta già lavorando.

Dal 6/11/2026.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
1/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Verilog
Stelle
3.3k
Fork
1.1k
Merge medio
3g 11h
PR unite (30g)
247

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di The-OpenROAD-Project/OpenROAD

Tutte le issue di The-OpenROAD-Project/OpenROAD

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.