Skip to content

fix(cli): avoid duplicate createRequire binding - #1515

Merged
christso merged 1 commit into
mainfrom
fix/av-oyx-cli-bun13-create-require
Jun 25, 2026
Merged

fix(cli): avoid duplicate createRequire binding#1515
christso merged 1 commit into
mainfrom
fix/av-oyx-cli-bun13-create-require

Conversation

@christso

Copy link
Copy Markdown
Collaborator

Summary

  • fix the Validate Evals CI failure seen after feat(experiments): support suite test selectors #1514 by avoiding a duplicate generated createRequire binding in the CLI bundle
  • keep micromatch loaded through createRequire, but alias the source binding so Bun does not see two createRequire declarations in the same chunk

Verification

  • bunx biome check apps/cli/src/commands/eval/run-eval.ts
  • bun run build && bun apps/cli/dist/cli.js validate 'examples/features//evals//.eval.yaml' 'examples/features/**/.EVAL.yaml'
  • bun --filter agentv typecheck

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9093c55
Status: ✅  Deploy successful!
Preview URL: https://744b13e8.agentv.pages.dev
Branch Preview URL: https://fix-av-oyx-cli-bun13-create.agentv.pages.dev

View logs

@christso
christso merged commit 6e20110 into main Jun 25, 2026
8 checks passed
@christso
christso deleted the fix/av-oyx-cli-bun13-create-require branch June 25, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant