Skip to content

fix: release 강제 재배포 분기에서 ancestry 깨짐 방지#453

Merged
manNomi merged 1 commit intomainfrom
fix/release-force-redeploy-ancestor-guard
Feb 19, 2026
Merged

fix: release 강제 재배포 분기에서 ancestry 깨짐 방지#453
manNomi merged 1 commit intomainfrom
fix/release-force-redeploy-ancestor-guard

Conversation

@manNomi
Copy link
Contributor

@manNomi manNomi commented Feb 19, 2026

Summary

  • release-weborigin/main과 동일 SHA로 강제 정렬해 promote 실패 상태를 즉시 복구했습니다.
  • release.ymlforce_redeploy=true 분기에서 empty commit 생성/푸시를 제거해 release 브랜치가 main에서 갈라지지 않도록 수정했습니다.
  • non-ancestor 상태가 감지되면 실패 종료 대신 main으로 강제 동기화(--force-with-lease)하도록 보강했습니다.

Why

  • 기존 로직은 force redeploy 시 release 브랜치에 empty commit을 남겨 다음 promote에서 release is not an ancestor of main 오류를 유발했습니다.
  • release 브랜치는 배포 포인터 역할이어야 하므로, promote 시점에 항상 main과 동일 히스토리로 정렬되는 것이 안전합니다.

Verification

  • release-web ancestry 복구 확인: release-web == main SHA
  • pre-push hooks passed:
    • pnpm --filter @solid-connect/web run ci:check
    • pnpm --filter @solid-connect/web run build
    • pnpm --filter @solid-connect/admin run ci:check
    • pnpm --filter @solid-connect/admin run build

@vercel
Copy link

vercel bot commented Feb 19, 2026

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

Project Deployment Actions Updated (UTC)
solid-connect-web-admin Building Building Preview Feb 19, 2026 2:30pm
solid-connection-web Ready Ready Preview, Comment Feb 19, 2026 2:30pm

@manNomi manNomi merged commit 7dfe96e into main Feb 19, 2026
9 checks passed
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

Comments