- Add edge runtime config and opsconsole package - Refactor edge console to use new runtime config - Add service source metadata support - Update CLI adapter with target terminology - Add edge operation contract and event bus replay - Update node label and command ops surface - Add E2E smoke tests and full validation - Update proto runtime definitions - Update documentation and agent-ops rules
25 lines
1.3 KiB
Text
25 lines
1.3 KiB
Text
완료 일시: 2026-05-17
|
|
|
|
요약: Event bus drop stats와 bounded replay 구현을 리뷰 대조 후 1회 루프로 PASS 처리했다.
|
|
|
|
루프 이력:
|
|
|
|
| Plan | Code Review | Verdict |
|
|
|---|---|---|
|
|
| `plan_cloud_G08_0.log` | `code_review_cloud_G08_0.log` | PASS |
|
|
|
|
최종 리뷰 요약:
|
|
|
|
- `PublishRun`/`PublishNode`가 subscriber channel overflow 시 drop을 누적하고, `Stats()`가 lock-safe snapshot으로 노출하는 것을 확인했다.
|
|
- `ReplayRun`/`ReplayNode`가 최근 이벤트를 bounded buffer에서 오래된 순서로 반환하며, runID/nodeID 필터링과 cap 초과 시 보관 개수 제한이 테스트되는 것을 확인했다.
|
|
- `service.go` 미수정은 계획의 조건부 항목(`if replay is exposed through service`)에 부합한다. 현 단계에서는 Bus 레벨 API만 추가되어 외부 service surface 변경이 없다.
|
|
- race 검증과 전체 Go 테스트를 재실행해 PASS를 확인했다.
|
|
- E2E smoke/full-cycle 실제 구동은 수행하지 않았다. 이번 리뷰 작업은 event bus 내부 구현 대조와 로그 아카이브 범위이며, `bin/**`, transport/proto/config 변경을 새로 만들지 않았다.
|
|
|
|
검증:
|
|
|
|
```bash
|
|
go test -race -count=1 ./apps/edge/internal/events
|
|
go test -count=1 ./apps/edge/internal/events ./apps/edge/internal/service
|
|
go test -count=1 ./...
|
|
```
|