Skip to content

fix: yeni PR'da zorunlu CI belirene kadar "CI Bitince Merge Et" sun, koruma engelini hata kartı yapma - #135

Merged
syhgorath merged 1 commit into
mainfrom
fix/zorunlu-ci-beklet
Nov 21, 2026
Merged

syhgorath merged 1 commit into
mainfrom
fix/zorunlu-ci-beklet

Conversation

@syhgorath

Copy link
Copy Markdown
Owner

Ne

  • Varsayılan dalın zorunlu CI kontrolleri salt okunur okunur (RepoMeta.requiredChecks): Ruleset rules/branches/<dal> + klasik koruma. Ruleset'in "dal güncel olmalı" kuralı strictUpToDate'e yansır.
  • CI henüz yokken (GitHub kontrolleri PR açıldıktan birkaç sn sonra oluşturur) ve zorunlu kontrol varsa düğme baştan ⏳ CI Bitince Merge Et olur (ciPendingForMerge). Zorunlu kontrol yoksa/okunamadıysa düz Merge kalır.
  • Koruma engeli günlükte info tutulur (Hata Radarı kartı çıkmaz); yanıltıcı "onay eksik" ifadesi kaldırıldı.

Neden

Yeni açılan PR'da düz Merge sunuluyor, GitHub base branch policy prohibits the merge ile reddediyor, Hata Radarı kartı çıkıyordu (sshpocket #342/#343); sunucu "CI bitince" koşusunu sonradan başlatıp birleştiriyordu.

Doğrulama

  • Yeni required_checks_test.go ve tests/js/ci-pending.test.mjs (eski kodda düşer).
  • Gerçek sshpocket ve utility Ruleset'lerinde rules/branches/main çıktısı doğrulandı.
  • go vet ./... && go test -count=1 -race -cover ./... && go build -o gitarc .; node --check; node --test tests/js/.

… ruleset kontrollerini oku; koruma engeli info
@syhgorath
syhgorath merged commit 5244b93 into main Nov 21, 2026
1 check passed
@syhgorath
syhgorath deleted the fix/zorunlu-ci-beklet branch November 21, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant