52 lines
2.6 KiB
Text
52 lines
2.6 KiB
Text
# Complete - m-usb-install/01_adb_bundle
|
|
|
|
## 완료 일시
|
|
|
|
2026-06-13
|
|
|
|
## 요약
|
|
|
|
macOS app bundle에 pinned ADB runtime copy phase를 추가하고, 3회 리뷰 루프 끝에 PASS로 종료했다.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_cloud_G07_0.log` | `code_review_cloud_G07_0.log` | FAIL | build phase가 임의 `adb`를 복사하고 missing/mismatch를 성공 처리할 수 있어 follow-up 필요 |
|
|
| `plan_cloud_G07_1.log` | `code_review_cloud_G07_1.log` | FAIL | dynamic SDK lookup phase가 증분 빌드에서 재실행되지 않을 수 있어 follow-up 필요 |
|
|
| `plan_cloud_G07_2.log` | `code_review_cloud_G07_2.log` | PASS | `alwaysOutOfDate = 1;`와 clean 없는 remote build evidence까지 확인 |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- macOS Runner target에 `Copy ADB Runtime` shell build phase를 추가했다.
|
|
- `source.properties`의 `Pkg.Revision`과 실제 `adb version`을 비교하고, missing 또는 mismatch는 build failure로 처리한다.
|
|
- dynamic SDK lookup을 위해 해당 phase가 매 build 실행되도록 `alwaysOutOfDate = 1;`을 설정했다.
|
|
- incremental build에서 copied `adb`가 실행 가능하도록 adhoc codesign을 적용했다.
|
|
|
|
## 최종 검증
|
|
|
|
- `git status --short --branch` - PASS; remote checkout 변경 범위 확인
|
|
- `flutter pub get` - PASS; dependency resolution 완료
|
|
- `flutter analyze` - PASS; `No issues found!`
|
|
- `flutter test` - PASS; `+107: All tests passed!`
|
|
- `awk ... | grep "alwaysOutOfDate = 1;"` - PASS; `Copy ADB Runtime` phase에 rerun 설정 확인
|
|
- `! grep -E "skipping bundle copy|adb not found.*exit 0" macos/Runner.xcodeproj/project.pbxproj` - PASS; silent skip branch 없음
|
|
- `flutter build macos` - PASS; clean 없이 incremental build 성공
|
|
- `test -x build/macos/Build/Products/Release/AppSok.app/Contents/Resources/adb-runtime/adb` - PASS; bundled adb executable 확인
|
|
- `EXPECTED=... ACTUAL=... test "$ACTUAL" = "$EXPECTED"` - PASS; `adb runtime version 35.0.0 matches source.properties`
|
|
- `build/macos/Build/Products/Release/AppSok.app/Contents/Resources/adb-runtime/adb version` - PASS; Android Debug Bridge `35.0.0-11411520` 실행 확인
|
|
|
|
## Roadmap Completion
|
|
|
|
- Milestone: `agent-roadmap/phase/usable-mvp/milestones/usb-install.md`
|
|
- Completed task ids:
|
|
- `adb-bundle`: PASS; evidence=`agent-task/archive/2026/06/m-usb-install/01_adb_bundle/plan_cloud_G07_2.log`, `agent-task/archive/2026/06/m-usb-install/01_adb_bundle/code_review_cloud_G07_2.log`; verification=`flutter analyze`, `flutter test`, `flutter build macos`, bundled `adb version`
|
|
- Not completed task ids: 없음
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|