OpenHands / OpenHands/software-agent-sdk

fix(ts-client): keep Babel override consistent with lockfile

Open Beginner friendly
#5,072 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug ci dependencies javascript priority:medium ready-for-dev
Dominant language
Python
Stars
1.1k
Forks
542
Avg merge
1d 19h
Merged PRs (30d)
137

Description

Problem

TypeScript client CI on current main fails before tests because npm re-resolves the self-referencing @babel/core override beyond the version captured by the lockfile.

Actual Behavior

After the repository setup command uv sync, change into clients/typescript. Both the Node 22.12 and Node 24 CI jobs then fail at:

npm ci

The error begins with:

Invalid: lock file's @babel/core@8.0.1 does not satisfy @babel/core@8.0.5

and then reports the newer Babel dependency graph missing from the lock.

Expected Behavior

A clean install from the committed package manifest and lockfile succeeds reproducibly on every supported Node version.

Acceptance Criteria
  • npm ci succeeds from a clean clients/typescript checkout on Node 22.12 and Node 24.
  • The fix retains the currently tested Babel 8.0.1 dependency graph; dependency upgrades remain in their dedicated Dependabot PRs.
  • No generated client or runtime behavior changes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in clients/typescript with its package manifest and lockfile, then inspect the @babel/core override and the recorded 8.0.1 dependency graph. Run npm ci from a clean checkout on Node 22.12 and Node 24; done means both installs succeed without changing generated clients or runtime behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, node.js, typescript
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.