Repository navigation
Conversation
Что: - octokit 3.2.2 -> 5.0.5 (точный пин) в apps/dokploy и packages/server. - @octokit/auth-app ^6.1.4 -> ^8.3.1 в обоих воркспейсах. - @octokit/webhooks ^13.9.1 -> ^14.2.0 в apps/dokploy. - Удалён неиспользуемый @octokit/rest из packages/server. Зачем: Мажорное обновление семейства octokit (волна 2). Из дерева уходят старые транзитивные зависимости (jsonwebtoken, btoa-lite, deprecation). Риски: Breaking changes: пакеты стали только ESM, удалён тип авторизации "oauth", минимальный Node 20. Оба воркспейса уже ESM, Node 24, тип "oauth" не используется, поэтому код не менялся. Вызовы auth, paginate, rest.* и Webhooks.verify сохранили сигнатуры. Проверки: - bun install --frozen-lockfile, bun run typecheck: ок. - vitest __test__/git-provider и __test__/deploy: 40 файлов, 426 тестов ок. - bunx biome check по изменённым файлам, bun audit: ок. - Импорт в Node: Octokit + createAppAuth создаются, verify принимает верную подпись и отклоняет неверную. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Зачем
Мажорное обновление семейства octokit в рамках волны 2. Новые версии вышли больше суток назад. Из дерева зависимостей уходят старые транзитивные пакеты (jsonwebtoken, btoa-lite, deprecation, aggregate-error).
Что изменилось
octokit3.2.2 → 5.0.5 (точный пин, вышел 2025-10-31) вapps/dokployиpackages/server.@octokit/auth-app^6.1.4 → ^8.3.1 (2026-09-01) в обоих воркспейсах.@octokit/webhooks^13.9.1 → ^14.2.0 (2025-12-03) вapps/dokploy.@octokit/restизpackages/server: он нигде не импортировался.bun.lockизменился только в дереве octokit.Breaking changes по release notes:
oauth, типы вебхуков перешли на@octokit/openapi-webhooks-types.oauth.Оба воркспейса уже
"type": "module", образ и CI используют Node 24, типoauthне используется. Сигнатурыoctokit.auth({ type: "installation" }),paginate,rest.*иWebhooks#verify(payload, signature)не изменились, поэтому код не правился.Проверки
bun install --frozen-lockfileдо и после изменений: ок.bun run typecheck: ок во всех воркспейсах.vitest --config __test__/vitest.config.ts __test__/git-provider __test__/deploy: 40 файлов, 426 тестов прошли, 1 пропущен.bunx biome checkпо изменённым файлам: ок.bun audit --audit-level=moderate: уязвимостей нет.OctokitсcreateAppAuthсоздаётся, нужные методыrest.*на месте;Webhooks#verifyпринимает верную подпись и отклоняет неверную.next buildи сборку образа локально не запускал, их проверит CI.Что проверить вручную на dev
🤖 Generated with Claude Code