81 lines
2.2 KiB
Markdown
81 lines
2.2 KiB
Markdown
---
|
|
test_env: local
|
|
test_profile: core-smoke
|
|
domain: core
|
|
verification_type: smoke
|
|
last_rule_updated_at: 2026-06-12
|
|
---
|
|
|
|
# core-smoke local 테스트
|
|
|
|
## 읽기 조건
|
|
|
|
- `apps/runner/lib/oto/application.dart`, `apps/runner/lib/oto/core/**`, `apps/runner/lib/oto/utils/**`, 또는 core script helper 변경 검증이 필요한 경우
|
|
|
|
## 적용 범위
|
|
|
|
- Application orchestration, tag system, data composition, core utilities
|
|
|
|
## 분류
|
|
|
|
- domain: core
|
|
- verification_type: smoke
|
|
- scope: OTO core runtime
|
|
|
|
## 환경
|
|
|
|
- host: `ssh toki@toki-labs.com` 원격 runner, checkout `/Users/toki/agent-work/oto`
|
|
- port: 기본 core runner smoke는 public port를 사용하지 않는다. OTO Core HTTP publish 검증은 `18020`을 사용한다.
|
|
- runtime: Dart SDK
|
|
- package manager: dart pub
|
|
- docker: 기본 smoke는 Docker를 사용하지 않는다.
|
|
- external service: 없음
|
|
- model endpoint:
|
|
- credential: private input 원문은 tracked 파일에 기록하지 않는다.
|
|
|
|
## 명령
|
|
|
|
- setup: `cd apps/runner && dart pub get` (또는 `make runner-get`)
|
|
- lint: `cd apps/runner && dart analyze` (또는 `make runner-analyze`)
|
|
- unit: `cd apps/runner && dart test test/oto_application_test.dart test/oto_context_test.dart test/oto_core_test.dart test/oto_system_runtime_test.dart` (또는 `make runner-test`)
|
|
- smoke:
|
|
- e2e:
|
|
- model:
|
|
- full-cycle:
|
|
|
|
## 필수 검증
|
|
|
|
- core 도메인 변경 후 `cd apps/runner && dart analyze`를 실행한다.
|
|
- core 도메인 변경 후 관련 `cd apps/runner && dart test ...` 명령을 실행한다.
|
|
|
|
## 보조 검증
|
|
|
|
- runtime 전체 영향이 있으면 `cd apps/runner && dart test` 또는 `make runner-test`를 실행한다.
|
|
|
|
## 판정 기준
|
|
|
|
- `cd apps/runner && dart analyze`가 issue 없이 종료한다.
|
|
- 지정한 `cd apps/runner && dart test`가 모두 통과한다.
|
|
|
|
## 기준 출력 예시
|
|
|
|
```text
|
|
No issues found!
|
|
All tests passed!
|
|
```
|
|
|
|
## 차단 기준
|
|
|
|
- 원격 runner에 Dart SDK 또는 path dependency가 없어 command를 시작할 수 없는 경우
|
|
|
|
## 보고 항목
|
|
|
|
- 실행한 명령:
|
|
- 성공한 검증:
|
|
- 실패/차단된 검증:
|
|
- 생략 사유:
|
|
- 남은 위험:
|
|
|
|
## 금지 사항
|
|
|
|
- runtime-local secret이나 개인 endpoint를 tracked 문서에 기록하지 않는다.
|