Conversation
Rust analysis took about 43 minutes on ubuntu-latest. linux-amd64-cpu8 is the smallest nv-cpu-general size above that, and this branch is included in the push trigger so that runner can start the job. Signed-off-by: Roman Ivanov <rivanov@nvidia.com>
roivanov
force-pushed
the
ci/codeql-cpu8
branch
from
October 2, 2026 21:37
9bb8852 to
db7e9da
Compare
Self-hosted runners reject pull_request events, same as cutile-rs. Signed-off-by: Roman Ivanov <rivanov@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
The nv-cpu-general image has no rustup, so the extractor exits 0 with an empty database. Signed-off-by: Roman Ivanov <rivanov@nvidia.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rust CodeQL on
ubuntu-latesttook 42m 51s ona0cc6cc(4 vCPU / 16 GB). This moves the job tolinux-amd64-cpu8(m7i.2xlarge, 8 vCPU / 32 GiB), the smallestnv-cpu-generalsize above that.Changes
runs-onin.github/workflows/codeql.ymltolinux-amd64-cpu8.ci/codeql-cpu8so this draft can run. Self-hosted runners rejectpull_request. Drop that branch from the trigger before merge.Runner cost
NVIDIA/cuda-rustis public. Standardubuntu-latestminutes are free. GitHub larger runners are billed on public repositories too.nv-cpu-generalis self-hosted EC2: GitHub does not meter it (the proposed $0.002/min self-hosted platform charge was postponed and is not in the current price list). The bill is the instance.Rates are list price. GitHub rounds each job up to the next minute (runner pricing). EC2 is us-east-1 Linux on-demand; the runner group's region and any enterprise discount are not in the runner docs. The 150 GiB volume on these labels is extra and small next to the instance (gp3 is about $0.08/GB-month).
The Rust job below is priced at the measured 43 billed minutes. A shorter run on a larger machine costs less than the figure in its row.
ubuntu-latest(this repo, public)linux-amd64-cpu4m7i.xlarge, 4 vCPU / 16 GiBlinux-amd64-cpu8(this PR)m7i.2xlarge, 8 vCPU / 32 GiBlinux-amd64-cpu16m7i.4xlarge, 16 vCPU / 64 GiBlinux-amd64-cpu32m7i.8xlarge, 32 vCPU / 128 GiBAt the same 43 minutes,
m7i.2xlargeis $0.29 of EC2 against $0.95 for GitHub's 8-core larger runner. Against today's publicubuntu-latestjob the GitHub invoice stays $0, and this runner adds about $0.29 of EC2 per Rust analysis if the duration does not drop.Testing
Analyze (rust)on the push run with the 42m 51s baseline: https://github.com/NVIDIA/cuda-rust/actions/runs/37064313512just -f cuda-oxide/Justfile checkpasses (the local mirror of CI: fmt, clippy, tests, guards, docs)cargo oxide run <example>passes, orcuda-oxide/scripts/smoketest.sh -o '^<example>$'Workflow-only change, so the crate checks do not apply. The
pull_requestrun fails in runner setup; the push run is the measurement.Checklist
git commit -s)