rust-lang / rust-lang/rust

Can `./x doc xxx` be exercised in PR CI or earlier?

Open
#131,613 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-discussion E-needs-investigation T-bootstrap T-infra
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Tool docs like ./x doc src/tools/compiletest seemingly are run very late into the full CI pipeline, but that seems relatively easy and cheap to either run in PR CI or perhaps earlier in full CI? That might help to catch trivial broken intradoc links which can fail full CI like 2 hours in...

Not sure about compiler/std docs, but some tool docs might be okay to move earlier into the pipelines?

T-infra zulip link: https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Can.20some.20doc.20checks.20happen.20in.20PR.20CI.20or.20happen.20earlier.3F

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the ./x doc src/tools/compiletest command and trace where that check is scheduled in PR and full CI. Compare the eligible tool-doc checks with compiler and std docs; done means establishing which checks can run earlier and where they should be placed to catch broken intradoc links sooner.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ci-cd, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.