Skip to content

SwiftPM 배포 흐름과 소비자 검증을 구성한다 - #37

Merged
opficdev merged 5 commits into
developfrom
feat/#36
Sep 5, 2026
Merged

opficdev merged 5 commits into
developfrom
feat/#36

Conversation

@opficdev

@opficdev opficdev commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

🔗 연관된 이슈

🎯 작업 목적

SwiftPM 배포 대상 commit의 artifact·소비자 검증과 tag·GitHub Release 게시 순서 구성

📝 작업 내용

📌 요약

  • 배포 workflow의 검증·게시 job 분리
  • CradleDiagramMaker artifact와 원격 소비자 검증 추가
  • SwiftPM product 설치 및 배포 절차 문서화

🔍 상세

  • workflow_dispatch의 version·release_notes 입력, 접두사 없는 X.Y.Z 형식 검사, 중복 tag 차단 유지
  • validate job에서 배포 대상 commit 고정, 저장 artifact와 source-built artifact의 Mermaid 산출물 대조, 원격 revision 소비자 SHA 대조, swift test 실행
  • publish job에서 검증한 commit 기준 annotated tag 생성·push, 원격 tag revision 대조, exact version 소비자 검증, GitHub Release 생성·게시 상태 확인
  • README.md에 Cradle, CradleTesting, CradlePlugin의 SwiftPM 연결 방법과 배포 순서·tag 잔류 실패 상태 문서화
  • 공개 API, Macro expansion·diagnostic, runtime ownership, Swift Concurrency, Package.swift product·target 변경 없음

🔍 검증

  • bash Scripts/verify-diagram-artifact.sh 통과: arm64·x86_64 재생성 및 현재 호스트 artifact의 fixture Mermaid 산출물 대조
  • bash Scripts/verify-cradle-consumer.sh revision 368f0897d1f46a1192bbd53937a396b55b3c3213 368f0897d1f46a1192bbd53937a396b55b3c3213 통과: 원격 revision 소비자 build 및 Package.resolved SHA 대조
  • 앞자리 0 version과 불일치 SHA 소비자 차단 확인
  • swift build 통과
  • swift test 통과: Swift Testing 272개, XCTest 2개
  • workflow YAML·README 링크·Bash 문법·diff 공백 검사 통과
  • exact version 소비자 검증 미실행: 게시된 Cradle tag 부재
  • Deploy SPM workflow 실행·tag 생성·GitHub Release 생성 미실행
  • actionlint, shellcheck 실행 파일 부재

🔄 변경 흐름

flowchart LR
    dispatch[workflow_dispatch] --> version[버전 검사]
    version --> artifact[artifact 검증]
    artifact --> revision[원격 revision 소비 검증]
    revision --> test[swift test]
    test --> tag[tag push]
    tag --> exact[exact version 소비 검증]
    exact --> release[GitHub Release]

    version -. 제거된 연결 .-> test
    tag -. 제거된 연결 .-> release
Loading

@opficdev opficdev self-assigned this Sep 5, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-05T14:13:22.435847Z 1e64988 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 368f0897d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Scripts/verify-diagram-artifact.sh Outdated
Comment thread .github/workflows/deploy-spm.yml Outdated
@opficdev

opficdev commented Sep 5, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 1e64988ef1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@opficdev
opficdev merged commit f18513c into develop Sep 5, 2026
5 checks passed
@opficdev
opficdev deleted the feat/#36 branch September 5, 2026 14:17
@opficdev opficdev changed the title SwiftPM 배포 전 artifact와 소비자 검증을 구성한다 SwiftPM 배포 흐름과 소비자 검증을 구성한다 Sep 5, 2026
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.

SwiftPM 배포 흐름과 소비자 검증을 구성한다

1 participant