Skip to content

ci cleanup: rustdoc-gui-test now installs browser-ui-test #143851

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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

lolbinarycat
Copy link
Contributor

this removes the need for --unsafe-perm in the Dockerfile.

cc @GuillaumeGomez @Kobzol

@rustbot
Copy link
Collaborator

rustbot commented Jul 12, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Jul 12, 2025
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from c070840 to 5bc18df Compare July 12, 2025 18:50
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from 5bc18df to 4254f64 Compare July 12, 2025 20:10
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks, I think it's much nicer to make sure that we have a known and exact environment, than trying to guess and compare what comes from the outside world.

@Kobzol
Copy link
Member

Kobzol commented Jul 12, 2025

r? @Kobzol

@rustbot rustbot assigned Kobzol and unassigned Mark-Simulacrum Jul 12, 2025
@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch 2 times, most recently from 8a1869c to 4028b6d Compare July 12, 2025 21:04
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from 4028b6d to 2f62ee4 Compare July 12, 2025 21:19
@rust-log-analyzer

This comment has been minimized.

Err(e) => eprintln!("Couldn't find the CI browser-ui-test version: {:?}", e),
}
fn get_desired_browser_ui_test_version(src: &Path) -> Result<String, io::Error> {
Ok("0.21.1")
Copy link
Member

Choose a reason for hiding this comment

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

Don't we have a package.json already? If not, please add a FIXME comment to update/remove this function once we make use of package.json.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, that's being added in a future PR that I want to make this CI change before.

once we have a package.json we could update this function to use npm update, no? would that install a specific package according to the version in the package.json ..?

I suppose probably we'll just use npm install, though.

@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from 2f62ee4 to 4d4da0e Compare July 15, 2025 18:04
@Kobzol
Copy link
Member

Kobzol commented Jul 15, 2025

Looks good! You can r=me once CI is green.

@bors delegate+

@bors
Copy link
Collaborator

bors commented Jul 15, 2025

✌️ @lolbinarycat, you can now approve this pull request!

If @Kobzol told you to "r=me" after making some further change, please make that change, then do @bors r=@Kobzol

@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from 4d4da0e to 4deb8eb Compare July 15, 2025 19:08
this removes the need for --unsafe-perm in the Dockerfile.
@lolbinarycat lolbinarycat force-pushed the bootstrap-node_modules branch from 4deb8eb to bbb114e Compare July 15, 2025 19:39
@lolbinarycat
Copy link
Contributor Author

@bors r=@Kobzol

@bors
Copy link
Collaborator

bors commented Jul 15, 2025

📌 Commit bbb114e has been approved by Kobzol

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 15, 2025

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

@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 Jul 15, 2025
fmease added a commit to fmease/rust that referenced this pull request Jul 16, 2025
…s, r=Kobzol

ci cleanup: rustdoc-gui-test now installs browser-ui-test

this removes the need for --unsafe-perm in the Dockerfile.

cc ``@GuillaumeGomez`` ``@Kobzol``
bors added a commit that referenced this pull request Jul 17, 2025
Rollup of 15 pull requests

Successful merges:

 - #142304 (tests: Add `RUST_BACKTRACE` and `-Cpanic` revisions to `panic-main.rs` test)
 - #143388 (Various refactors to the LTO handling code)
 - #143409 (Enable xgot feature for mips64 musl targets)
 - #143592 (UWP: link ntdll functions using raw-dylib)
 - #143595 (add `const_make_global`; err for `const_allocate` ptrs if didn't call)
 - #143678 (Added error for invalid char cast)
 - #143820 (Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets)
 - #143829 (Trim `BorrowedCursor` API)
 - #143846 (pass --gc-sections if -Zexport-executable-symbols is enabled and improve tests)
 - #143851 (ci cleanup: rustdoc-gui-test now installs browser-ui-test)
 - #143856 (Linting public reexport of private dependencies)
 - #143895 (Dont collect assoc ty item bounds from trait where clause for host effect predicates)
 - #143922 (Improve path segment joining)
 - #143964 (Fix handling of SCRIPT_ARG in docker images)
 - #144016 (trait_sel: `MetaSized` always holds temporarily)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Jul 17, 2025
Rollup of 15 pull requests

Successful merges:

 - #142304 (tests: Add `RUST_BACKTRACE` and `-Cpanic` revisions to `panic-main.rs` test)
 - #143388 (Various refactors to the LTO handling code)
 - #143409 (Enable xgot feature for mips64 musl targets)
 - #143592 (UWP: link ntdll functions using raw-dylib)
 - #143595 (add `const_make_global`; err for `const_allocate` ptrs if didn't call)
 - #143678 (Added error for invalid char cast)
 - #143820 (Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets)
 - #143829 (Trim `BorrowedCursor` API)
 - #143851 (ci cleanup: rustdoc-gui-test now installs browser-ui-test)
 - #143856 (Linting public reexport of private dependencies)
 - #143895 (Dont collect assoc ty item bounds from trait where clause for host effect predicates)
 - #143922 (Improve path segment joining)
 - #143964 (Fix handling of SCRIPT_ARG in docker images)
 - #144002 (Update poison.rs)
 - #144016 (trait_sel: `MetaSized` always holds temporarily)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a07ae62 into rust-lang:master Jul 17, 2025
11 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 17, 2025
rust-timer added a commit that referenced this pull request Jul 17, 2025
Rollup merge of #143851 - lolbinarycat:bootstrap-node_modules, r=Kobzol

ci cleanup: rustdoc-gui-test now installs browser-ui-test

this removes the need for --unsafe-perm in the Dockerfile.

cc ```@GuillaumeGomez``` ```@Kobzol```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc 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-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants