Skip to content

[CI] add missing egress endpoints to nightly Docker build#3087

Merged
ApostaC merged 1 commit intoLMCache:devfrom
deng451e:fix/nightly-astral-egress
Apr 21, 2026
Merged

[CI] add missing egress endpoints to nightly Docker build#3087
ApostaC merged 1 commit intoLMCache:devfrom
deng451e:fix/nightly-astral-egress

Conversation

@deng451e
Copy link
Copy Markdown
Collaborator

@deng451e deng451e commented Apr 20, 2026

The nightly Docker image build was failing because the harden-runner egress allowlist was missing
releases.astral.sh:443 — the actual download host that astral.sh/uv/install.sh redirects to when
installing uv. This caused the Dockerfile to fail with curl: (7) Failed to connect to
releases.astral.sh.

Also adds download.pytorch.org:443 which was present in other jobs but missing from the nightly-build
job.


Note

Low Risk
Low risk: CI-only change that broadens the nightly build job’s egress allowlist to prevent Docker build failures; no runtime or application logic is affected.

Overview
Fixes nightly Docker image build failures by expanding the step-security/harden-runner egress allowlist in nightly_build.yml to permit outbound access to additional required download hosts (notably releases.astral.sh:443, plus ensuring download.pytorch.org:443 is allowed for PyTorch artifacts).

Reviewed by Cursor Bugbot for commit dd1aa21. Bugbot is set up for automated code reviews on this repo. Configure here.

Signed-off-by: deng451e <838677410@qq.com>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copy link
Copy Markdown
Contributor

@ApostaC ApostaC left a comment

Choose a reason for hiding this comment

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

LGTM!

@ApostaC ApostaC enabled auto-merge (squash) April 20, 2026 22:42
@deng451e deng451e added the full Run comprehensive tests on this PR label Apr 21, 2026
Copy link
Copy Markdown
Contributor

@sammshen sammshen left a comment

Choose a reason for hiding this comment

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

LGTM!

@ApostaC ApostaC merged commit d9ed193 into LMCache:dev Apr 21, 2026
50 of 59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full Run comprehensive tests on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants