Skip to content

build(webkit): pin OpenClaw WebKit artifacts by checksum - #108

Merged
steipete merged 1 commit into
mainfrom
claude/w141-webkit-manifest
Oct 4, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/w141-webkit-manifest

Conversation

@steipete

@steipete steipete commented Oct 4, 2026 •

Copy link
Copy Markdown

Default fork builds consume the committed scripts/build/deps/webkit-artifacts.json from an immutable openclaw/WebKit release. The commit pin is derived from that file, so the source revision, URLs and SHA-256 digests change together. There is no upstream download fallback or environment-only opt-in.

Archives are verified before extraction. Both the raw image-prefetch cache and extracted library cache use the full content digest; unverified pre-extracted image trees are excluded. Missing variants, alternate pins, corrupt downloads and corrupt raw caches fail closed. Missing variants become explicit failing dependency edges, so codegen-only Rust CI can configure a debug graph without acquiring unused WebKit archives. Ninja regeneration, both fork CI cache keys, engine-sensitive test selection, the local-source helper, and Bun release provenance follow the same committed pin. Image baking enumerates the published host variants.

Validation: the old downloader accepts the wrong digest and fails the new regression; the updated downloader rejects it before extraction and preserves the installed tree. Linux build-tool suites pass 28 tests, and the final targeted checksum/cache plus ABI resolver checks pass 12 tests. The expanded baseline native fork selection passes 45 files plus two dependency checks. The actual Rust-lint codegen/clone-only targets also pass without a WebKit archive, and an explicit unsupported WebKit target fails before downloading. That proof includes 17 passing targeted tests. The committed pin is 1ee09069fef6bdf26a899b3da06fc48714aa8a4d. All nine published archive files were independently downloaded and their full SHA-256 digests verified against the committed manifest. The committed branch passes scoped Codex P2 review. The exact candidate cf636c2f14914b3ba4b319874312d654cc5ea064 builds on Linux x64 from the published archive and reports the expected Bun and WebKit revisions. All 204 build-tool/source-lint tests pass across 35 files. The expanded plain fork selection passes 47/47 rows, with zero regressions against the old-engine baseline. Both fork CI lanes pass on this exact head: Linux x64 and macOS arm64.

This pin policy is specific to the OpenClaw fork and requires OpenClaw WebKit. The runtime adapters and engine regressions follow as separate PRs. The changelog source change is append-only.

CI notes: source lint, JavaScript/type checks, formatting, Clippy, Miri and vendored HTML tests pass. The advisory Mordant job flags a boolean-argument style warning in unchanged resolver code. The inherited duplicate-PR bot cannot start without its service credentials; the independent scoped P2 review is clean.

Consume immutable OpenClaw WebKit 1ee09069fef6bdf26a899b3da06fc48714aa8a4d through one committed manifest. Verify archives before extraction, key raw and extracted caches by SHA-256, and keep pin updates in regeneration, CI selection and release provenance.

Unavailable variants fail when their dependency is requested, preserving codegen-only Rust CI without an upstream artifact fallback.
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