Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": ">=22.0.0",
"pnpm": ">=11.11.0"
},
"packageManager": "pnpm@11.11.0",
"packageManager": "pnpm@11.28.5",
"scripts": {
"build": "turbo run build",
"test": "turbo run test",
Expand Down
81 changes: 34 additions & 47 deletions packages/cachekit-core-ts/Cargo.lock

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

27 changes: 13 additions & 14 deletions packages/cachekit-core-wasm/Cargo.lock

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

4 changes: 2 additions & 2 deletions packages/cachekit-core-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ license = "MIT"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "=0.2.121"
wasm-bindgen = "=0.2.129"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no audit or SCA evidence. WHY: Dependency manifest changes must be checked for known CVEs and supply-chain risk. A jump of several patch releases on an exact-pinned toolchain crate also needs its lockfile updated. HOW: Run cargo audit or query OSV for wasm-bindgen 0.2.129 and attach the output to the PR. Commit the updated Cargo.lock, and update the adjacent comment that still references 0.2.121.

Also found in:

  • packages/cachekit/package.json:95-95
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:101-101

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no audit or SCA evidence. WHY: Dependency manifest changes must be checked for known CVEs and supply-chain risk. A jump of several patch releases on an exact-pinned toolchain crate also needs its lockfile updated. HOW: Run `cargo audit` or query OSV for wasm-bindgen 0.2.129 and attach the output to the PR. Commit the updated Cargo.lock, and update the adjacent comment that still references 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129, with no visible supply-chain or CVE evidence.
WHY: A dependency manifest change must be checked against known advisories. wasm-bindgen also defines the JS/WASM ABI, so a version jump needs a matching lockfile and toolchain (wasm-bindgen-cli) update.
HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR. Update Cargo.lock in the same PR, and confirm the wasm-bindgen-cli version used in the build matches 0.2.129.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:95-95
  • packages/cachekit/package.json:101-101

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129, with no visible supply-chain or CVE evidence.
WHY: A dependency manifest change must be checked against known advisories. wasm-bindgen also defines the JS/WASM ABI, so a version jump needs a matching lockfile and toolchain (wasm-bindgen-cli) update.
HOW: Run `cargo audit` or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR. Update Cargo.lock in the same PR, and confirm the wasm-bindgen-cli version used in the build matches 0.2.129.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency manifest changes must be checked for known CVEs and risky transitive jumps. wasm-bindgen generates the JS/WASM glue for every exported function, so a bad release affects the whole boundary. HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Also confirm Cargo.lock is updated and the matching wasm-bindgen-cli version is pinned in CI.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:97-97
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency manifest changes must be checked for known CVEs and risky transitive jumps. wasm-bindgen generates the JS/WASM glue for every exported function, so a bad release affects the whole boundary. HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Also confirm Cargo.lock is updated and the matching wasm-bindgen-cli version is pinned in CI.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129 with no supply-chain evidence. WHY: Dependency manifest changes need a vulnerability and supply-chain check, plus a matching Cargo.lock update. HOW: Run cargo audit or an OSV query for the new version and attach the output to the PR description. Commit the updated Cargo.lock. Also update the stale comment on line 23, which still says it is paired with wasm-bindgen 0.2.121.

Also found in:

  • packages/cachekit/package.json:97-97
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129 with no supply-chain evidence. WHY: Dependency manifest changes need a vulnerability and supply-chain check, plus a matching Cargo.lock update. HOW: Run `cargo audit` or an OSV query for the new version and attach the output to the PR description. Commit the updated Cargo.lock. Also update the stale comment on line 23, which still says it is paired with wasm-bindgen 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain evidence. WHY: Dependency changes need a CVE and supply-chain check, plus a matching lockfile update. wasm-bindgen also generates JS glue across the WASM boundary, so changes in that glue are security-relevant. HOW: Run cargo audit, or query OSV for wasm-bindgen 0.2.129, and attach the output to the PR. Make sure Cargo.lock is updated in the same PR. Also update the comment on line 23, which still refers to 0.2.121.

Also found in:

  • packages/cachekit/package.json:97-97
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain evidence. WHY: Dependency changes need a CVE and supply-chain check, plus a matching lockfile update. wasm-bindgen also generates JS glue across the WASM boundary, so changes in that glue are security-relevant. HOW: Run `cargo audit`, or query OSV for wasm-bindgen 0.2.129, and attach the output to the PR. Make sure Cargo.lock is updated in the same PR. Also update the comment on line 23, which still refers to 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible audit or supply-chain evidence. WHY: Dependency changes must be checked for known CVEs and supply-chain risk before merging. HOW: Run cargo audit (or an OSV/SCA scan) and attach the output to the PR description. Make sure Cargo.lock is updated to match. Also update the nearby comment that still references wasm-bindgen 0.2.121.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:97-97
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible audit or supply-chain evidence. WHY: Dependency changes must be checked for known CVEs and supply-chain risk before merging. HOW: Run cargo audit (or an OSV/SCA scan) and attach the output to the PR description. Make sure Cargo.lock is updated to match. Also update the nearby comment that still references wasm-bindgen 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129 in a dependency manifest. WHY: Rule 86 requires supply-chain and CVE validation for changed dependencies, plus a matching lockfile update. wasm-bindgen generates the JS/WASM ABI glue, so a version jump affects the security boundary. HOW: Attach cargo audit / OSV results for wasm-bindgen 0.2.129 to the PR. Make sure Cargo.lock is updated in the same PR. Also update the nearby comment that still says the crates are paired with 0.2.121.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:97-97
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129 in a dependency manifest. WHY: Rule 86 requires supply-chain and CVE validation for changed dependencies, plus a matching lockfile update. wasm-bindgen generates the JS/WASM ABI glue, so a version jump affects the security boundary. HOW: Attach `cargo audit` / OSV results for wasm-bindgen 0.2.129 to the PR. Make sure Cargo.lock is updated in the same PR. Also update the nearby comment that still says the crates are paired with 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible supply-chain check. WHY: Dependency changes must be checked for known CVEs and risky releases. wasm-bindgen generates the JS/WASM boundary code. HOW: Run cargo audit (or an OSV/SCA query) for the new version and attach the output or advisory links to the PR. Also update Cargo.lock, and update the line-23 comment that still says the pin pairs with 0.2.121.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible supply-chain check. WHY: Dependency changes must be checked for known CVEs and risky releases. wasm-bindgen generates the JS/WASM boundary code. HOW: Run `cargo audit` (or an OSV/SCA query) for the new version and attach the output or advisory links to the PR. Also update Cargo.lock, and update the line-23 comment that still says the pin pairs with 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The exact-pinned wasm-bindgen dependency moves from 0.2.121 to 0.2.129. WHY: Dependency manifest changes need supply-chain validation: CVE/advisory checks, lockfile consistency, and ABI pairing. wasm-bindgen generates the JS glue that crosses the WASM boundary handling key material. HOW: Run cargo audit or query OSV for wasm-bindgen 0.2.129 and attach the output to the PR. Confirm Cargo.lock is updated in the same PR. Also fix the stale comment on line 23, which still says it is paired with 0.2.121.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The exact-pinned wasm-bindgen dependency moves from 0.2.121 to 0.2.129. WHY: Dependency manifest changes need supply-chain validation: CVE/advisory checks, lockfile consistency, and ABI pairing. wasm-bindgen generates the JS glue that crosses the WASM boundary handling key material. HOW: Run `cargo audit` or query OSV for wasm-bindgen 0.2.129 and attach the output to the PR. Confirm Cargo.lock is updated in the same PR. Also fix the stale comment on line 23, which still says it is paired with 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129, and this file shows no supply-chain validation. WHY: Dependency manifest changes must be checked for known CVEs, and the lockfile must be updated with them. wasm-bindgen generates the JS/WASM ABI glue, so a bad release affects every consumer. HOW: Attach cargo audit or OSV results for wasm-bindgen 0.2.129 to the PR description. Confirm Cargo.lock is updated in the same PR. Also update the nearby comment that still says the pairing is with 0.2.121.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The exact-pinned wasm-bindgen dependency is bumped from 0.2.121 to 0.2.129, and this file shows no supply-chain validation. WHY: Dependency manifest changes must be checked for known CVEs, and the lockfile must be updated with them. wasm-bindgen generates the JS/WASM ABI glue, so a bad release affects every consumer. HOW: Attach `cargo audit` or OSV results for wasm-bindgen 0.2.129 to the PR description. Confirm Cargo.lock is updated in the same PR. Also update the nearby comment that still says the pairing is with 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from =0.2.121 to =0.2.129 with no supply-chain validation shown. WHY: Dependency manifest changes must be checked for known CVEs and risky version jumps. This crate sits at the JS/WASM boundary that handles encryption key material. HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Commit the matching Cargo.lock update. Also update the adjacent comment that still references 0.2.121.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from =0.2.121 to =0.2.129 with no supply-chain validation shown. WHY: Dependency manifest changes must be checked for known CVEs and risky version jumps. This crate sits at the JS/WASM boundary that handles encryption key material. HOW: Run `cargo audit` or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Commit the matching Cargo.lock update. Also update the adjacent comment that still references 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The wasm-bindgen dependency was bumped from 0.2.121 to 0.2.129. WHY: Dependency manifest changes need vulnerability and supply-chain checks, and no audit evidence is provided here. The comment on line 23 still names wasm-bindgen 0.2.121, so the pairing note is now stale. HOW: Run cargo audit or an OSV query for the new versions and attach the results to the PR. Make sure Cargo.lock is updated, and change the comment to reference 0.2.129.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The wasm-bindgen dependency was bumped from 0.2.121 to 0.2.129. WHY: Dependency manifest changes need vulnerability and supply-chain checks, and no audit evidence is provided here. The comment on line 23 still names wasm-bindgen 0.2.121, so the pairing note is now stale. HOW: Run cargo audit or an OSV query for the new versions and attach the results to the PR. Make sure Cargo.lock is updated, and change the comment to reference 0.2.129.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency changes need evidence they bring in no known CVEs or unexpected transitive changes. Cargo.lock must also be updated so builds stay reproducible. HOW: Run cargo audit and/or cargo deny check, or query OSV, for wasm-bindgen 0.2.129. Attach the output to the PR description and commit the updated Cargo.lock. Also update the nearby comment that still references wasm-bindgen 0.2.121.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:99-99
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency changes need evidence they bring in no known CVEs or unexpected transitive changes. Cargo.lock must also be updated so builds stay reproducible. HOW: Run `cargo audit` and/or `cargo deny check`, or query OSV, for wasm-bindgen 0.2.129. Attach the output to the PR description and commit the updated Cargo.lock. Also update the nearby comment that still references wasm-bindgen 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no supply-chain or CVE evidence. WHY: wasm-bindgen generates the JS/WASM glue for a crate that handles encryption master keys, so an unvetted upgrade affects a security-sensitive boundary. HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR. Commit the updated Cargo.lock. Also update the nearby comment that still says 0.2.121.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no supply-chain or CVE evidence. WHY: wasm-bindgen generates the JS/WASM glue for a crate that handles encryption master keys, so an unvetted upgrade affects a security-sensitive boundary. HOW: Run `cargo audit` or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR. Commit the updated Cargo.lock. Also update the nearby comment that still says 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The wasm-bindgen dependency was bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency upgrades can bring in known CVEs or risky transitive changes, and wasm-bindgen sits on the JS/WASM ABI boundary. HOW: Run cargo audit (or query OSV) for wasm-bindgen 0.2.129 and add the output or advisory links to the PR description. Confirm Cargo.lock is updated to match.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: The wasm-bindgen dependency was bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency upgrades can bring in known CVEs or risky transitive changes, and wasm-bindgen sits on the JS/WASM ABI boundary. HOW: Run `cargo audit` (or query OSV) for wasm-bindgen 0.2.129 and add the output or advisory links to the PR description. Confirm Cargo.lock is updated to match.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency manifest changes must be validated for known CVEs and risky transitive changes. wasm-bindgen generates the JS/WASM ABI glue, so its supply-chain integrity matters. HOW: Run cargo audit or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Make sure Cargo.lock is updated in the same PR. Also update the stale comment on line 23, which still says it is paired with 0.2.121.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:24-24
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20:

WHAT: wasm-bindgen is bumped from 0.2.121 to 0.2.129 with no visible vulnerability or supply-chain check. WHY: Dependency manifest changes must be validated for known CVEs and risky transitive changes. wasm-bindgen generates the JS/WASM ABI glue, so its supply-chain integrity matters. HOW: Run `cargo audit` or an OSV query for wasm-bindgen 0.2.129 and attach the output to the PR description. Make sure Cargo.lock is updated in the same PR. Also update the stale comment on line 23, which still says it is paired with 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.121 above.
js-sys = "=0.3.98"
js-sys = "=0.3.106"
Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/build-wasm.yml:31, ci.yml:227, and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121, and WASM_BINDGEN_SHA256 is still the checksum of the 0.2.121 tarball. When scripts/build.sh:11-15 compares the Cargo.lock pin against the installed CLI, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the wasm build in CI and in the release-please publish job. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 in
# .github/workflows/{build-wasm,ci,release-please}.yml to 0.2.129
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/build-wasm.yml:31, ci.yml:227, and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121, and WASM_BINDGEN_SHA256 is still the checksum of the 0.2.121 tarball. When scripts/build.sh:11-15 compares the Cargo.lock pin against the installed CLI, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the wasm build in CI and in the release-please publish job. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 in
# .github/workflows/{build-wasm,ci,release-please}.yml to 0.2.129

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in the wasm-bindgen pin in packages/cachekit-core-wasm/Cargo.toml: the crate is bumped to =0.2.129, but every CI workflow still installs wasm-bindgen CLI 0.2.121 (.github/workflows/ci.yml:227, build-wasm.yml:31, release-please.yml:254). scripts/build.sh:11-15 compares Cargo.lock (0.2.129) against wasm-bindgen --version (0.2.121) and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the Workers CI lane, the wasm build, and the release build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, since changing only the version still fails the sha256sum check, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# ... Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# plus, in ci.yml / build-wasm.yml / release-please.yml:
# WASM_BINDGEN_VERSION: 0.2.129
# WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in the wasm-bindgen pin in packages/cachekit-core-wasm/Cargo.toml: the crate is bumped to =0.2.129, but every CI workflow still installs wasm-bindgen CLI 0.2.121 (.github/workflows/ci.yml:227, build-wasm.yml:31, release-please.yml:254). scripts/build.sh:11-15 compares Cargo.lock (0.2.129) against `wasm-bindgen --version` (0.2.121) and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the Workers CI lane, the wasm build, and the release build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, since changing only the version still fails the sha256sum check, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# ... Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# plus, in ci.yml / build-wasm.yml / release-please.yml:
# WASM_BINDGEN_VERSION: 0.2.129
# WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, release-please.yml:254 and build-wasm.yml:31 still set WASM_BINDGEN_VERSION: 0.2.121, and ci.yml:231 pins WASM_BINDGEN_SHA256 to the 0.2.121 tarball. scripts/build.sh:11-17 compares the CLI version with the Cargo.lock version and runs exit 1 on mismatch, so the Workers CI lane, the build-wasm workflow and the release wasm build all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', and no wasm artifact can be published. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update each WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to match.

wasm-bindgen = "=0.2.129"
# ...
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# In the same PR: .github/workflows/{ci,release-please,build-wasm}.yml
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, release-please.yml:254 and build-wasm.yml:31 still set WASM_BINDGEN_VERSION: 0.2.121, and ci.yml:231 pins WASM_BINDGEN_SHA256 to the 0.2.121 tarball. scripts/build.sh:11-17 compares the CLI version with the Cargo.lock version and runs `exit 1` on mismatch, so the Workers CI lane, the build-wasm workflow and the release wasm build all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', and no wasm artifact can be published. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update each WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to match.

Suggested Code:

wasm-bindgen = "=0.2.129"
# ...
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# In the same PR: .github/workflows/{ci,release-please,build-wasm}.yml
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129, but every CI workflow still installs the wasm-bindgen CLI 0.2.121 prebuilt with the 0.2.121 SHA256 (ci.yml:227, build-wasm.yml:31, release-please.yml:254). When scripts/build.sh:11-15 reads the pinned version from Cargo.lock (now 0.2.129), it exits with wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129, so the CI WASM build, the build-wasm workflow, and the release job all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to say 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129, but every CI workflow still installs the wasm-bindgen CLI 0.2.121 prebuilt with the 0.2.121 SHA256 (ci.yml:227, build-wasm.yml:31, release-please.yml:254). When scripts/build.sh:11-15 reads the pinned version from Cargo.lock (now 0.2.129), it exits with `wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`, so the CI WASM build, the build-wasm workflow, and the release job all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to say 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock also resolves 0.2.129), but WASM_BINDGEN_VERSION remains 0.2.121 in .github/workflows/ci.yml:227, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254. Because scripts/build.sh exits whenever the installed CLI version differs from the Cargo.lock version, the Workers CI lane, the build-wasm workflow and the release wasm build all fail with wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (and WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock also resolves 0.2.129), but `WASM_BINDGEN_VERSION` remains 0.2.121 in .github/workflows/ci.yml:227, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254. Because scripts/build.sh exits whenever the installed CLI version differs from the Cargo.lock version, the Workers CI lane, the build-wasm workflow and the release wasm build all fail with `wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (and WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in Cargo.toml line 20: the wasm-bindgen pin moves to =0.2.129, and Cargo.lock now resolves 0.2.129, but WASM_BINDGEN_VERSION and WASM_BINDGEN_SHA256 remain 0.2.121 / 3039f38f… in .github/workflows/ci.yml:227,231, .github/workflows/build-wasm.yml:31,35 and .github/workflows/release-please.yml:254,256. In the Workers CI lane, the build-wasm workflow and the release pipeline, the version check in scripts/build.sh lines 11-15 exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the SHA-256 of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the line 23 comment to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# Also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in Cargo.toml line 20: the wasm-bindgen pin moves to =0.2.129, and Cargo.lock now resolves 0.2.129, but `WASM_BINDGEN_VERSION` and `WASM_BINDGEN_SHA256` remain 0.2.121 / 3039f38f… in `.github/workflows/ci.yml:227,231`, `.github/workflows/build-wasm.yml:31,35` and `.github/workflows/release-please.yml:254,256`. In the Workers CI lane, the build-wasm workflow and the release pipeline, the version check in `scripts/build.sh` lines 11-15 exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", so the wasm artifact cannot be built or published. Fix: in all three workflows, set `WASM_BINDGEN_VERSION` to 0.2.129 and `WASM_BINDGEN_SHA256` to the SHA-256 of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the line 23 comment to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# Also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: js-sys is bumped from 0.3.98 to 0.3.106 in a dependency manifest. WHY: Dependency changes require vulnerability and supply-chain validation plus an updated lockfile. HOW: Run cargo audit or an OSV check for js-sys 0.3.106 and attach the results to the PR. Make sure Cargo.lock is updated. Also update the nearby comment that still says it is paired with wasm-bindgen 0.2.121.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:20-20

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 24:

WHAT: js-sys is bumped from 0.3.98 to 0.3.106 in a dependency manifest. WHY: Dependency changes require vulnerability and supply-chain validation plus an updated lockfile. HOW: Run `cargo audit` or an OSV check for js-sys 0.3.106 and attach the results to the PR. Make sure Cargo.lock is updated. Also update the nearby comment that still says it is paired with wasm-bindgen 0.2.121.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 with the 0.2.121 tarball SHA-256. scripts/build.sh:11-17 compares the Cargo.lock version against wasm-bindgen --version and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so both the workers CI lane and the tag-triggered wasm release build fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 with the 0.2.121 tarball SHA-256. scripts/build.sh:11-17 compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so both the workers CI lane and the tag-triggered wasm release build fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129, but ci.yml (line 227), release-please.yml (line 254), and build-wasm.yml (line 31) still install the wasm-bindgen CLI at 0.2.121 with the 0.2.121 SHA256. scripts/build.sh compares the Cargo.lock version (0.2.129) against wasm-bindgen --version (0.2.121) and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so every CI wasm build and the release publish job fail. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,release-please,build-wasm}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129, but ci.yml (line 227), release-please.yml (line 254), and build-wasm.yml (line 31) still install the wasm-bindgen CLI at 0.2.121 with the 0.2.121 SHA256. scripts/build.sh compares the Cargo.lock version (0.2.129) against `wasm-bindgen --version` (0.2.121) and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so every CI wasm build and the release publish job fail. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,release-please,build-wasm}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: The exact-pinned js-sys dependency was bumped from 0.3.98 to 0.3.106, and no audit evidence is visible. WHY: Dependency changes need a supply-chain check. Also, js-sys must stay ABI-paired with the wasm-bindgen release, and the comment above it still references wasm-bindgen 0.2.121. HOW: Attach cargo audit/OSV results for js-sys 0.3.106 and confirm it is the release paired with wasm-bindgen 0.2.129. Update the lockfile and the stale comment.

Also found in:

  • packages/cachekit/package.json:97-97
  • packages/cachekit-core-wasm/Cargo.toml:20-20
  • packages/cachekit/package.json:103-103

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 24:

WHAT: The exact-pinned js-sys dependency was bumped from 0.3.98 to 0.3.106, and no audit evidence is visible. WHY: Dependency changes need a supply-chain check. Also, js-sys must stay ABI-paired with the wasm-bindgen release, and the comment above it still references wasm-bindgen 0.2.121. HOW: Attach `cargo audit`/OSV results for js-sys 0.3.106 and confirm it is the release paired with wasm-bindgen 0.2.129. Update the lockfile and the stale comment.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is bumped to =0.2.129, but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install the wasm-bindgen CLI 0.2.121 with the old WASM_BINDGEN_SHA256. Because scripts/build.sh lines 11-17 compares the Cargo.lock version against wasm-bindgen --version and exits 1 on mismatch, the Workers test lane, the build-wasm workflow and the release pipeline all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (0.2.129) + WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is bumped to =0.2.129, but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install the wasm-bindgen CLI 0.2.121 with the old WASM_BINDGEN_SHA256. Because scripts/build.sh lines 11-17 compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 on mismatch, the Workers test lane, the build-wasm workflow and the release pipeline all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (0.2.129) + WASM_BINDGEN_SHA256 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129, but ci.yml:227, build-wasm.yml:31, and release-please.yml:254 still download the 0.2.121 wasm-bindgen CLI with the 0.2.121 SHA256. scripts/build.sh reads 0.2.129 from Cargo.lock and aborts with error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129, which fails the wasm build, the workers test lane, and the release publish of @cachekit-io/cachekit-core-wasm. Fix: in this PR, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball checksum in all three workflows.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129, but ci.yml:227, build-wasm.yml:31, and release-please.yml:254 still download the 0.2.121 wasm-bindgen CLI with the 0.2.121 SHA256. scripts/build.sh reads 0.2.129 from Cargo.lock and aborts with `error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`, which fails the wasm build, the workers test lane, and the release publish of @cachekit-io/cachekit-core-wasm. Fix: in this PR, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball checksum in all three workflows.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen pin moves to =0.2.129 (Cargo.lock now resolves 0.2.129), but the CI workflows still install the 0.2.121 wasm-bindgen CLI via WASM_BINDGEN_VERSION and its SHA-256 in .github/workflows/ci.yml:227/231, release-please.yml:254/256, and build-wasm.yml:31/35. scripts/build.sh:11-15 exits when the CLI version differs from the Cargo.lock pin, so the Workers lane, the build-wasm workflow, and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment at line 23 to name 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,release-please,build-wasm}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen pin moves to =0.2.129 (Cargo.lock now resolves 0.2.129), but the CI workflows still install the 0.2.121 wasm-bindgen CLI via WASM_BINDGEN_VERSION and its SHA-256 in .github/workflows/ci.yml:227/231, release-please.yml:254/256, and build-wasm.yml:31/35. scripts/build.sh:11-15 exits when the CLI version differs from the Cargo.lock pin, so the Workers lane, the build-wasm workflow, and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment at line 23 to name 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,release-please,build-wasm}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129 (Cargo.lock line 861), but .github/workflows/ci.yml:227, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121 with the SHA-256 for the 0.2.121 tarball. Because scripts/build.sh (lines 11-17) exits 1 when the Cargo.lock version differs from the installed CLI, the Workers lane CI job, the build-wasm workflow and the release pipeline all fail with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which blocks wasm package releases. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale 0.2.121 reference in the comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the `wasm-bindgen` crate is now pinned to =0.2.129 (Cargo.lock line 861), but `.github/workflows/ci.yml:227`, `.github/workflows/build-wasm.yml:31` and `.github/workflows/release-please.yml:254` still set `WASM_BINDGEN_VERSION: 0.2.121` with the SHA-256 for the 0.2.121 tarball. Because `scripts/build.sh` (lines 11-17) exits 1 when the Cargo.lock version differs from the installed CLI, the Workers lane CI job, the build-wasm workflow and the release pipeline all fail with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which blocks wasm package releases. Fix: set `WASM_BINDGEN_VERSION` to 0.2.129 and `WASM_BINDGEN_SHA256` to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball in all three workflows, and update the stale 0.2.121 reference in the comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen = "=0.2.129" pin, which Cargo.lock resolves to 0.2.129, no longer matches WASM_BINDGEN_VERSION: 0.2.121 in .github/workflows/ci.yml:227, .github/workflows/build-wasm.yml:31, and .github/workflows/release-please.yml:254. When the Workers lane, the wasm build workflow, or the release job runs, scripts/build.sh (lines 11-16) compares the Cargo.lock version against the installed CLI and exits 1 with error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129, so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale "paired with wasm-bindgen 0.2.121" comment.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci,build-wasm,release-please}.yml:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the `wasm-bindgen = "=0.2.129"` pin, which Cargo.lock resolves to 0.2.129, no longer matches `WASM_BINDGEN_VERSION: 0.2.121` in `.github/workflows/ci.yml:227`, `.github/workflows/build-wasm.yml:31`, and `.github/workflows/release-please.yml:254`. When the Workers lane, the wasm build workflow, or the release job runs, `scripts/build.sh` (lines 11-16) compares the Cargo.lock version against the installed CLI and exits 1 with `error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`, so the wasm artifact cannot be built or published. Fix: in all three workflows, set `WASM_BINDGEN_VERSION` to 0.2.129 and `WASM_BINDGEN_SHA256` to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale "paired with wasm-bindgen 0.2.121" comment.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci,build-wasm,release-please}.yml:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, release-please.yml:254 and build-wasm.yml:31 still install the 0.2.121 wasm-bindgen CLI with that tarball's SHA-256 (ci.yml:231). When scripts/build.sh:11-15 compares the CLI version against the Cargo.lock version, it exits with wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129, so the Workers lane, the wasm build workflow and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (and WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, release-please.yml and build-wasm.yml.
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:227, release-please.yml:254 and build-wasm.yml:31 still install the 0.2.121 wasm-bindgen CLI with that tarball's SHA-256 (ci.yml:231). When scripts/build.sh:11-15 compares the CLI version against the Cargo.lock version, it exits with `wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`, so the Workers lane, the wasm build workflow and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (and WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, release-please.yml and build-wasm.yml.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate pin moves to =0.2.129 (Cargo.lock also resolves 0.2.129), but .github/workflows/build-wasm.yml:31, ci.yml:227 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121, and build-wasm.yml:35 still pins the SHA-256 of the 0.2.121 tarball. scripts/build.sh:11-16 compares the Cargo.lock version with wasm-bindgen --version and exits 1 on a mismatch, so every CI and release run of build:wasm fails with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129" and the wasm artifact is never built or published. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows and set WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 (+ WASM_BINDGEN_SHA256) in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate pin moves to =0.2.129 (Cargo.lock also resolves 0.2.129), but .github/workflows/build-wasm.yml:31, ci.yml:227 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121, and build-wasm.yml:35 still pins the SHA-256 of the 0.2.121 tarball. scripts/build.sh:11-16 compares the Cargo.lock version with `wasm-bindgen --version` and exits 1 on a mismatch, so every CI and release run of `build:wasm` fails with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129" and the wasm artifact is never built or published. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows and set WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 (+ WASM_BINDGEN_SHA256) in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock 0.2.129), but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 with the 0.2.121 SHA256. When scripts/build.sh compares the CLI version to the Cargo.lock pin, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so the wasm build fails in CI, build-wasm and release, and the Workers test run produces no artifact. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release asset, and update the js-sys pairing comment to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock 0.2.129), but .github/workflows/ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 with the 0.2.121 SHA256. When scripts/build.sh compares the CLI version to the Cargo.lock pin, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so the wasm build fails in CI, build-wasm and release, and the Workers test run produces no artifact. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release asset, and update the js-sys pairing comment to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install the wasm-bindgen CLI at 0.2.121 with that version's SHA-256. scripts/build.sh:11-15 compares the Cargo.lock version against wasm-bindgen --version and exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the Workers lane, the build-wasm workflow and the release wasm build, so no wasm artifact can be published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale "wasm-bindgen 0.2.121" comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but ci.yml:227, build-wasm.yml:31 and release-please.yml:254 still install the wasm-bindgen CLI at 0.2.121 with that version's SHA-256. scripts/build.sh:11-15 compares the Cargo.lock version against `wasm-bindgen --version` and exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the Workers lane, the build-wasm workflow and the release wasm build, so no wasm artifact can be published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale "wasm-bindgen 0.2.121" comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: Cargo.toml and Cargo.lock pin wasm-bindgen 0.2.129, but CI still installs wasm-bindgen CLI 0.2.121 through WASM_BINDGEN_VERSION in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254. When any CI or release job runs pnpm --filter @cachekit-io/cachekit-core-wasm build:wasm, scripts/build.sh:11-17 finds that the Cargo.lock version differs from wasm-bindgen --version and exits 1, which blocks publishing the Workers wasm artifact. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and change the line 23 comment to reference 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: Cargo.toml and Cargo.lock pin wasm-bindgen 0.2.129, but CI still installs wasm-bindgen CLI 0.2.121 through WASM_BINDGEN_VERSION in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254. When any CI or release job runs `pnpm --filter @cachekit-io/cachekit-core-wasm build:wasm`, scripts/build.sh:11-17 finds that the Cargo.lock version differs from `wasm-bindgen --version` and exits 1, which blocks publishing the Workers wasm artifact. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and change the line 23 comment to reference 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml:20: the wasm-bindgen crate is pinned to =0.2.129, but WASM_BINDGEN_VERSION is still 0.2.121 and WASM_BINDGEN_SHA256 is still the 0.2.121 tarball checksum in build-wasm.yml:31, ci.yml:278 and release-please.yml:254. scripts/build.sh:11-17 compares the installed 0.2.121 CLI against the 0.2.129 version in Cargo.lock and exits 1, so pnpm --filter @cachekit-io/cachekit-core-wasm build:wasm fails in the build-wasm, CI workers and release jobs, and no wasm artifact gets built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml:20: the wasm-bindgen crate is pinned to =0.2.129, but WASM_BINDGEN_VERSION is still 0.2.121 and WASM_BINDGEN_SHA256 is still the 0.2.121 tarball checksum in build-wasm.yml:31, ci.yml:278 and release-please.yml:254. scripts/build.sh:11-17 compares the installed 0.2.121 CLI against the 0.2.129 version in Cargo.lock and exits 1, so `pnpm --filter @cachekit-io/cachekit-core-wasm build:wasm` fails in the build-wasm, CI workers and release jobs, and no wasm artifact gets built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Build break in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock also resolves 0.2.129), but ci.yml:278-282, build-wasm.yml:31-35, and release-please.yml:254-256 still install wasm-bindgen CLI 0.2.121. When scripts/build.sh:11-15 compares the Cargo.lock version against wasm-bindgen --version, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129' in the CI, build-wasm, and release jobs, so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 musl tarball, and update the '0.2.121' reference in the comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Build break in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock also resolves 0.2.129), but ci.yml:278-282, build-wasm.yml:31-35, and release-please.yml:254-256 still install wasm-bindgen CLI 0.2.121. When scripts/build.sh:11-15 compares the Cargo.lock version against `wasm-bindgen --version`, it exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129' in the CI, build-wasm, and release jobs, so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 musl tarball, and update the '0.2.121' reference in the comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pin moves to wasm-bindgen =0.2.129, but the CI, build-wasm, and release-please workflows still install wasm-bindgen CLI 0.2.121 (WASM_BINDGEN_VERSION: 0.2.121, with that tarball's SHA256). scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock, finds CLI 0.2.121, and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so every wasm build in CI and every release fails. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball checksum in ci.yml:278, release-please.yml:254, and build-wasm.yml:31, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pin moves to wasm-bindgen =0.2.129, but the CI, build-wasm, and release-please workflows still install wasm-bindgen CLI 0.2.121 (WASM_BINDGEN_VERSION: 0.2.121, with that tarball's SHA256). scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock, finds CLI 0.2.121, and exits with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so every wasm build in CI and every release fails. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball checksum in ci.yml:278, release-please.yml:254, and build-wasm.yml:31, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but CI still installs wasm-bindgen CLI 0.2.121 in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254. On every CI and release wasm build, scripts/build.sh:11-17 compares the Cargo.lock version against wasm-bindgen --version and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the hash of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment at Cargo.toml:23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 in
# .github/workflows/{build-wasm,ci,release-please}.yml to 0.2.129
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but CI still installs wasm-bindgen CLI 0.2.121 in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254. On every CI and release wasm build, scripts/build.sh:11-17 compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the hash of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment at Cargo.toml:23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 in
# .github/workflows/{build-wasm,ci,release-please}.yml to 0.2.129

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: js-sys is bumped from 0.3.98 to 0.3.106. WHY: Updated dependencies must be checked for vulnerabilities and must be released as a pair with wasm-bindgen. HOW: Provide cargo audit or OSV evidence and confirm 0.3.106 is the release paired with wasm-bindgen 0.2.129. Also update the stale comment above, which still says 0.2.121, and the lockfile.

Also found in:

  • packages/cachekit/package.json:99-99
  • packages/cachekit-core-wasm/Cargo.toml:20-20
  • packages/cachekit/package.json:105-105

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 24:

WHAT: js-sys is bumped from 0.3.98 to 0.3.106. WHY: Updated dependencies must be checked for vulnerabilities and must be released as a pair with wasm-bindgen. HOW: Provide `cargo audit` or OSV evidence and confirm 0.3.106 is the release paired with wasm-bindgen 0.2.129. Also update the stale comment above, which still says 0.2.121, and the lockfile.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129 and Cargo.lock matches, but .github/workflows/ci.yml:278, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121. Because scripts/build.sh:11-17 compares the Cargo.lock version against wasm-bindgen --version and exits 1 on mismatch, every CI and release wasm build now fails with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows and update the stale 0.2.121 reference in the comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 in .github/workflows/ci.yml,
# build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129 and Cargo.lock matches, but `.github/workflows/ci.yml:278`, `.github/workflows/build-wasm.yml:31` and `.github/workflows/release-please.yml:254` still set `WASM_BINDGEN_VERSION: 0.2.121`. Because `scripts/build.sh:11-17` compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 on mismatch, every CI and release wasm build now fails with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Fix: set `WASM_BINDGEN_VERSION` to 0.2.129 in all three workflows and update the stale 0.2.121 reference in the comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION: 0.2.129 in .github/workflows/ci.yml,
# build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but build-wasm.yml:31, ci.yml:278, and release-please.yml:254 still install wasm-bindgen CLI 0.2.121, and build-wasm.yml:35 pins the SHA-256 of the 0.2.121 tarball. When any CI wasm build or the cachekit-core-wasm tag release runs, scripts/build.sh:11-15 compares the CLI version against Cargo.lock and exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update WASM_BINDGEN_SHA256 (and any other workflow checksums) to the hash of the 0.2.129 x86_64-unknown-linux-musl tarball, and correct the stale 0.2.121 comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but build-wasm.yml:31, ci.yml:278, and release-please.yml:254 still install wasm-bindgen CLI 0.2.121, and build-wasm.yml:35 pins the SHA-256 of the 0.2.121 tarball. When any CI wasm build or the cachekit-core-wasm tag release runs, scripts/build.sh:11-15 compares the CLI version against Cargo.lock and exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update WASM_BINDGEN_SHA256 (and any other workflow checksums) to the hash of the 0.2.129 x86_64-unknown-linux-musl tarball, and correct the stale 0.2.121 comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129, but every CI workflow still installs the wasm-bindgen CLI 0.2.121 (WASM_BINDGEN_VERSION: 0.2.121 and its SHA256 in .github/workflows/ci.yml:278/282, build-wasm.yml:31/35, and release-please.yml:254/256). On every CI run, scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock, compares it with wasm-bindgen --version (0.2.121), and exits with 'error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the wasm build, the workers test lane, and the release job. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz, then update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129, but every CI workflow still installs the wasm-bindgen CLI 0.2.121 (WASM_BINDGEN_VERSION: 0.2.121 and its SHA256 in .github/workflows/ci.yml:278/282, build-wasm.yml:31/35, and release-please.yml:254/256). On every CI run, scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock, compares it with `wasm-bindgen --version` (0.2.121), and exits with 'error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the wasm build, the workers test lane, and the release job. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz, then update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml:20: the crate pins wasm-bindgen to =0.2.129, but WASM_BINDGEN_VERSION: 0.2.121 and its checksum remain hardcoded in .github/workflows/ci.yml:278, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254. When scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock and compares it to the installed 0.2.121 CLI, it exits on the mismatch, so the Workers CI lane, the wasm build workflow and the release pipeline all fail at build:wasm. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release tarball, and change the stale "0.2.121" comment on Cargo.toml line 23 to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml:20: the crate pins wasm-bindgen to =0.2.129, but `WASM_BINDGEN_VERSION: 0.2.121` and its checksum remain hardcoded in .github/workflows/ci.yml:278, .github/workflows/build-wasm.yml:31 and .github/workflows/release-please.yml:254. When scripts/build.sh:11-15 reads 0.2.129 from Cargo.lock and compares it to the installed 0.2.121 CLI, it exits on the mismatch, so the Workers CI lane, the wasm build workflow and the release pipeline all fail at `build:wasm`. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, update WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release tarball, and change the stale "0.2.121" comment on Cargo.toml line 23 to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# ALSO update WASM_BINDGEN_VERSION=0.2.129 and WASM_BINDGEN_SHA256 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129, and Cargo.lock now resolves 0.2.129, but the CI workflows still install the 0.2.121 wasm-bindgen CLI (WASM_BINDGEN_VERSION: 0.2.121 at .github/workflows/ci.yml:278, release-please.yml:254, and build-wasm.yml:31), and the checksum at ci.yml:282 still matches the 0.2.121 tarball. When scripts/build.sh:11-15 compares the CLI version against the Cargo.lock pin, it exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which breaks the Workers lane, the wasm build workflow, and the release wasm build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and update the SHA-256 for the 0.2.129 x86_64-unknown-linux-musl tarball, then update the line-23 comment.

wasm-bindgen = "=0.2.129"
# AND in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is bumped to =0.2.129, and Cargo.lock now resolves 0.2.129, but the CI workflows still install the 0.2.121 wasm-bindgen CLI (WASM_BINDGEN_VERSION: 0.2.121 at .github/workflows/ci.yml:278, release-please.yml:254, and build-wasm.yml:31), and the checksum at ci.yml:282 still matches the 0.2.121 tarball. When scripts/build.sh:11-15 compares the CLI version against the Cargo.lock pin, it exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which breaks the Workers lane, the wasm build workflow, and the release wasm build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and update the SHA-256 for the 0.2.129 x86_64-unknown-linux-musl tarball, then update the line-23 comment.

Suggested Code:

wasm-bindgen = "=0.2.129"
# AND in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129, but WASM_BINDGEN_VERSION still installs CLI 0.2.121 in .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254. scripts/build.sh reads 0.2.129 from Cargo.lock, compares it with wasm-bindgen --version (0.2.121), and exits 1 with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the CI wasm build job, the build-wasm workflow, and the release-please publish step. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows in this PR.

wasm-bindgen = "=0.2.129"
# and in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
# WASM_BINDGEN_VERSION: 0.2.129
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129, but WASM_BINDGEN_VERSION still installs CLI 0.2.121 in .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254. scripts/build.sh reads 0.2.129 from Cargo.lock, compares it with `wasm-bindgen --version` (0.2.121), and exits 1 with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the CI wasm build job, the build-wasm workflow, and the release-please publish step. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows in this PR.

Suggested Code:

wasm-bindgen = "=0.2.129"
# and in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
# WASM_BINDGEN_VERSION: 0.2.129

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock resolves 0.2.129), but WASM_BINDGEN_VERSION: 0.2.121 and its WASM_BINDGEN_SHA256 remain in .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254. Because scripts/build.sh lines 11-17 compare the Cargo.lock version against wasm-bindgen --version and exit 1 on mismatch, the Workers lane CI job, the build-wasm workflow and the release-please wasm build all fail with wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129, which blocks wasm artifact releases. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 x86_64-unknown-linux-musl tarball checksum in all three workflows, and update the stale 0.2.121 comment on line 23 (or have Renovate group or skip wasm-bindgen until the workflows are bumped in the same PR).

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen =0.2.129 (Cargo.lock resolves 0.2.129), but `WASM_BINDGEN_VERSION: 0.2.121` and its WASM_BINDGEN_SHA256 remain in .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254. Because scripts/build.sh lines 11-17 compare the Cargo.lock version against `wasm-bindgen --version` and `exit 1` on mismatch, the Workers lane CI job, the build-wasm workflow and the release-please wasm build all fail with `wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`, which blocks wasm artifact releases. Fix: set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the 0.2.129 x86_64-unknown-linux-musl tarball checksum in all three workflows, and update the stale 0.2.121 comment on line 23 (or have Renovate group or skip wasm-bindgen until the workflows are bumped in the same PR).

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version drift in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen to =0.2.129 (Cargo.lock resolves 0.2.129), but ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 and verify it against a 0.2.121 SHA-256. scripts/build.sh:11-15 compares the Cargo.lock version with wasm-bindgen --version, so the Workers CI lane, the tag-triggered wasm build and the release wasm build all exit with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the line 23 comment to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version drift in packages/cachekit-core-wasm/Cargo.toml: the crate pins wasm-bindgen to =0.2.129 (Cargo.lock resolves 0.2.129), but ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still install wasm-bindgen CLI 0.2.121 and verify it against a 0.2.121 SHA-256. scripts/build.sh:11-15 compares the Cargo.lock version with `wasm-bindgen --version`, so the Workers CI lane, the tag-triggered wasm build and the release wasm build all exit with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129'. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and replace WASM_BINDGEN_SHA256 with the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the line 23 comment to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (+ WASM_BINDGEN_SHA256) to 0.2.129 in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121 with the matching 0.2.121 WASM_BINDGEN_SHA256. scripts/build.sh:11-16 compares the Cargo.lock version against wasm-bindgen --version and exits 1 on mismatch, so the CI wasm job, the build-wasm workflow and the release-please wasm publish step all fail with wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (and Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121 with the matching 0.2.121 WASM_BINDGEN_SHA256. scripts/build.sh:11-16 compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 on mismatch, so the CI wasm job, the build-wasm workflow and the release-please wasm publish step all fail with `wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129`. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale '0.2.121' comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION/WASM_BINDGEN_SHA256 to 0.2.129 in
# .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (matching Cargo.lock), but .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254 still set WASM_BINDGEN_VERSION to 0.2.121 with the old WASM_BINDGEN_SHA256. Because scripts/build.sh:11-16 exits 1 when the CLI version differs from the Cargo.lock version, the 'Workers lane' CI job, the tag-triggered wasm release build, and the release-please wasm build all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release tarball, and update the line 23 comment to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 (+ WASM_BINDGEN_SHA256) in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (matching Cargo.lock), but .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254 still set WASM_BINDGEN_VERSION to 0.2.121 with the old WASM_BINDGEN_SHA256. Because scripts/build.sh:11-16 exits 1 when the CLI version differs from the Cargo.lock version, the 'Workers lane' CI job, the tag-triggered wasm release build, and the release-please wasm build all fail with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', so the wasm artifact cannot be built or published. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl release tarball, and update the line 23 comment to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION=0.2.129 (+ WASM_BINDGEN_SHA256) in
# .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (matching Cargo.lock), but WASM_BINDGEN_VERSION is still 0.2.121 in .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254. scripts/build.sh (lines 11-17) compares the Cargo.lock version against wasm-bindgen --version and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the CI wasm job, the build-wasm workflow, and the release pipeline. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, and change the stale 0.2.121 reference in the comment on line 23 to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION to 0.2.129 in .github/workflows/{ci,build-wasm,release-please}.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is pinned to =0.2.129 (matching Cargo.lock), but WASM_BINDGEN_VERSION is still 0.2.121 in .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254. scripts/build.sh (lines 11-17) compares the Cargo.lock version against `wasm-bindgen --version` and exits 1 with 'wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129', which fails the CI wasm job, the build-wasm workflow, and the release pipeline. Fix: set WASM_BINDGEN_VERSION to 0.2.129 in all three workflows, and change the stale 0.2.121 reference in the comment on line 23 to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION to 0.2.129 in .github/workflows/{ci,build-wasm,release-please}.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml line 20: the wasm-bindgen crate pin and Cargo.lock (line 861) are now 0.2.129, but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION to 0.2.121 and verify WASM_BINDGEN_SHA256 against the 0.2.121 tarball. When the Workers lane, build-wasm or the release job runs, scripts/build.sh:11-15 compares the Cargo.lock version (0.2.129) with the installed CLI (0.2.121), prints error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129 and exits, breaking the wasm artifact build, the workerd test lane and the published wasm package. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the SHA-256 of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to reference 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml line 20: the wasm-bindgen crate pin and Cargo.lock (line 861) are now 0.2.129, but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION to 0.2.121 and verify WASM_BINDGEN_SHA256 against the 0.2.121 tarball. When the Workers lane, build-wasm or the release job runs, scripts/build.sh:11-15 compares the Cargo.lock version (0.2.129) with the installed CLI (0.2.121), prints `error: wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129` and exits, breaking the wasm artifact build, the workerd test lane and the published wasm package. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the SHA-256 of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the comment on line 23 to reference 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci.yml,build-wasm.yml,release-please.yml}:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121 with its SHA256. scripts/build.sh:11-17 compares the Cargo.lock version with the wasm-bindgen --version output and exits 1 when they differ. Every CI wasm build and the release-please publish job therefore fail with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Bypassing the guard would also produce glue code whose ABI does not match the module, which fails at runtime. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and update WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball's checksum. Also change the comment on line 23 to say 0.2.129.

wasm-bindgen = "=0.2.129"
# ... Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND update WASM_BINDGEN_VERSION to 0.2.129 (plus the matching WASM_BINDGEN_SHA256 of the 0.2.129 x86_64-unknown-linux-musl tarball) in .github/workflows/ci.yml, build-wasm.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in Cargo.toml: the wasm-bindgen crate is now pinned to =0.2.129 (Cargo.lock resolves 0.2.129), but .github/workflows/ci.yml:278, build-wasm.yml:31 and release-please.yml:254 still set WASM_BINDGEN_VERSION: 0.2.121 with its SHA256. scripts/build.sh:11-17 compares the Cargo.lock version with the `wasm-bindgen --version` output and exits 1 when they differ. Every CI wasm build and the release-please publish job therefore fail with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129". Bypassing the guard would also produce glue code whose ABI does not match the module, which fails at runtime. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and update WASM_BINDGEN_SHA256 to the 0.2.129 musl tarball's checksum. Also change the comment on line 23 to say 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# ... Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND update WASM_BINDGEN_VERSION to 0.2.129 (plus the matching WASM_BINDGEN_SHA256 of the 0.2.129 x86_64-unknown-linux-musl tarball) in .github/workflows/ci.yml, build-wasm.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock also resolves 0.2.129), but CI still installs CLI 0.2.121 via WASM_BINDGEN_VERSION: 0.2.121 in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254, with the 0.2.121 tarball SHA-256 in build-wasm.yml:35. When scripts/build.sh (lines 11-15) compares the Cargo.lock version against wasm-bindgen --version, it exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", so the build-wasm job, the CI wasm lane, and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale 0.2.121 reference in the comment on line 23.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (0.2.129) and WASM_BINDGEN_SHA256 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: the wasm-bindgen crate is pinned to =0.2.129 (Cargo.lock also resolves 0.2.129), but CI still installs CLI 0.2.121 via `WASM_BINDGEN_VERSION: 0.2.121` in .github/workflows/build-wasm.yml:31, ci.yml:278, and release-please.yml:254, with the 0.2.121 tarball SHA-256 in build-wasm.yml:35. When `scripts/build.sh` (lines 11-15) compares the Cargo.lock version against `wasm-bindgen --version`, it exits with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", so the build-wasm job, the CI wasm lane, and the release wasm build all fail. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and update the stale 0.2.121 reference in the comment on line 23.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# NOTE: also bump WASM_BINDGEN_VERSION (0.2.129) and WASM_BINDGEN_SHA256 in
# .github/workflows/build-wasm.yml, ci.yml and release-please.yml

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Comment on lines +20 to +24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Bug high

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is now exact-pinned to 0.2.129, but .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254 still install the wasm-bindgen CLI 0.2.121 and verify it against the 0.2.121 SHA256. When scripts/build.sh:11-17 compares the Cargo.lock version (0.2.129) against wasm-bindgen --version, it runs exit 1 with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the Workers CI lane, the wasm build workflow, and the release wasm build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and change the comment on line 23 from 0.2.121 to 0.2.129.

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci,build-wasm,release-please}.yml:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>
Prompt for LLM

File packages/cachekit-core-wasm/Cargo.toml:

Line 20 to 24:

Version mismatch in packages/cachekit-core-wasm/Cargo.toml: wasm-bindgen is now exact-pinned to 0.2.129, but .github/workflows/ci.yml:278, build-wasm.yml:31, and release-please.yml:254 still install the wasm-bindgen CLI 0.2.121 and verify it against the 0.2.121 SHA256. When scripts/build.sh:11-17 compares the Cargo.lock version (0.2.129) against `wasm-bindgen --version`, it runs `exit 1` with "wasm-bindgen CLI 0.2.121 != pinned crate version 0.2.129", which fails the Workers CI lane, the wasm build workflow, and the release wasm build. Fix: in all three workflows, set WASM_BINDGEN_VERSION to 0.2.129 and WASM_BINDGEN_SHA256 to the checksum of the 0.2.129 x86_64-unknown-linux-musl tarball, and change the comment on line 23 from 0.2.121 to 0.2.129.

Suggested Code:

wasm-bindgen = "=0.2.129"
# js-sys ships from the wasm-bindgen workspace and tracks its ABI; needed to
# accept Uint8Array[] (previous master keys) across the boundary. Exact-pinned
# to the release paired with wasm-bindgen 0.2.129 above.
js-sys = "=0.3.106"
# AND in .github/workflows/{ci,build-wasm,release-please}.yml:
#   WASM_BINDGEN_VERSION: 0.2.129
#   WASM_BINDGEN_SHA256: <sha256 of wasm-bindgen-0.2.129-x86_64-unknown-linux-musl.tar.gz>

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

cachekit-core = { version = "0.6.0", features = ["encryption"] }
# Wipes the owned previous-master-key staging buffers on drop (the NAPI crate
# borrows and never copies; this crate must copy out of JS memory). Already in
Expand Down
4 changes: 2 additions & 2 deletions packages/cachekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@
"ioredis": "^5.11.1"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "0.18.7",
"@cloudflare/vitest-pool-workers": "0.23.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

kody code-review Kody Rules high

WHAT: @cloudflare/vitest-pool-workers jumps from 0.18.7 to 0.23.0, a multi-minor bump on a pre-1.0 package.
WHY: Pre-1.0 minor releases can contain breaking changes and new transitive dependencies. Without audit evidence, CVE and supply-chain risk is unverified.
HOW: Attach pnpm audit or OSV/SCA output and the advisory or changelog review to the PR description. Confirm the root lockfile was regenerated for this version.

Also found in:

  • packages/cachekit-core-wasm/Cargo.toml:20-20
  • packages/cachekit/package.json:105-105
  • packages/cachekit-core-wasm/Cargo.toml:24-24

Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk

Prompt for LLM

File packages/cachekit/package.json:

Line 99:

WHAT: @cloudflare/vitest-pool-workers jumps from 0.18.7 to 0.23.0, a multi-minor bump on a pre-1.0 package.
WHY: Pre-1.0 minor releases can contain breaking changes and new transitive dependencies. Without audit evidence, CVE and supply-chain risk is unverified.
HOW: Attach `pnpm audit` or OSV/SCA output and the advisory or changelog review to the PR description. Confirm the root lockfile was regenerated for this version.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

"@testcontainers/redis": "^11.13.0",
"@types/ioredis": "^5.0.0",
"@types/memjs": "^1.3.3",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.2",
"esbuild": "0.28.1",
"esbuild": "0.28.2",
"eslint": "^10.1.0",
"memjs": "^1.3.2",
"prom-client": "^15.1.3",
Expand Down
Loading
Loading