• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / holodeck / 38006653538
52%
main: 52%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/main/github/codeql-action-4.39.4
DEFAULT BRANCH: main
Ran 09 Oct 2026 11:56PM UTC
Jobs 1
Files 84
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Oct 2026 11:52PM UTC coverage: 51.849% (+1.4%) from 50.464%
38006653538

push

github

abrarshivani
fix(aws): create subnets in an availability zone that offers the instance types

Holodeck created its subnets without an Availability Zone, so AWS picked
one. Not every zone in a region offers every instance type, and the
pre-flight check only validated instance types at the region level. The
gpu-driver-container precompiled CI hits this with g5g.xlarge in
us-west-2: when the subnet lands in us-west-2d, RunInstances fails with

  Unsupported: Your requested instance type (g5g.xlarge) is not
  supported in your requested Availability Zone (us-west-2d).

after the VPC and its networking already exist, and the rollback that
follows can fail with DependencyViolation and leak the VPC.

The pre-flight now asks DescribeInstanceTypeOfferings which zones offer
the instance types the environment needs. For clusters that is the
control-plane type plus the worker type, but only when there are workers
to launch, so a control-plane-only cluster is not rejected over a worker
type it never uses. Only the region's standard zones in the available
state are considered, since Local and Wavelength Zones sort first and
support only a subset of services, and the first matching zone in sorted
order is chosen. If no zone offers every type, Create(), CreateCluster()
and DryRun() fail before anything is created. Every subnet Holodeck
creates, including both subnets of a cluster, is placed in the chosen
zone. A new optional availabilityZone field on the instance and cluster
specs pins the zone; the pre-flight rejects it if that zone does not
offer the requested types and lists the zones that do.

An identity without the ec2:DescribeAvailabilityZones or
ec2:DescribeInstanceTypeOfferings permission gets UnauthorizedOperation
from the zone discovery calls. In that case, and only when no
availabilityZone is set, the pre-flight logs a warning naming both
permissions and leaves the zone unselected, so the subnets are created
without AvailabilityZone and AWS chooses it as before. A pin... (continued)

183 of 209 new or added lines in 9 files covered. (87.56%)

6197 of 11952 relevant lines covered (51.85%)

0.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
0.0
0.0% pkg/testutil/mocks/aws.go
6
94.71
-2.16% internal/aws/awsfake/store.go
5
63.41
2.17% internal/aws/awsfake/ec2.go
4
54.02
-1.01% pkg/provider/aws/status.go
3
12.24
12.24% cmd/cli/describe/describe.go
Jobs
ID Job ID Ran Files Coverage
1 38006653538.1 09 Oct 2026 11:56PM UTC 84
51.85
GitHub Action Run
Source Files on build 38006653538
  • Tree
  • List 84
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38006653538
  • 33c47683 on github
  • Prev Build on main (#37982507097)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc