Skip to content

Fix evaluation worker startup after Anthropic SDK refresh - #4171

Merged
michaelr524 merged 1 commit into
mainfrom
codex/squiggle-worker-runtime-20261018
Oct 18, 2026
Merged

michaelr524 merged 1 commit into
mainfrom
codex/squiggle-worker-runtime-20261018

Conversation

@michaelr524

Copy link
Copy Markdown
Collaborator

The evaluation worker crashes at startup after #4170 with ERR_MODULE_NOT_FOUND: @opentelemetry/api. The refreshed Anthropic SDK imports it, and the Hub's worker bundler explicitly leaves it external; pnpm needs a direct Hub dependency to make that import resolve from the generated script.

  • Declare @opentelemetry/api as a Hub runtime dependency using the existing locked version, 1.9.0.
  • Resolve external packages before bundling so missing runtime dependencies fail the build.
  • Add worker bundling and a real process-pending-evaluations.mjs --help startup check to CI. This loads the module graph and exits before processing evaluations.

Validation: all 14 Hub bundle/typecheck dependency tasks pass; the generated evaluation worker starts and prints help successfully; Hub lint and formatting pass; frozen offline installation passes. No database migration.

@github-project-automation github-project-automation Bot moved this to 🆕 To prioritize in Overview Oct 18, 2026
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fermi-contest-2025-02 Ready Ready Preview Oct 18, 2026 4:04pm UTC
quri-hub Ready Ready Preview Oct 18, 2026 4:04pm UTC
quri-ui Ready Ready Preview Oct 18, 2026 4:04pm UTC
squiggle-components Ready Ready Preview Oct 18, 2026 4:04pm UTC
squiggle-website Ready Ready Preview Oct 18, 2026 4:04pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4010487

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This branch was successfully deployed

5 active deployments
Preview – quri-hub — 40104874 Deployed Oct 18, 2026 by vercel[bot]
Preview – fermi-contest-2025-02 — 40104874 Deployed Oct 18, 2026 by vercel[bot]
Preview – squiggle-website — 40104874 Deployed Oct 18, 2026 by vercel[bot]
Preview – squiggle-components — 40104874 Deployed Oct 18, 2026 by vercel[bot]
Preview – quri-ui — 40104874 Deployed Oct 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant