Skip to content

ci(contract): run contract tests on pull requests - #8

Open
Hqzdev wants to merge 1 commit into
mainfrom
ci/contract-tests-on-pr
Open

ci(contract): run contract tests on pull requests#8
Hqzdev wants to merge 1 commit into
mainfrom
ci/contract-tests-on-pr

Conversation

@Hqzdev

@Hqzdev Hqzdev commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Что сделано

Contract job в CI теперь запускается как самостоятельный pull_request сигнал, без зависимости от api/bot jobs. Ожидание readiness расширено на booking-service, payment-service и calendar-service.

Зачем

Если соседние jobs падали, contract tests становились skipped и PR оставался без контрактной обратной связи. Отдельный job делает этот сигнал видимым для каждого PR.

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

  • ruby YAML.load_file для .github/workflows/ci.yml
  • полный docker compose contract прогон в CI

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

Job может показать существующие проблемы contract окружения на main, но больше не будет скрываться как skipped из-за других jobs.

Contract tests were skipped when upstream CI jobs failed, which hid
contract feedback on pull requests. Running the job independently and
waiting for every service keeps the PR signal visible.

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 6, 2026 9:29am

@Hqzdev Hqzdev added ci Continuous integration and checks contracts API contracts and compatibility checks labels Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration and checks contracts API contracts and compatibility checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants