Commit graph

19 commits

Author SHA1 Message Date
d80abe8357 chore: sync workspace changes and add new artifacts 2026-07-02 16:02:56 +09:00
9066022825 chore: sync core service scheduler, workflow, storage, and SQL queries
- Update tasks.sql.go with new query mappings
- Add scheduler job definitions and tests
- Extend storage store with new methods
- Update workflow lifecycle and service tests
- Add task query definitions for authoring
2026-06-21 22:23:15 +09:00
1a99b3d04b fix(scheduler): skip task finalizer when Ref.ID is empty for missing-create jobs
On the missing-create path, SyncCreation creates a new Plane work item and
returns SyncActionProjected before any workflow task has been registered for
the new work item UUID. Calling CompleteTaskByExternalRef with an empty Ref.ID
caused pgx.ErrNoRows → River retry → reconcile returning not_ready, leaving
only develop_matched recorded.

Fix 1 (roadmap_sync_jobs.go): guard CompleteTaskByExternalRef with args.Ref.ID != ""
so missing-create jobs complete cleanly without retrying.

Fix 2 (workflow/service.go): CompleteTaskByExternalRef now returns (zero, false, nil)
when GetTaskByExternalRef returns pgx.ErrNoRows, so reconcile jobs that have no
registered workflow task also complete cleanly rather than triggering retry loops.

Also adds PLANE_PROJECT_ID to docker-compose.yml environment so the missing-create
bridge receives non-empty tenant/project inputs at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 13:45:48 +09:00
d1699ef724 feat(authoring): identity write 구현 및 scheduler/river 리팩토링
- authoring: identity write 도메인 구현 (identity_write.go)
- authoring: request/result 도메인 정리 및 테스트 개선
- scheduler: job/river 구조 리팩토링 및 테스트 보완
- gitosync: bridge/scanner 테스트 개선
- roadmap: plane-origin-authoring-roundtrip-sync 마일스톤 업데이트
2026-06-20 21:09:26 +09:00
13ce1ec281 chore: archive migrated task files and update core services
- Move 03+01,02_push_command files to archive
- Update services/core authoring request and scheduler jobs
- Update related tests and documentation
2026-06-20 19:48:16 +09:00
8157ba060b update core services and move progress files to archive 2026-06-20 19:25:18 +09:00
6d4553bdc9 feat: m-plane-origin-authoring-roundtrip-sync G07-G08 progress and core scheduler improvements
- Add code review and plan logs for cloud G07, G08 subtasks
- Add stale task detection to scheduler
- Update OpenAI client config and tests
- Fix core services Makefile, README, docker-compose, and run script
2026-06-20 18:33:39 +09:00
afb26e67ed feat: complete work item creation sync milestone - slot finalizer, live cycle smoke test, archive completed subtasks
- Add slot_finalizer.go for terminal state management
- Add live cycle smoke test documentation
- Archive completed subtasks (slot terminal state, live cycle smoke)
- Update scheduler jobs and workflow service for roadmap sync
- Update authoring request/result handlers
- Update milestone documentation
2026-06-16 10:06:58 +09:00
ef4c2191ce feat(core): scheduler jobs 및 workflow 서비스 개선, 코드 리뷰 아카이브
- scheduler: roadmap_sync_jobs, river 개선 및 테스트 추가
- workflow: lifecycle, model, service 수정 및 테스트 보완
2026-06-15 22:16:11 +09:00
91e3aabd16 update authoring request and model, scheduler tests, archive task files 2026-06-14 06:47:41 +09:00
dd0c4d953b feat: workspace provision pipeline archive and authoring result, scheduler fixes 2026-06-14 05:50:29 +09:00
6ab8dd8f63 feat: authoring bridge implementation and scheduler improvements
- Add authoring adapter for openai integration
- Move 02+01_iop_authoring_bridge to archive
- Update scheduler jobs and workflow lifecycle
- Enhance openai client and model definitions
2026-06-13 20:47:09 +09:00
b505b7d0f1 chore(roadmap): 로드맵/IOP 변경사항을 반영한다 2026-06-08 19:39:03 +09:00
d121f8f094 feat: mattermost task notification adapter and agent-task archive
- Add mattermost notification sink adapter
- Update notification service and scheduler tests
- Archive completed agent-task files for 04+01,02,03_adapter_boundary
- Rename plan/review files to archive format
2026-06-03 20:02:37 +09:00
ac242e5fac feat: notification event model with workflow context (WFC-EVENTS)
- Add Attempt, Reason, OccurredAt fields to notification.TaskEvent
- Populate workflow context in scheduler event emission via parseTaskEventContext
- Extend proto-socket task.status.changed payload with additive fields
- Update contracts note with new event payload shape
- Archive notification_model subtask to agent-task/archive
- Fix Plane compose path in core domain rules
2026-06-01 13:19:07 +09:00
f862d5c646 fix: workflow scheduler and lifecycle bug fixes 2026-06-01 11:05:40 +09:00
cbcbd63e0d feat: workflow scheduler and lifecycle improvements 2026-06-01 11:03:02 +09:00
4b6951cfa8 feat: notification 및 workflow 기능 개선
- notification 서비스 테스트 추가
- workflow lifecycle 관리 구현
- config, scheduler, workflow 서비스 개선
2026-05-24 19:36:43 +09:00
11490df648 chore: import nomadcode-core into services/core
git-subtree-dir: services/core
git-subtree-mainline: 6f5e3a119f
git-subtree-split: 6fdbc73753
2026-05-21 13:35:20 +09:00