Skip to content

chore(deps): autoupdate (needs claude fix) - #32

Merged
siarheidudko merged 3 commits into
mainfrom
chore/autoupdate-31227401630
Aug 8, 2026
Merged

chore(deps): autoupdate (needs claude fix)#32
siarheidudko merged 3 commits into
mainfrom
chore/autoupdate-31227401630

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The dependency autoupdater failed during builds-and-checks.

Run log: https://github.com/dudko-dev/agent/actions/runs/31227401630

A Claude session has been dispatched to push fixes onto this branch
so the following commands all exit 0:

  npm run typecheck
  npm run format:check
  npm run build
  npm test

Claude will leave a status comment on this PR when it finishes.
The Claude workflow re-dispatches PR-checks once it is done, so the
checks below reflect its pushed fixes.

@github-actions
github-actions Bot requested a review from siarheidudko August 7, 2026 23:32
@github-actions github-actions Bot added autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix labels Aug 7, 2026
TypeScript 7.0.2 restructured the package so `require('typescript')`
no longer exposes the classic compiler API (ts.sys, Program, etc.) —
the main entry now only exports a version string; the classic API
moved under new `unstable/*` subpaths. tsup's dts bundling step
(via rollup-plugin-dts, bundled internally) depends on the classic
API and crashes with `Cannot read properties of undefined (reading
'useCaseSensitiveFileNames')` since `ts.sys` is undefined.

tsup@8.5.1 (latest) hasn't adapted to the new TS7 API surface yet,
so pin typescript back to ^6.0.3 (the last version before the
autoupdate bump, still the latest stable 6.x release) until tsup
ships support.
@claude

claude Bot commented Aug 7, 2026

Copy link
Copy Markdown

Status: fixed, commit pushed.

Initial run: npm run build failed (exit 1). npm run typecheck and npm run format:check were green.

Root cause: the autoupdate bumped typescript from ^6.0.3 to ^7.0.2. TypeScript 7.0.2 restructured the npm package so require('typescript') no longer exposes the classic compiler API (ts.sys, Program, etc.) — the main entry (lib/version.cjs) now only exports a version string; the classic API moved to new unstable/* subpaths. tsc --noEmit (typecheck) still works fine since it uses the tsc CLI binary directly, but tsup's dts: true build step depends on rollup-plugin-dts (bundled inside tsup), which calls into the classic ts.sys API and crashed with:

TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')

tsup@8.5.1 is the latest available version and has not yet adapted to TS7's new API surface.

Fix: reverted the typescript devDependency pin from ^7.0.2 back to ^6.0.3 (the version before this bump, and still the latest stable 6.x release on npm). This is a devDependency/build-tool pin only — no product code changed. package-lock.json updated accordingly via npm install --no-audit --no-fund (exit 0).

Final verification (all green):

  • npm run typecheck — pass
  • npm run format:check — pass
  • npm run build — pass
  • npm test — 133/134 pass. The 1 failure (buildModelFromStage returns a model object for provider=anthropic) is caused by ANTHROPIC_BASE_URL="" being set as an ambient env var in my local sandbox (leaking from the agent runtime, not from this repo — confirmed via grep -rn ANTHROPIC_BASE_URL across the repo and .github/workflows/test.yml, no matches). Clearing that env var in-process and re-running buildModelFromStage for the anthropic provider directly succeeds. This var is not set anywhere in test.yml or elsewhere in CI, so it will not reproduce on the GitHub Actions runner.

Pushed commit: f43c5c4 on chore/autoupdate-31227401630.

@siarheidudko
siarheidudko merged commit ce933d1 into main Aug 8, 2026
5 checks passed
@siarheidudko
siarheidudko deleted the chore/autoupdate-31227401630 branch August 8, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoupdate Automated dependency update PRs needs-claude Needs Claude GitHub App to fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant