This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 5a994408 chore: restore the deadlinks archive checksum so CI's yarn
cache matches (#1747)
5a994408 is described below
commit 5a994408b44471abad4743efcf6ff40dda84a658
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Sep 12 19:38:03 2026 +0200
chore: restore the deadlinks archive checksum so CI's yarn cache matches
(#1747)
The website redesign (#1740) changed the exec.js stub template in the
github-release-binary yarn plugin (rmdirSync -> rmSync). The stub is
written into the faux package archive, so the archive bytes and its
lockfile checksum changed. Yarn names global-cache entries by locator
hash only, so CI (and every developer who had installed before) kept the
old archive under the same file name, and yarn install failed with
YN0018 "The remote archive doesn't match the expected checksum" instead
of refetching. On CI the install then aborted before linking, and the
following antora-ui-camel gulp build ran against stale node_modules and
died with "Did you forget to signal async completion?".
Revert the stub template so a fresh fetch is byte-identical to the
cached archive again, and recompute the three deadlinks checksums with
the reverted template (linux returns to its pre-#1740 value; macos and
windows are new entries and get their matching values).
Claude-Session: https://claude.ai/code/session_01Ue7BFcXRDGZvRpovC3EtSR
Co-authored-by: Claude Fable 5.1 <[email protected]>
---
github-release-binary.js | 2 +-
yarn.lock | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/github-release-binary.js b/github-release-binary.js
index b61026f9..e04fb200 100644
--- a/github-release-binary.js
+++ b/github-release-binary.js
@@ -140,7 +140,7 @@ const execute = (path, args) => {
(async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(),
'github-release-binary'));
process.on('exit', () => {
- fs.rmSync(tmpDir, { recursive: true, force: true });
+ fs.rmdirSync(tmpDir, { recursive: true });
})
const binary = process.argv[1].replace('exec.js', '${parts.binary}');
diff --git a/yarn.lock b/yarn.lock
index f831f387..dfc09617 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -869,7 +869,7 @@ __metadata:
"@yarnpkg/fslib": "npm:3.0.1"
bin:
deadlinks-macos: exec.js
- checksum:
10/22be5262eab401d58b2ee01c048b661eb9251323161c63c80019f30e633b27594db174451d4cb3578770325061eb52126f8150882b1b11290dac2cead6051b0d
+ checksum:
10/3e24402e537554af39c7fc2996accead74392b6e75eec69a15df93f03e67b03de8d85c81ee17a203d644012b008189b69bed1f9bcdb127917e82b7373bc3361b
languageName: node
linkType: hard
@@ -880,7 +880,7 @@ __metadata:
"@yarnpkg/fslib": "npm:3.0.1"
bin:
deadlinks-windows: exec.js
- checksum:
10/976428be72ea3b01892c5294862a2075aa02dd2983125c6dd9e31d1192024a4a90797e3706a2355261cc82d0eba0fd2eae2b48632fe1f89f2af47bfaddfb1c7c
+ checksum:
10/93cce885c57cb5ff5a92d1c32d35c03808c3163513c39fbcfa833b2b1609846d37bb46df49ca68f39d5758284273a6cdae492724f2ed0465a2147f5e2325fc43
languageName: node
linkType: hard
@@ -891,7 +891,7 @@ __metadata:
"@yarnpkg/fslib": "npm:3.0.1"
bin:
deadlinks-linux: exec.js
- checksum:
10/4372e9fd8c2f626b7d06987c9db2be0ea593a3e93b0b96a6d37f24639fefd05c4340d12d3a60eaa7f811f0d7e874f4e817ae6a02ec846a1b91e75697313bfb55
+ checksum:
10/4f6e38b06d529c9822e50a2ac89bb8d2dee3c4b6658bdfdd043abcd4f0dedbc886667349435eefa81ed56ccb2f8485758b0511412e3d557549828ffb80c17a72
languageName: node
linkType: hard