Always allow rustdoc-json tests to contain long lines by Noratrieb · Pull Request #137955 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits1 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@Noratrieb

The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.

@aDotInTheVoid told me she'd like this and

r? jieyouxu

you're gonna tell me that the implementation is terrible. at least the performance seems reasonable: 2.5s after and 2.5s before.

@Noratrieb

The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.

@rustbot

@rustbot rustbot added the T-rustdoc-frontend

Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

label

Mar 3, 2025

@aDotInTheVoid

r=me on the rustdoc-json side, but someone who maintains tidy should approve that code (and decide if it's worth it).

jieyouxu

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I also wanted to do this for mir-opt tests and maybe codegen/assembly tests, where I find in test code the linelength check is more noise than value.

Also the tidy impl here isn't exactly tidy in the first place, and this makes rustdoc contributions less annoying, so I'm fine with that.

@jieyouxu

TL;DR:
@bors r=aDotInTheVoid,jieyouxu rollup

@bors

📌 Commit dfed028 has been approved by aDotInTheVoid,jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Mar 3, 2025

@Noratrieb

tidy as a whole is incredibly untidy :D

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Mar 3, 2025

@matthiaskrgr

…2, r=jieyouxu

triagebot.toml: Don't label test/rustdoc-json as A-rustdoc-search

This happened because test/rustdoc-js is a prefix of test/rustdoc-json, and triagebot works on prefixes.

Maybe this should be fixed in triagebot, but this works now.

This happened on rust-lang#137956 and rust-lang#137955.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 4, 2025

@bors

…iaskrgr

Rollup of 12 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Mar 4, 2025

@rust-timer

Rollup merge of rust-lang#137958 - aDotInTheVoid:aDotInTheVoid-patch-2, r=jieyouxu

triagebot.toml: Don't label test/rustdoc-json as A-rustdoc-search

This happened because test/rustdoc-js is a prefix of test/rustdoc-json, and triagebot works on prefixes.

Maybe this should be fixed in triagebot, but this works now.

This happened on rust-lang#137956 and rust-lang#137955.

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Mar 4, 2025

@rust-timer

Rollup merge of rust-lang#137955 - Noratrieb:rustdoc-json-long-lines, r=aDotInTheVoid,jieyouxu

Always allow rustdoc-json tests to contain long lines

The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.

@aDotInTheVoid told me she'd like this and

r? jieyouxu

you're gonna tell me that the implementation is terrible. at least the performance seems reasonable: 2.5s after and 2.5s before.

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Mar 14, 2025

@bors

…iaskrgr

Rollup of 12 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

flip1995 pushed a commit to flip1995/rust that referenced this pull request

Mar 20, 2025

@bors

…iaskrgr

Rollup of 12 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this pull request

Apr 18, 2025

@bors

…iaskrgr

Rollup of 12 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

Labels

A-rustdoc-json

Area: Rustdoc JSON backend

A-tidy

Area: The tidy tool

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

T-rustdoc

Relevant to the rustdoc team, which will review and decide on the PR/issue.