Commit graph

12 commits

Author SHA1 Message Date
0988942b07 refactor: reorganize CLI adapter into subpackages
- Move cli_test.go to internal/, lifecycle/, onshot/, persistent/
- Restructure CLI adapter modules into organized subdirectories
2026-05-03 18:19:00 +09:00
24789c398b feat: CLI adapter with onshot/persistent mode support
- Add onshot.go and persistent.go for distinct CLI modes
- Update cli.go, factory_internal_test.go, cli_test.go
- Update configs/edge.yaml and packages/config
- Update READMEs for edge and node apps
2026-05-03 18:09:56 +09:00
1176ed844f fix(cli): add START_MARKER assertion and fix Stop comment (REVIEW_REVIEW_API_FOLLOWUP_4)
- Add START_MARKER verification in TestCLIStartPartialRollbackWithMarkers
- Add requireEventually and readMarker helper functions
- Update CLI.Stop comment to match actual implementation
- Fix all gofmt issues
- SIGKILL cannot trigger trap EXIT, so verify START_MARKER instead
2026-05-03 16:02:37 +09:00
4bece3fb2d fix(cli): mutex unlock and session cleanup for persistent Execute (REVIEW_REVIEW_API_FOLLOWUP_2)
- [2-1] executePersistent: add defer sess.mu.Unlock() so all return paths
  release the session mutex. Remove explicit unlock calls.
- [2-2] Protect c.sessions map access in Execute with c.mu. Replace
  c.Stop() in timeout/cancel path with per-session close/kill/delete so
  only the affected profile session is cleaned up.
- [2-3] Add TestCLIExecutePersistentConsecutiveExecutes to verify the
  same persistent profile can be executed consecutively without blocking.
  Apply gofmt to all adapter files.
2026-05-03 15:01:57 +09:00
4b05859bef feat: cli terminal cycle 구현 및 테스트 코드 추가 2026-05-03 14:51:29 +09:00
7b16b3243c 수정: CLI timeout/cancel 후 session 오염과 Registry stop error 처리 개선
- CLI persistent 실행 중 ctx.Done() 발생 시 session을 정리하여 늦은 출력이
  다음 run에 섞이는 문제 해결
- CLI Execute에서 mutex lock/unlock 구조를 개선하여 race condition 방지
- Registry.Stop이 모든 lifecycle adapter의 Stop을 시도하고, errors.Join 대신
  first error 패턴으로 변경하여 한 adapter의 실패가 다른 adapter 정리를 막지 않도록 수정
- timeout 후 session 오염 방지 회귀 테스트 추가
- registry stop failure 후에도 preceding adapter stop이 호출되는 테스트 추가
- CLI partial profile rollback 테스트 강화
2026-05-03 14:45:18 +09:00
b4c6550eab feat: edge/node architecture updates and agent-task integration
- Add node store implementation for edge app
- Add adapters factory for node app
- Update edge and node transport layers
- Update domain rules for edge and node
- Add bin scripts for edge and node
- Update configs and documentation
- Add agent-task node_centralized_mgmt directory
2026-05-03 10:51:29 +09:00
toki
e6d5254a6e 기능: edge/node 통합 테스트를 추가한다
Edge Server와 Node Client 간 패킷(CapabilityRequest, RunRequest 등) 통신 흐름을 검증하는 통합 네트워크 테스트를 작성했다. Mock Client/Server를 사용하여 Go의 internal 패키지 규칙을 준수하면서 양측 통신을 완전하게 검증할 수 있다.
2026-05-02 22:25:56 +09:00
toki
de1dcc586a feat: edge node unit tests 및 관련 코드 변경
- node.go: node 핵심 로직 수정
- node_test.go: unit 테스트 업데이트
- parser_test.go: 파서 테스트 업데이트
- session_test.go: 세션 테스트 업데이트
- agent-task 로그 파일 추가
2026-05-02 20:53:49 +09:00
c46874055a feat: edge node unit tests and related updates
- Add edge node unit tests and transport package
- Add node test client and related artifacts
- Update bootstrap, node, and config modules
- Add proto generated files
- Update Makefile and configuration files
2026-05-02 20:09:55 +09:00
173d2586e8 리팩터: node 서버 코드 제거 및 클라이언트 구조로 전환
- transport/{server,session,frame,codec,tls}.go 삭제
- packages/protocol/protocol.go 삭제 (JSON 기반 메시지 타입)
- bootstrap/module.go에서 transport.Server 와이어링 제거
- TransportConf.Listen → EdgeAddr (node는 서버가 아닌 클라이언트)
- configs/node.yaml transport.listen → transport.edge_addr

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 17:54:58 +09:00
2d6fde0876 기능: IOP 모노레포 스캐폴드 초기 구현
apps/node 중심 구현 — TCP+JSON transport, Hexagonal Architecture,
mock/cli adapter, fx DI, SQLite 실행 이력 저장.
edge/control-plane/worker는 cobra placeholder.
유닛 테스트 및 통합 테스트 클라이언트 계획서 추가.
2026-05-02 13:20:35 +09:00