Skip to content

Dependabot raises @types/vscode past the extension's VS Code floor, and packaging fails #128

Closed

Description

@alekswebnet

What happens. Dependabot's weekly group of development dependencies raised @types/vscode from 1.90.0 to 1.144.0 in #125, and the extension's job failed at packaging:

@types/vscode 1.144.0 greater than engines.vscode ^1.90.0. Either upgrade engines.vscode or use an older @types/vscode version

Copilot's coding agent set it back to 1.90.0 in the same PR. Nothing stops the next weekly run from proposing 1.144.0 again, and it will, since that stays newer than what package.json names.

Why the types stay where they are. engines.vscode is the oldest VS Code the extension says it runs on, and the types are what the compiler checks its calls against: types newer than that would accept a call an older VS Code lacks, which is what vsce's check is for. Raising the floor is a decision of its own, not a dependency bump.

Proposed. An ignore entry for @types/vscode in .github/dependabot.yml, with a comment saying why, so the types move with engines.vscode, by hand; and a line in AGENTS.md's section on the extension.

🤖 Generated with Claude Code

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