Skip to content

[#696] Presentation과 Entry target 책임을 분리한다#698

Merged
opficdev merged 10 commits into
developfrom
refactor/#696-root
Jul 6, 2026
Merged

[#696] Presentation과 Entry target 책임을 분리한다#698
opficdev merged 10 commits into
developfrom
refactor/#696-root

Conversation

@opficdev

@opficdev opficdev commented Jul 6, 2026

Copy link
Copy Markdown
Owner

🔗 연관된 이슈

🔗 연관된 이슈

🎯 의도

  • Presentation target이 root/auth/main/window 흐름과 shared UI를 함께 소유하던 구조 정리
  • PresentationApp의 기존 import를 유지하기 위한 re-export target으로 축소하고, 앱 진입 UI 흐름은 Entry, 공통 Todo/Search/Loading 흐름은 PresentationShared, 각 탭 흐름은 tab target이 소유하도록 책임을 분리

📝 작업 내용

📌 요약

  • Entry target 추가
  • root/auth/login/main/window/global route 코드를 Entry로 이동
  • Presentation target을 Entry, PresentationShared re-export 역할로 축소
  • 기존 PresentationTestsEntryTests, PresentationSharedTests 기준으로 분리
  • CI test scheme과 Tuist 의존성 그래프 문서 갱신

🔍 상세

  • RootFeature, RootView, LoginFeature, LoginView, MainFeature, MainView, MainTab, window coordinator를 Entry target 하위로 이동
  • Entry가 root/auth/main/window 흐름에 필요한 Domain 참조를 직접 소유하도록 정리
  • Presentation target의 직접 Domain 의존성을 제거하고 EntryExports.swift만 남김
  • LoadingState를 실제 사용처 기준으로 PresentationShared로 이동
  • PresentationSharedTestsEntryTests를 분리하고 각 target별 SwiftLint 설정 추가
  • .github/workflows/ci.ymlPresentation 테스트 경로를 신규 test scheme 기준으로 갱신
  • README.md, architecture harness 문서, docs/graph.png를 현재 target 구조에 맞게 갱신

📸 영상 / 이미지 (Optional)

없음

@opficdev opficdev self-assigned this Jul 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

이번 PR은 Presentation 타겟을 리팩터링하여 root, auth, tab shell 흐름을 담당하는 Entry 타겟과 공통 UI를 담당하는 PresentationShared 타겟으로 분리하고, 기존 Presentation 타겟은 이들을 re-export하도록 구조를 개선했습니다. 이에 따라 프로젝트 설정 및 관련 문서가 업데이트되었습니다. 피드백으로는 EntryTestSupport.swiftSignInUseCaseSpy 클래스가 비동기 환경에서 가변 상태를 안전하게 다룰 수 있도록 @MainActor 격리를 추가할 것을 제안합니다.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread Application/Presentation/Entry/Tests/Support/EntryTestSupport.swift
@opficdev opficdev merged commit 9ac164f into develop Jul 6, 2026
7 checks passed
@opficdev opficdev deleted the refactor/#696-root branch July 6, 2026 07:42
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.

Presentation과 Entry target 책임을 분리한다

1 participant