- Archive provider-resource-admission-ownership milestone/SDD - Align contract: CP-edge wire, runtime refresh, node runtime, OpenAI surface - Update roadmap: phase state, priority queue - Update specs: control-plane ops, OpenAI surface, edge execution, provider pool refresh - Add node runtime supervisor bootstrapping and unit tests - Fix control-plane edge registry handler and http_views - Fix edge model queue admission and long context queue tests
51 lines
3.7 KiB
Text
51 lines
3.7 KiB
Text
# Complete - m-provider-resource-admission-ownership-alignment/16_capacity_smoke
|
|
|
|
## 완료 일시
|
|
|
|
2026-07-22T10:49:09Z
|
|
|
|
## 요약
|
|
|
|
공유 provider capacity-1 local smoke와 Node disabled-metrics 동작을 보강하고 2회 리뷰 루프를 최종 PASS로 완료했다.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_local_G08_0.log` | `code_review_local_G08_0.log` | FAIL | metrics listener scope, HTTP timeout/PID cleanup, offline snapshot predicate, direct full-cycle evidence를 보완하도록 후속 계획으로 전환 |
|
|
| `plan_local_G09_1.log` | `code_review_local_G09_1.log` | PASS | 이전 Required/Suggested를 모두 해소하고 fresh local 검증과 SDD S11 evidence를 확인 |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- Node는 `metrics.port <= 0`에서 metrics listener를 시작하지 않으며, production default starter는 `observability.ServeMetrics`를 유지한다.
|
|
- capacity smoke는 Edge/Node metrics를 비활성화하고 모든 HTTP 요청에 total timeout을 적용하며 request child PID를 종료·wait하고 `seq` 의존성을 제거한다.
|
|
- final predicate는 configured online Node/provider identity, available health/status, capacity 1, normal/long counter 0을 함께 요구하고 synthetic offline snapshot을 거부한다.
|
|
- two-alias capacity smoke와 direct `scripts/dev/edge.sh`/`scripts/dev/node.sh` user-flow 증거를 별도로 검증했다.
|
|
|
|
## 최종 검증
|
|
|
|
- `gofmt -d apps/node/internal/bootstrap/module.go apps/node/internal/bootstrap/runtime_supervisor.go apps/node/internal/bootstrap/module_test.go` - PASS; 출력 없음.
|
|
- `make proto` - PASS; protobuf 생성 완료 후 생성물 추가 diff 없음.
|
|
- `go test -count=1 ./apps/node/internal/bootstrap ./apps/node/internal/transport ./apps/control-plane/... ./apps/edge/internal/node ./apps/edge/internal/transport ./apps/edge/internal/service ./apps/edge/internal/bootstrap` - PASS; 모든 대상 패키지 fresh 통과.
|
|
- `bash -n scripts/e2e-provider-capacity-smoke.sh` 및 `rg` 기반 `seq` 부재 검사 - PASS.
|
|
- `./scripts/e2e-provider-capacity-smoke.sh` - PASS; metrics disabled, bounded probe 2초, offline snapshot 거부, two aliases queue 관측, backend calls=2/peak=1, online capacity 1과 normal/long counter 0 회복.
|
|
- `IOP_E2E_BIND_TIMEOUT=60 IOP_E2E_PROFILE=mock ./scripts/e2e-smoke.sh` - PASS; auxiliary smoke로 분리 확인.
|
|
- `bash -o pipefail -c ./scripts/dev/edge-node-reconnect-diagnostic.sh` - PASS; raw output `/tmp/iop-capacity-smoke-full-cycle-review.log`, 같은 session의 메시지 2회와 Node/Edge payload 순서, terminal ordering, 필수 command response 확인.
|
|
- `./scripts/e2e-long-context-admission-smoke.sh --preflight --out-dir /tmp/iop-capacity-live-preflight-review` - BLOCKED(rc=3); live provider `/models`와 local Control Plane status 미준비이며 S11 local PASS 근거로 사용하지 않음.
|
|
- `git diff --check` - PASS; 출력 없음.
|
|
|
|
## Roadmap Completion
|
|
|
|
- Milestone: `agent-roadmap/phase/operational-observability-provider-management/milestones/provider-resource-admission-ownership-alignment.md`
|
|
- Milestone link: [Milestone 문서](agent-roadmap/phase/operational-observability-provider-management/milestones/provider-resource-admission-ownership-alignment.md)
|
|
- Completed task ids:
|
|
- `capacity-smoke`: PASS; evidence=`agent-task/archive/2026/07/m-provider-resource-admission-ownership-alignment/16_capacity_smoke/plan_local_G09_1.log`, `agent-task/archive/2026/07/m-provider-resource-admission-ownership-alignment/16_capacity_smoke/code_review_local_G09_1.log`; verification=`./scripts/e2e-provider-capacity-smoke.sh`, `/tmp/iop-capacity-smoke-full-cycle-review.log`
|
|
- Not completed task ids: 없음
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|