Skip to content

Fix blocked egress in release job - #46

Merged
kin0992 merged 1 commit into
mainfrom
fixes/release-egress-allowlist
Jun 3, 2026
Merged

Fix blocked egress in release job#46
kin0992 merged 1 commit into
mainfrom
fixes/release-egress-allowlist

Conversation

@kin0992

@kin0992 kin0992 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Why

After the egress block landed in #43, the release workflow started failing in kin0992/f1 — two hosts were missing from the allowlist, and Next.js telemetry was making an unconfigured outbound call.

What

  • Add release-assets.githubusercontent.com:443 — needed to download toolchain release assets during setup/build.
  • Add fonts.googleapis.com:443 — fetched by Next.js at build time when the app uses next/font with Google Fonts.
  • Set NEXT_TELEMETRY_DISABLED=1 on the Build step — suppresses the telemetry call at source rather than allowlisting telemetry.nextjs.org.

How to verify

Re-run the failing job at https://github.com/kin0992/f1/actions/runs/26915760107 after this merges.

Two hosts were missing from the harden-runner allowlist, causing the
release workflow to fail with egress-blocked errors. Also disable
Next.js telemetry via env var so it never makes an outbound call rather
than adding a tracking endpoint to the allowlist.

- release-assets.githubusercontent.com: needed to download release
  assets (e.g. toolchain binaries) during setup or build.
- fonts.googleapis.com: fetched by Next.js at build time when the app
  uses next/font with Google Fonts.
- NEXT_TELEMETRY_DISABLED=1: suppresses the telemetry call at source
  rather than allowlisting telemetry.nextjs.org.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 50b61c3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kin0992
kin0992 merged commit 13dfc5f into main Jun 3, 2026
5 checks passed
@kin0992
kin0992 deleted the fixes/release-egress-allowlist branch June 3, 2026 22:07
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.

1 participant