Skip to content

Commit a637e6c

Browse files
committed
fix(test): override the dead limitd-protocol hashlru git ref
`limitd-protocol@2.1.1` (a transitive of every `limitd-client` sandbox) declares `hashlru: 'jfromaniello/hashlru#return_value_on_set'`. The branch on the `jfromaniello/hashlru` fork no longer exists — only `master` is left — and bun aborts with `hashlru@jfromaniello/hashlru#return_value_on_set failed to resolve`. Yarn 1.x silently fell back to the default branch, masking it. The fork's `master` is the same 2.0.0 implementation that ships on npm as `hashlru@2.x`, so add it to the workspace overrides.
1 parent 419719e commit a637e6c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

scripts/install_plugin_modules.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,18 @@ async function assertWorkspaces () {
403403
// and `<3.25.0` satisfies that range too. Bun does not support
404404
// nested override keys (oven-sh/bun#6608), so a flat key is
405405
// required here even though only the ai sandbox needs it.
406+
// - `limitd-protocol@2.1.1` (pulled in by every `limitd-client`
407+
// sandbox) pins `hashlru: 'jfromaniello/hashlru#return_value_on_set'`.
408+
// The branch on `jfromaniello/hashlru` does not exist any more —
409+
// only `master` is left — so bun reports
410+
// `hashlru@jfromaniello/hashlru#return_value_on_set failed to
411+
// resolve` and aborts the install. yarn 1.x silently fell back to
412+
// the default branch, masking it. The fork's `master` is the same
413+
// 2.0.0 implementation that ships on npm as `hashlru@2.x`, so pin
414+
// to the published version.
406415
overrides: {
407416
collections: '^5.0.0',
417+
hashlru: '^2.3.0',
408418
'@langchain/openai@0.0.34/@langchain/core': '^0.2.0',
409419
'zod-to-json-schema': '<3.25.0',
410420
},

0 commit comments

Comments
 (0)