Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/build/deps/webkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* for local mode. Override via `--webkit-version=<hash>` to test a branch.
* From https://github.com/oven-sh/WebKit releases.
*/
export const WEBKIT_VERSION = "2e2aa2290fac856d6f451ceacb58f7f5b44dd057";
export const WEBKIT_VERSION = "autobuild-preview-pr-570-c685afa2";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 WEBKIT_VERSION is pinned to autobuild-preview-pr-570-c685afa2, an ephemeral preview-PR artifact; merging this makes every fresh checkout's build depend on a release that will be deleted once oven-sh/WebKit#570 lands or is closed. Fix: land oven-sh/WebKit#570 first and pin WEBKIT_VERSION to the resulting merged commit SHA before this PR merges (per Dependencies & vendoring: never merge a pin to an ephemeral artifact).

Extended reasoning...

The prebuilt WebKit dep resolves its download URL from WEBKIT_VERSION. autobuild-preview-* releases on oven-sh/WebKit are transient CI artifacts for unmerged PRs and are garbage-collected; once PR 570 merges or the preview is pruned, bun bd on a clean cache fails at the WebKit fetch step for every developer and CI lane. The base branch pins a stable 40-char merged SHA (2e2aa2290fac856d6f451ceacb58f7f5b44dd057). The PR description acknowledges this is a preview build; the conventions block explicitly calls this out as must-swap-before-merge.

Verification: normal — scripts/build/deps/webkit.ts:6 changes WEBKIT_VERSION from the stable 40-char merged SHA "2e2aa2290fac856d6f451ceacb58f7f5b44dd057" to "autobuild-preview-pr-570-c685afa2". The codebase itself documents that these tags are ephemeral — scripts/build/download.ts:314-331: "The autobuild-preview-pr-* WebKit tags are the sharp edge: GitHub deletes the preview release when the PR…


/**
* WebKit (JavaScriptCore) — the JS engine.
Expand Down
1 change: 0 additions & 1 deletion src/sourcemap_jsc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ bun_core.workspace = true
bun_collections.workspace = true
bun_io.workspace = true
bun_jsc.workspace = true
bun_ast.workspace = true
bun_options_types.workspace = true
bun_paths.workspace = true
# bun_runtime — only used in BakeSourceProvider::get_external_data, which is
Expand Down
Loading
Loading