- Add inbound_gateway.dart, inbound_gateway_io.dart, inbound_gateway_web.dart - Update communicator.dart and proto_socket.dart for inbound queue support - Update browser_ws_import_compile.dart and communicator_test.dart - Archive Dart gateway task (04_dart_gateway) - Create plan and code review docs for go/kotlin/python/typescript gateways - Update roadmap files (ROADMAP.md, current.md, inbound-queue-ordering.md)
2.8 KiB
2.8 KiB
Code Review Reference - API
[IMPLEMENTING AGENT — READ FIRST] 구현 후 이 파일의 구현 에이전트 소유 섹션을 실제 내용과 검증 출력으로 채우고 active 파일을 그대로 둔 채 리뷰를 요청한다. 최종화는 code-review 전용이다.
개요
date=2026-06-02 task=m-inbound-queue-ordering/05_go_gateway, plan=0, tag=API
Roadmap Targets
- Milestone:
agent-roadmap/milestones/inbound-queue-ordering.md - Task ids:
go-gateway: Go goroutine worker pool gateway 후보를 적용한다.
- Completion mode: check-on-pass
구현 항목별 완료 여부
| 항목 | 완료 여부 |
|---|---|
| [API-1] Go gateway worker pool | [ ] |
구현 체크리스트
- Go worker gateway 타입과 내부
seq포함 input/output 구조를 추가한다. - worker pool은 raw bytes decode/순수 전처리만 수행하고, pending/listener/request/write queue 상태를 소유하지 않는다.
- gateway 결과를
seq기준으로 reorder한 뒤 기존EnqueueInbound/receive coordinator로 전달한다. - Go tests에 대량 packet decode, out-of-order worker completion, race-safe dispatch 순서 검증을 추가한다.
- 중간 검증으로
cd go && go test -count=1 ./... && go test -race ./...를 실행하고 실제 stdout/stderr를 기록한다. - 최종 검증으로
bash agent-ops/skills/project/run-proto-socket-test-matrix/scripts/run_matrix.sh --all을 실행하고 결과 기록 파일을 남긴다. - CODE_REVIEW-*-G??.md의 구현 에이전트 소유 섹션을 실제 구현 내용과 검증 출력으로 채운다. 이 항목이 완료되기 전에는 구현이 완료된 것이 아니다.
코드리뷰 전용 체크리스트
코드리뷰 결과에PASS,WARN,FAIL중 하나의 판정을 append한다.- active review/plan을
.log로 아카이브한다. - PASS이면
complete.log작성 후 task directory를 archive로 이동한다. - PASS이면 runtime completion metadata를 보고하고 roadmap은 직접 수정하지 않는다.
계획 대비 변경 사항
구현 에이전트가 기록한다.
주요 설계 결정
구현 에이전트가 기록한다.
사용자 리뷰 요청
- 상태: 없음
- 사유 유형: 없음
- 결정 필요: 없음
- 차단 근거: 없음
- 실행한 검증/명령: 없음
- 자동 후속 불가 이유: 없음
- 재개 조건: 없음
리뷰어를 위한 체크포인트
- gateway가 stateful dispatcher 책임을 갖지 않는지 확인한다.
go test -race ./...결과가 실제 출력인지 확인한다.
검증 결과
API-1 중간 검증
$ cd go && go test -count=1 ./... && go test -race ./...
최종 검증
$ bash agent-ops/skills/project/run-proto-socket-test-matrix/scripts/run_matrix.sh --all