Skip to content

[agent] Failed to update typescript #220

Description

@claude

Failed dependency update

Package: typescript
From: 6.0.3 → To: 7.0.2

Error

Failed at Step 1 (the update-outdated-deps:fix-pkg-json step of pnpm update-outdated-deps) and would fail Step 2a: Linting repo-wide.

typescript-eslint hard-fails when it detects TypeScript 7.0, so every ESLint invocation in the monorepo aborts before linting a single file:

Oops! Something went wrong! :(

ESLint: 9.39.2

Error: typescript-eslint does not support TS 7.0.
    at node_modules/.pnpm/typescript-eslint@8.68.0_.../typescript-eslint/dist/index.js:52:9
    ...
    at async eslint.config.ts:1:218

The check comes from typescript-eslint itself, which points at:

What was tried

typescript was bumped to 7.0.2 along with typescript-eslint/@typescript-eslint/parser to their latest 8.69.0. 8.69.0 still contains the same hard TS 7.0 guard, so there is no version of the v8 line that accepts TS 7.0 — this is not resolvable by a clean migration on our side, only by an upstream release.

Per the update-dependencies runbook, typescript was reverted to 6.0.3 in all 15 package.json files and the rest of the updates proceeded. Every other validation step passes.

Note that @typescript/native-preview (tsgo, used for pnpm typecheck) is already pinned at 7.0.0-dev.20260707.2 and is unaffected — only the typescript package used by typescript-eslint was held back.

Next steps

Re-attempt the typescript 7.x bump once typescript-eslint ships TS 7 support (watch typescript-eslint#10940). Until then, pnpm update-outdated-deps will keep proposing typescript@7.x and the weekly agent run will keep reverting it.

Workflow run

Link unavailable — the agent could not read GITHUB_SERVER_URL / GITHUB_REPOSITORY / GITHUB_RUN_ID in this run (environment variable reads were blocked by the sandbox). See the most recent "Update dependencies" workflow run, and the accompanying chore: update dependencies PR, for full logs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions