Skip to content

test(normalization): verify joint cutover via HTTP and PostgreSQL - #44

Merged
liveforpresent merged 4 commits into
mainfrom
feature/normalization-joint-cutover-e2e
Oct 28, 2026
Merged

liveforpresent merged 4 commits into
mainfrom
feature/normalization-joint-cutover-e2e

Conversation

@liveforpresent

Copy link
Copy Markdown
Contributor

Summary

TR-ACC-IMPORT-ORCH-028을 기존 V1 version pin E2E에 연결하여, 공동 전환 중 admission/create 중지부터 실제 V1/V1 검증 후 재개까지 실제 HTTP와 refinvest_integration PostgreSQL에서 검증합니다. Core 구현은 core-api PR #81에 분리했습니다.

Changes

  • 두 실제 Core 인스턴스가 동일한 DB gate를 읽으며 validation/retry 503, public idempotency claim 이전 거절, 상태·row 수 불변과 신규 create 0을 검사합니다.
  • admission 및 claim/send와 PAUSE commit의 경쟁, 재시작 후 중지·미전송 보존, 실제 응답 유실 create의 기존 Job/idempotency 대조·보류·같은 Job 복구를 확인합니다.
  • 기존 terminal·삭제·취소·ACK 재시도는 계속되고 신규 publication/PERSISTED는 보류되는지 확인합니다.
  • 원래 fleet을 중지한 채 별도 schema의 canary에서 실패 시 중지 유지, 정상 V1/V1 create/accepted/status/terminal/replay·독립 hash·publication/ACK 성공 후 재개와 동일 public key 재사용·중복 0을 검사합니다.
  • 실제 Core 실행 JAR을 한 번 빌드해 SHA-256과 commit을 기록하고 schema·process identity를 분리합니다. 알려진 Windows fatal worker socket 10014만 로그를 보존하며 제한적으로 재기동합니다. 서비스 business code를 복제하거나 create를 새 identity로 재전송하지 않습니다.
  • 운영 절차·항목별 assertion과 비민감 compatibility evidence를 추가했습니다. 실패 run은 FAIL/NOT_RUN으로 보존했습니다.

Validation

  • 고정 runtime commit: Integration 0017e37, Core c956391a5e9e2f1af9a552f081b5281c1b4efcbe, Context 06fdd057100917444aad36ff997e483f0f4f588b, Compute 0701c4ac07ac89281fa6f1b263bde294b0db6452, Web 2ef516694dd45f79eba6ecfbb99f0a424f9aa4dc.
  • 실제 HTTP·PostgreSQL version pin E2E 종료 코드 0. V1 publication/integrity 및 ORCH-024~028 PASS, ORCH-028 세부 10개 항목 모두 PASS.
  • verify-contract-sync.ps1 -IncludeWeb, Core 문서 동기화와 V1/V2 fixed vector PASS.
  • Integration unit 58개와 process/configuration identity 23 assertions PASS. Core 전체 Gradle/ArchUnit·Flyway V1~V10 및 PostgreSQL store 24개 PASS, DB skipped 0.
  • 실행 증적은 docs/evidence/NORMALIZATION_JOINT_CUTOVER_2026-10-28.json, 항목별 설명은 docs/TRADING_NORMALIZATION_JOINT_CUTOVER_E2E.md에 있습니다. 후속 증적 커밋은 runtime 코드를 변경하지 않습니다.

Deployment limits

검증은 미병합 Core 후보 branch 조합이며 전체 main 조합이나 production 배포 승인이 아닙니다. 이전 Core·무필드 producer 잔존 0과 production 운영 role 권한은 별도 확인이 필요합니다. Compute 0017은 기존 terminal Job의 atomic 실행에서 SQLSTATE 55006으로 다시 실패했고 rollback 후 기존 psql statement runner의 ORCH-027만 PASS입니다. atomic runner 배포는 BLOCKED로 기록했습니다. Context 계약·Compute business code·Web 및 V2 신규 선택 활성화는 변경하지 않았습니다. Determinism 영향 없음. 자동 merge를 요청하지 않습니다.

@liveforpresent
liveforpresent merged commit a840dcf into main Oct 28, 2026
2 checks passed
@liveforpresent
liveforpresent deleted the feature/normalization-joint-cutover-e2e branch October 28, 2026 05:04
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