- Add validate_test.go for edge validation - Update config.go and config_test.go with new config handling - Update roadmap and SDD documents for operational observability provider management - Update edge node mapper and config tests - Add inflight accounting recovery task and archive
47 lines
2.6 KiB
Text
47 lines
2.6 KiB
Text
# Complete - m-node-provider-first-config-surface/01_schema_source
|
|
|
|
## 완료 일시
|
|
|
|
2026-06-29
|
|
|
|
## 요약
|
|
|
|
Node Provider-First Config Surface의 `schema-source` 작업을 3회 리뷰 루프 끝에 PASS로 종결했다.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_local_G06_0.log` | `code_review_local_G06_0.log` | FAIL | provider-first type별 실행 필드 검증과 `configs/edge.yaml` provider-first 예시 정리가 필요했다. |
|
|
| `plan_local_G06_1.log` | `code_review_local_G06_1.log` | FAIL | `openai_api`, `sglang` alias happy path와 unknown provider type rejection 테스트가 누락되어 있었다. |
|
|
| `plan_local_G04_2.log` | `code_review_local_G04_2.log` | PASS | alias/unknown type validation coverage, config check, 전체 Go 회귀 검증이 모두 충족되었다. |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- `NodeProviderConf`에 provider-first 실행 필드를 추가하고 provider type normalization, whitespace type rejection, request/context timeout validation을 보강했다.
|
|
- `ValidateEdgeConfig`가 provider-first `type`별 실행 필드와 wrong-field/unknown type을 검증하도록 정리했다.
|
|
- `configs/edge.yaml`의 provider-pool 예시를 provider-first source of truth 중심으로 정리하고 adapter-backed 설정은 legacy/compat override로 낮췄다.
|
|
- `TestValidateEdgeConfig_ProviderFirstRejectsMissingTypeFields`에 `openai_api`, `sglang`, unknown provider type coverage를 추가했다.
|
|
- 리뷰 중 `NodeProviderConf.Adapter` 주석을 현재 provider-first/legacy compat 의미에 맞게 정리했다.
|
|
|
|
## 최종 검증
|
|
|
|
- `go test -count=1 ./packages/go/config ./apps/edge/internal/edgevalidate` - PASS; `iop/packages/go/config`와 `iop/apps/edge/internal/edgevalidate` 모두 통과.
|
|
- `go run ./apps/edge/cmd/edge --config configs/edge.yaml config check` - PASS; `OK configs/edge.yaml`.
|
|
- `git diff --check` - PASS; 출력 없음.
|
|
- `go test ./...` - PASS; 전체 Go 패키지 회귀 검증 통과.
|
|
|
|
## Roadmap Completion
|
|
|
|
- Milestone: `agent-roadmap/phase/operational-observability-provider-management/milestones/node-provider-first-config-surface.md`
|
|
- Completed task ids:
|
|
- `schema-source`: PASS; evidence=`agent-task/archive/2026/06/m-node-provider-first-config-surface/01_schema_source/plan_local_G04_2.log`, `agent-task/archive/2026/06/m-node-provider-first-config-surface/01_schema_source/code_review_local_G04_2.log`; verification=`go test -count=1 ./packages/go/config ./apps/edge/internal/edgevalidate`, `go run ./apps/edge/cmd/edge --config configs/edge.yaml config check`, `git diff --check`, `go test ./...`
|
|
- Not completed task ids: 없음
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|