Commit Graph

408 Commits

Author SHA1 Message Date
Gan, Jimmy 2a8e5d4952 fix: stop then up instead of force-recreate
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m36s
Run Tests / Backend Tests (push) Failing after 2m14s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
force-recreate still tries to disconnect/reconnect networks which fails.
Use stop then up - compose will detect the image changed and recreate
the container automatically without network issues.
2026-04-04 01:52:58 +08:00
Gan, Jimmy 42f87a526d test: verify force-recreate deploy works
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 5m0s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-04 01:46:02 +08:00
Gan, Jimmy e396f77299 fix: use --force-recreate to update container in-place
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m21s
Run Tests / Backend Tests (push) Failing after 1m38s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
This avoids disconnecting from networks which seems to cause issues
when run from the workflow container. Force recreate updates the
container without removing it first.
2026-04-04 01:36:18 +08:00
Gan, Jimmy f27d414182 fix: cd to compose directory before running docker compose
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m26s
Run Tests / Backend Tests (push) Failing after 2m19s
Run Tests / Frontend Tests (push) Failing after 1m5s
Run Tests / Test Summary (push) Has been cancelled
The workflow needs to be in the same directory as the compose file
for docker compose to work properly. Manual execution worked, so
replicate that approach.
2026-04-04 01:26:56 +08:00
Gan, Jimmy f19b70d179 fix: use docker stop/rm instead of compose down for deploy
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 5m51s
Run Tests / Backend Tests (push) Failing after 2m13s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
docker compose down may have issues with external networks or project names.
Use direct docker stop/rm commands instead.
2026-04-04 01:15:24 +08:00
Gan, Jimmy a88f5b9c95 fix: set explicit project name for dev compose to avoid conflicts
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 5m56s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
The dev compose was inheriting 'nas-dashboard' project name, causing
conflicts with the production dashboard when trying to use the same networks.
2026-04-04 01:07:03 +08:00
Gan, Jimmy cf56c095bf test: trigger deploy after removing stale container
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 6m30s
Run Tests / Backend Tests (push) Failing after 2m9s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 00:54:08 +08:00
Gan, Jimmy e0cc38ecb5 fix: properly recreate container on deploy
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 6m18s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Use 'docker compose down' then 'up' instead of --no-recreate to ensure
the new image is used and avoid network connection errors.
2026-04-04 00:45:55 +08:00
Gan, Jimmy 2c7787dced revert: disable BuildKit due to slow performance on NAS
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 14m20s
BuildKit operations (load dockerfile, load context, FROM) are taking 20-80s each
on the NAS due to filesystem/resource constraints. Legacy builder is faster.
Keeping pip mirror optimization which provides the real speed improvement.
2026-04-04 00:27:39 +08:00
Gan, Jimmy ee72a891d5 perf: optimize build speed with pip mirror and BuildKit
Deploy Dashboard (Dev) / deploy-dev (push) Has started running
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 00:19:43 +08:00
Gan, Jimmy 85649745a2 test: trigger deploy after fixing duplicate mount issue
Deploy Dashboard (Dev) / deploy-dev (push) Has started running
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 00:14:31 +08:00
Gan, Jimmy 7a50c070e1 fix: remove duplicate docker.sock mount from deploy workflows
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-03 23:49:45 +08:00
Gan, Jimmy 363e1e12d5 test: verify deploy workflow after runner restart
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 15s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-03 23:46:40 +08:00
Gan, Jimmy c5d40c9deb test: verify CI after Gitea restart
Run Tests / Frontend Tests (push) Waiting to run
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 7s
Run Tests / Backend Tests (push) Failing after 2m15s
Run Tests / Test Summary (push) Has been cancelled
2026-04-03 23:34:52 +08:00
Gan, Jimmy 7433b346fa test: verify CI fix works
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 8s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-03 23:31:23 +08:00
Gan, Jimmy 4e867d1d75 test: trigger CI deploy workflow
Deploy Dashboard (Dev) / deploy-dev (push) Waiting to run
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-03 23:23:26 +08:00
Gan, Jimmy b15ed57425 chore: trigger deploy workflow to test CI fix
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-03 23:17:25 +08:00
Gan, Jimmy 5e9fa2ba56 fix: add Docker socket mount to CI workflows
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
- Add /var/run/docker.sock mount to deploy-dev and deploy workflows
- Fixes docker build hanging indefinitely in CI
- Docker commands need socket access to communicate with daemon
2026-04-03 23:14:54 +08:00
Gan, Jimmy 0e1612ff55 chore: trigger CI for OPC fixes
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 17m16s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-03 22:55:21 +08:00
Gan, Jimmy 5da2ae01a0 fix: complete OPC system implementation
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 10m4s
Run Tests / Frontend Tests (push) Failing after 14m28s
Run Tests / Backend Tests (push) Failing after 14m50s
Run Tests / Test Summary (push) Has been cancelled
- Add database connection retry logic (3 attempts, 5s delay)
- Add missing database functions: get_task_by_id, get_agent_execution, approve_agent_execution, update_agent_config, update_execution_status
- Complete agent execution approval workflow
- Fix agent executor to handle approved executions
- Fix inefficient task queries (use direct ID lookup)
- Add error action handling in agent executor
- Improve LiteLLM error handling with specific exception types
- Reduce LiteLLM timeout from 60s to 30s
- Fix execution status update to only set started_at once
- Consolidate WebSocket datetime serialization with helper function
- Implement update agent endpoint
2026-04-03 22:30:51 +08:00
Gan, Jimmy a42e3d3050 fix: update agent seed data to use cc-kiro model
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 6m40s
Run Tests / Backend Tests (push) Failing after 1m17s
Run Tests / Frontend Tests (push) Failing after 12m12s
Run Tests / Test Summary (push) Failing after 18s
2026-04-03 00:00:44 +08:00
Gan, Jimmy 4c6bbd974a fix: use simple 'anything' key for LiteLLM in dev
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 23:52:57 +08:00
Gan, Jimmy c945dfff5e fix: use simple master key for LiteLLM auth
Run Tests / Backend Tests (push) Failing after 1m13s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
2026-04-02 23:47:38 +08:00
Gan, Jimmy eee47fb967 fix: disable LiteLLM spend logs to avoid auth requirement
Run Tests / Backend Tests (push) Failing after 1m12s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 23:46:23 +08:00
Gan, Jimmy 31b8e990b9 fix: disable LiteLLM auth for internal network use
Run Tests / Backend Tests (push) Failing after 29s
Run Tests / Frontend Tests (push) Failing after 45s
Run Tests / Test Summary (push) Failing after 46s
2026-04-02 23:42:16 +08:00
Gan, Jimmy e87a51cbc7 feat: add cc-kiro model with User-Agent header to bypass blocking
Run Tests / Backend Tests (push) Failing after 1m45s
Run Tests / Frontend Tests (push) Failing after 50s
Run Tests / Test Summary (push) Failing after 49s
2026-04-02 23:25:55 +08:00
Gan, Jimmy d2e70f962e fix: remove environment override, let env_file handle all vars
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
2026-04-02 23:19:41 +08:00
Gan, Jimmy 2f30f2061f fix: pass CC_KIRO_API_KEY to litellm container
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-02 23:19:27 +08:00
Gan, Jimmy 09acdcf868 fix: only send auth header when API key is set, show agent panel by default with localStorage persistence
Run Tests / Backend Tests (push) Failing after 1m9s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 18m59s
2026-04-02 22:47:19 +08:00
Gan, Jimmy 54bfea16f2 fix: add LITELLM_API_KEY support for authenticated LiteLLM calls
Run Tests / Backend Tests (push) Failing after 22s
Run Tests / Frontend Tests (push) Failing after 36s
Run Tests / Test Summary (push) Failing after 40s
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 7m14s
2026-04-02 22:06:12 +08:00
Gan, Jimmy 971cf34087 fix: serialize datetime objects in agent dict before JSON encoding in create_agent_execution
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m24s
Run Tests / Backend Tests (push) Failing after 24s
Run Tests / Frontend Tests (push) Failing after 1m2s
Run Tests / Test Summary (push) Failing after 41s
2026-04-02 21:55:13 +08:00
Gan, Jimmy bdeaa7ccea fix: serialize datetime objects before JSON encoding in create_agent_execution
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 3m2s
Run Tests / Backend Tests (push) Failing after 40s
Run Tests / Frontend Tests (push) Failing after 43s
Run Tests / Test Summary (push) Failing after 42s
2026-04-02 21:20:10 +08:00
Gan, Jimmy 8c08ae32cc fix: create agent execution when moving assigned task to in_progress
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m59s
Run Tests / Backend Tests (push) Failing after 59s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 21:14:27 +08:00
Gan, Jimmy af5b4d8411 fix: use --no-recreate to avoid network issues, fallback to create if needed
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 21:12:53 +08:00
Gan, Jimmy d457edab17 debug: add more logging at start of move_task function
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 3m11s
Run Tests / Backend Tests (push) Failing after 1m22s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 21:03:29 +08:00
Gan, Jimmy 9fcbeca264 debug: add logging to move endpoint to trace execution creation 2026-04-02 10:33:48 +08:00
Gan, Jimmy f275e52843 fix: stop container before compose up to avoid network recreation issues
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m18s
Run Tests / Backend Tests (push) Failing after 16m28s
Run Tests / Frontend Tests (push) Failing after 16m26s
Run Tests / Test Summary (push) Failing after 17s
2026-04-02 10:29:31 +08:00
Gan, Jimmy 2c8f4fcd5c fix: auto-assign tasks to PM agent when moved to in_progress, fix datetime serialization in WebSocket, add executor logging
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m19s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 10:22:15 +08:00
Gan, Jimmy 21d0cd9ff6 fix: simplify deploy to match production pattern - use idempotent docker compose up
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m32s
Run Tests / Backend Tests (push) Failing after 1m43s
Run Tests / Frontend Tests (push) Failing after 42s
Run Tests / Test Summary (push) Failing after 42s
2026-04-02 10:01:25 +08:00
Gan, Jimmy e152de6fc8 fix: add --remove-orphans and remove force-recreate flag
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m4s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 09:54:19 +08:00
Gan, Jimmy b425613941 fix: use docker-compose down to clean up networks properly
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m24s
Run Tests / Backend Tests (push) Failing after 42s
Run Tests / Frontend Tests (push) Failing after 1m0s
Run Tests / Test Summary (push) Failing after 14s
2026-04-02 09:37:47 +08:00
Gan, Jimmy d72b2acf02 fix: disconnect networks and force recreate container
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m19s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
2026-04-02 09:30:15 +08:00
Gan, Jimmy 09fdf5fd62 fix: stop and remove existing container before deploy to avoid network conflict
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m24s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-02 09:24:19 +08:00
Gan, Jimmy dba4880445 fix: set DOCKER_API_VERSION=1.43 for NAS daemon compatibility
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m15s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-02 09:15:59 +08:00
Gan, Jimmy e1fc23981f fix: update test imports from auth to auth_service
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m42s
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 09:12:48 +08:00
Gan, Jimmy a4782ecb1c fix: don't await executor.start() as it's an infinite loop - create task instead
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m12s
Run Tests / Backend Tests (push) Failing after 6m25s
Run Tests / Frontend Tests (push) Failing after 58s
Run Tests / Test Summary (push) Failing after 15s
2026-04-02 09:01:06 +08:00
Gan, Jimmy a31000d8ad debug: add print statements to track executor initialization
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 08:59:06 +08:00
Gan, Jimmy 7cbc553521 chore: trigger dashboard rebuild for terminal.py fix
Run Tests / Backend Tests (push) Failing after 41s
Run Tests / Frontend Tests (push) Failing after 1m1s
Run Tests / Test Summary (push) Failing after 21s
2026-04-02 08:55:31 +08:00
Gan, Jimmy 7b466e3980 fix: store executor and monitor tasks to prevent garbage collection
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m39s
Run Tests / Backend Tests (push) Failing after 53s
Run Tests / Frontend Tests (push) Failing after 1m16s
Run Tests / Test Summary (push) Failing after 24s
2026-04-02 08:49:12 +08:00
Gan, Jimmy 949838c5f2 fix: use lifespan context manager instead of deprecated on_event for startup
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m36s
Run Tests / Backend Tests (push) Failing after 1m3s
Run Tests / Frontend Tests (push) Failing after 22m22s
Run Tests / Test Summary (push) Failing after 16s
2026-04-02 02:04:59 +08:00