Skip to content

ci: mirror the pinned WebKit prebuilts for nsolid-bun - #3

Merged
edsadr merged 1 commit into
mainfrom
claude/nsolid-webkit-mirror
Nov 24, 2026
Merged

edsadr merged 1 commit into
mainfrom
claude/nsolid-webkit-mirror

Conversation

@edsadr

@edsadr edsadr commented Nov 24, 2026

Copy link
Copy Markdown
Member

What does this PR do?

It adds .github/workflows/nsolid-webkit-mirror.yml, and nothing else. A workflow with only a manual trigger can be run from the Actions tab once it is on main, so it goes in ahead of the Phase 1 stack (#1, #2).

When run, the workflow:

  • copies the oven-sh/WebKit release that WEBKIT_VERSION pins to a prerelease of this repository, under the same tag. It takes the Linux tarballs and bun-webkit-aot-sources.tar.gz, about 1–2 GB.
  • checks each file against scripts/build/deps/webkit.sha256 before uploading it. A file without a pin fails the run.
  • adds files to an existing prerelease of that tag (--clobber) instead of creating a second one.

Once a mirror exists, nsolid-bun builds download from it:

  • Phase 1 adds --webkit-mirror=<base URL>, whose downloads are still checked against the same sha256 pins.
  • nsolid-bun.yml passes that flag when the repository variable NSOLID_WEBKIT_MIRROR is set to https://github.com/nodesource/ns-bun/releases/download.

To use it after merging:

  1. Run the workflow from the Actions tab. "Use workflow from" can name any branch that has it, and the workflow mirrors that branch's pin.
  2. Set NSOLID_WEBKIT_MIRROR.
  3. Run it again after each WEBKIT_VERSION bump.

How did you verify your code works?

  • Read against scripts/build/deps/webkit.sha256 on main: one release tag, autobuild-cad01dc3cd19aa743283bbfe46944966515d3aec, the same pin the Phase 1 branch has.
  • The workflow itself has not run yet: it can't until it is on main.

Generated by Claude Code

nsolid-webkit-mirror.yml copies the oven-sh/WebKit release that
WEBKIT_VERSION pins (its Linux tarballs and the AoT sources) to a
prerelease of this repository under the same tag, each file checked
against scripts/build/deps/webkit.sha256. Run by hand, after each
WEBKIT_VERSION bump; it is on main so that it can be.

nsolid-bun builds then download from it with
--webkit-mirror=https://github.com/nodesource/ns-bun/releases/download,
which the Phase 1 branch adds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013nEe5T77UhAYmQxqQRbPpR
@ns-control-tower

Copy link
Copy Markdown

ns-control-tower

Note

Reviewing the latest changes on this PR — this may take a few minutes.
This comment will be updated in place with the findings; no other top-level comments will be posted.

@socket-security

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a public open source project under an OSI-approved license, contact us to request a free Business plan upgrade.

@edsadr
edsadr merged commit 7352a0f into main Nov 24, 2026
7 checks passed
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.

3 participants