Skip to content

roachtest: fetch and check rust#167437

Open
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:oncall-rust-postgres
Open

roachtest: fetch and check rust#167437
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:oncall-rust-postgres

Conversation

@bghal
Copy link
Copy Markdown
Contributor

@bghal bghal commented Apr 2, 2026

Until the RiiR
project is
globally complete, fetching Rust infra will not be
completely reliable.
For our purposes, the curl for rust installation
can fail silently and the pipeline proceeds. This
change adds a fetch and check which trips a retry
in the pipeline.

Epic: none
Fixes: #167098

Release note: None

@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io bot commented Apr 2, 2026

✨ Submitted to Merge by @bghal. It will be added to the merge queue once all branch protection rules pass and there are no merge conflicts with the target branch. See more details here.

Until the RiiR
[project](https://github.com/ansuz/RIIR) is
globally complete, fetching Rust infra will not be
completely reliable.
For our purposes, the `curl` for rust installation
can fail silently and the pipeline proceeds. This
change adds a fetch and check which trips a retry
in the pipeline.

Epic: none
Fixes: cockroachdb#167098

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@bghal bghal force-pushed the oncall-rust-postgres branch from c846108 to 14d3696 Compare April 2, 2026 20:50
@bghal bghal marked this pull request as ready for review April 2, 2026 20:50
@bghal bghal requested review from a team as code owners April 2, 2026 20:50
Copy link
Copy Markdown
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

@fqazi reviewed 3 files and all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on bghal).

@bghal
Copy link
Copy Markdown
Contributor Author

bghal commented Apr 3, 2026

/trunk merge

Copy link
Copy Markdown
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

CI needs to pass before this will enter the Trunk queue. i also had some comments

@rafiss made 3 comments.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on bghal).


pkg/cmd/roachtest/tests/rust_postgres.go line 82 at r1 (raw file):

			node,
			"install and verify rust and cargo",
			`bash -o pipefail -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y && /home/ubuntu/.cargo/bin/cargo --version'`,

nit: let's not hardcode /home/ubuntu/. use $HOME/.cargo/bin/cargo


pkg/cmd/roachtest/tests/rust_sqlx.go line 96 at r1 (raw file):

				ctx, t, c, node,
				"install and verify rust and cargo",
				`bash -o pipefail -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y && /home/ubuntu/.cargo/bin/cargo --version'`,

nit: let's not hardcode /home/ubuntu/. use $HOME/.cargo/bin/cargo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roachtest: rust-postgres failed

4 participants