Skip to content

fix(ci): stabilize api and bot checks - #17

Open
Hqzdev wants to merge 5 commits into
mainfrom
fix/ci-dependency-build-failures
Open

fix(ci): stabilize api and bot checks#17
Hqzdev wants to merge 5 commits into
mainfrom
fix/ci-dependency-build-failures

Conversation

@Hqzdev

@Hqzdev Hqzdev commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Что сделано

Исправлен CI baseline: API typecheck запускается напрямую из packages/api после package-level install, bot tracing больше не использует await внутри sync getTracer, а OpenTelemetry SDK обновлен до безопасной версии с синхронизированным lockfile.

Зачем

API and tests, Bot microservices и Dependency scanning падали до contract job. Эти failures наследовались всеми открытыми PR и мешали видеть реальные проверки изменений.

Что проверено

  • npm --prefix packages/api run typecheck
  • npm --prefix apps/bot run db:generate
  • npm --prefix apps/bot run build
  • npm --prefix apps/bot audit --audit-level=high
  • git diff --check
  • pre-push hook: npm run audit:security && npm test && npm run openapi:validate

Риски и ограничения

OpenTelemetry обновлен мажорно внутри SDK-линейки, поэтому tracing smoke стоит посмотреть в staging. Contract docker-compose локально не поднимался.

CI failed before reaching contract tests because API typecheck used the
root wrapper and bot tracing used an outdated OpenTelemetry SDK. Running
API typecheck from the package and updating tracing keeps the checks
aligned with their installed dependencies.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metrix Ready Ready Preview, Comment Jun 7, 2026 8:58am

API typecheck needs the package-level install before TypeScript can
resolve queue and realtime dependencies. Updating Next also clears the
web audit failure reported by dependency scanning.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Hqzdev Hqzdev added bug Something isn't working ci Continuous integration and checks labels Jun 7, 2026
@Hqzdev Hqzdev added api API packages and contracts bot Bot gateway or bot runtime labels Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api API packages and contracts bot Bot gateway or bot runtime bug Something isn't working ci Continuous integration and checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants