Skip to content

Commit 6d9710d

Browse files
avrabeclaude
andcommitted
fix: remove non-updatable tools from checksum updater config
Removed wasmsign2-cli, jco, and file-ops-component from tool_config since these don't have regular GitHub releases that can be checked. These tools use a fallback mechanism in the checksum manager instead. This allows the checksum updater to focus on tools with active GitHub release APIs (nodejs, wizer, wkg, tinygo, wasm-tools, wit-bindgen, wac, wasmtime, wasi-sdk). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5d0d3ff commit 6d9710d

File tree

1 file changed

+3
-63
lines changed

1 file changed

+3
-63
lines changed

tools/checksum_updater/src/tool_config.rs

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -316,69 +316,9 @@ impl ToolConfig {
316316
},
317317
);
318318

319-
// wasmsign2-cli configuration (WASM component - platform independent)
320-
tools.insert(
321-
"wasmsign2-cli".to_string(),
322-
ToolConfigEntry {
323-
github_repo: "pulseengine/wasmsign2".to_string(),
324-
platforms: vec!["wasm_component".to_string()],
325-
url_pattern: UrlPattern::Custom {
326-
pattern: "https://github.com/pulseengine/wasmsign2/releases/download/v{version}/wasmsign2-cli.wasm".to_string(),
327-
platform_mapping: {
328-
let mut map = HashMap::new();
329-
map.insert("wasm_component".to_string(), "wasmsign2-cli.wasm".to_string());
330-
map
331-
},
332-
},
333-
tag_prefix: Some("v".to_string()),
334-
},
335-
);
336-
337-
// jco configuration (Node.js based tooling)
338-
tools.insert(
339-
"jco".to_string(),
340-
ToolConfigEntry {
341-
github_repo: "bytecodealliance/jco".to_string(),
342-
platforms: vec![
343-
"darwin_amd64".to_string(),
344-
"darwin_arm64".to_string(),
345-
"linux_amd64".to_string(),
346-
"linux_arm64".to_string(),
347-
"windows_amd64".to_string(),
348-
],
349-
url_pattern: UrlPattern::Custom {
350-
pattern: "https://github.com/bytecodealliance/jco/releases/download/v{version}/jco-v{version}-{platform}.tar.gz".to_string(),
351-
platform_mapping: {
352-
let mut map = HashMap::new();
353-
map.insert("darwin_amd64".to_string(), "x86_64-macos".to_string());
354-
map.insert("darwin_arm64".to_string(), "aarch64-macos".to_string());
355-
map.insert("linux_amd64".to_string(), "x86_64-linux".to_string());
356-
map.insert("linux_arm64".to_string(), "aarch64-linux".to_string());
357-
map.insert("windows_amd64".to_string(), "x86_64-windows".to_string());
358-
map
359-
},
360-
},
361-
tag_prefix: Some("v".to_string()),
362-
},
363-
);
364-
365-
// file-ops-component configuration (WASM component - platform independent)
366-
tools.insert(
367-
"file-ops-component".to_string(),
368-
ToolConfigEntry {
369-
github_repo: "pulseengine/bazel-file-ops-component".to_string(),
370-
platforms: vec!["wasm".to_string()],
371-
url_pattern: UrlPattern::Custom {
372-
pattern: "https://github.com/pulseengine/bazel-file-ops-component/releases/download/v{version}/file_ops_component.wasm".to_string(),
373-
platform_mapping: {
374-
let mut map = HashMap::new();
375-
map.insert("wasm".to_string(), "file_ops_component.wasm".to_string());
376-
map
377-
},
378-
},
379-
tag_prefix: Some("v".to_string()),
380-
},
381-
);
319+
// Note: wasmsign2-cli, jco, and file-ops-component are in the JSON registry but use
320+
// a fallback mechanism rather than GitHub API updates. They're handled by the
321+
// checksum manager's fallback checksums, not the update engine.
382322

383323
Self { tools }
384324
}

0 commit comments

Comments
 (0)