Gan, Jimmy
2991250adf
fix: improve dependency caching in test workflow
...
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
- Fix cache key generation (cat files before hashing, not hash twice)
- Use cp -a instead of cp -r to preserve symlinks and permissions
- Add --no-cache-dir to pip to avoid double caching
- Export CACHE_KEY to env for better logging
- Cache should now work properly and speed up subsequent runs
2026-04-06 22:13:21 +08:00
Gan, Jimmy
a86f11a3db
fix: correct test assertions and add dependency caching
...
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m18s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
- Fix logout test to expect {ok: true} instead of {message: ...}
- Fix logout without auth test (endpoint doesn't require auth)
- Fix password change tests to use current_password instead of old_password
- Fix password change error code expectation (400 instead of 401)
- Add Python venv caching to speed up backend tests
- Add Node modules caching to speed up frontend tests
- Cache is keyed by requirements/package-lock file hashes
2026-04-06 22:03:10 +08:00
Gan, Jimmy
6f838b76bc
fix: replace GitHub actions with direct commands in test workflow
...
Run Tests / Backend Tests (push) Failing after 11m19s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Replace actions/checkout@v4 and actions/setup-* with direct git clone
and version checks to avoid GitHub connectivity issues.
2026-04-06 21:34:13 +08:00
Gan, Jimmy
585a4c0500
ci: enforce strict v8 memory and thread limit to prevent CI from crashing the NAS kernel
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 11m14s
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 14m4s
Run Tests / Backend Tests (push) Failing after 16m38s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
2026-04-05 00:39:46 +08:00
Gan, Jimmy
6bc81f409c
ci: fix workflow stability by using standard actions
2026-04-04 23:18:24 +08:00
Gan, Jimmy
939a99ac22
fix: use full git clone in test workflow to ensure SHA is available
Run Tests / Test Summary (push) Blocked by required conditions
Run Tests / Backend Tests (push) Failing after 9m59s
Run Tests / Frontend Tests (push) Failing after 2h2m49s
2026-04-04 19:54:30 +08:00
Gan, Jimmy
7dd2d6df9f
fix: use manual checkout instead of GitHub Actions
...
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 10m10s
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m22s
Gitea Actions runner cannot fetch actions from GitHub (connection reset).
Revert to manual git clone for checkout and direct tool installation.
2026-04-04 17:03:22 +08:00
Gan, Jimmy
55d3348085
fix: simplify CI workflows to run directly on runner without nested containers
...
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 15m27s
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Has started running
- Remove container blocks causing Docker-in-Docker permission issues
- Use actions/checkout@v4 instead of manual git cloning
- Use actions/setup-python@v5 and actions/setup-node@v4 for clean environments
- Remove nsenter workarounds and mount complexity
- Fix volume paths to use /volume1/docker/* directly
- Add /volume1/docker/claude-dev to runner valid_volumes config
This eliminates 20+ commits of permission/namespace hacks by letting
workflows run directly in the runner's environment which already has
Docker access and proper volume mounts configured.
2026-04-04 16:00:49 +08:00
Gan, Jimmy
87af015ef1
fix: use virtual environment for Python dependencies in CI
Run Tests / Frontend Tests (push) Waiting to run
Run Tests / Backend Tests (push) Failing after 14m51s
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 15:36:09 +08:00
Gan, Jimmy
e60c5d534e
fix: use --break-system-packages for pip install in CI
Run Tests / Backend Tests (push) Failing after 6m0s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
2026-04-04 15:17:22 +08:00
Gan, Jimmy
0c0f3bb6d8
fix: manually clone repo from Gitea in test workflow
Run Tests / Backend Tests (push) Failing after 1m35s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
2026-04-04 15:15:06 +08:00
Gan, Jimmy
a7fa54476d
debug: check workspace contents
Run Tests / Backend Tests (push) Failing after 4m46s
Run Tests / Frontend Tests (push) Failing after 4m27s
Run Tests / Test Summary (push) Failing after 39s
2026-04-04 15:03:40 +08:00
Gan, Jimmy
1c2ac48efd
fix: run tests without custom containers to access repo files
Run Tests / Backend Tests (push) Failing after 1m42s
Run Tests / Frontend Tests (push) Failing after 11m33s
Run Tests / Test Summary (push) Failing after 48s
2026-04-04 14:33:22 +08:00
Gan, Jimmy
8629f594a3
debug: check workspace contents in test workflow
Run Tests / Backend Tests (push) Failing after 2m41s
Run Tests / Frontend Tests (push) Failing after 10m8s
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 14:11:56 +08:00
Gan, Jimmy
366d535f02
fix: simplify test workflow to avoid GitHub Actions dependencies
Run Tests / Backend Tests (push) Failing after 51s
Run Tests / Frontend Tests (push) Failing after 1m0s
Run Tests / Test Summary (push) Failing after 40s
2026-04-04 13:55:14 +08:00
Gan, Jimmy
7ad4095ad6
fix: add exit code validation to test workflow to properly fail on test failures
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-03-31 19:03:53 +08:00
Gan, Jimmy
084148ed32
fix: add SECRET_KEY environment variable to test workflow
Run Tests / Backend Tests (push) Failing after 1m39s
Run Tests / Frontend Tests (push) Failing after 43s
Run Tests / Test Summary (push) Failing after 41s
2026-03-31 15:30:55 +08:00
Gan, Jimmy
51c4cd1a4e
test: disable coverage and add timeouts to identify slow/hanging tests
Run Tests / Backend Tests (push) Failing after 1m41s
Run Tests / Frontend Tests (push) Failing after 44s
Run Tests / Test Summary (push) Failing after 16m47s
2026-03-31 13:45:44 +08:00
Gan, Jimmy
c98db64f32
ci: add test output capture and display in workflow summary
Run Tests / Backend Tests (push) Failing after 6m37s
Run Tests / Frontend Tests (push) Failing after 1m6s
Run Tests / Test Summary (push) Failing after 16m48s
2026-03-31 11:07:46 +08:00
Gan, Jimmy
c538dff773
fix: use ubuntu-latest runner label for test workflow
Run Tests / Backend Tests (push) Failing after 9m1s
Run Tests / Frontend Tests (push) Failing after 40s
Run Tests / Test Summary (push) Failing after 6m24s
2026-03-30 12:40:02 +08:00
Gan, Jimmy
b1f0af75bb
ci: enable test workflow on dev branch
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-03-30 11:27:36 +08:00
Gan, Jimmy
8431920d26
feat: add comprehensive unit and integration testing infrastructure
...
Run Tests / Backend Tests (pull_request) Has been cancelled
Run Tests / Frontend Tests (pull_request) Has been cancelled
Run Tests / Test Summary (pull_request) Has been cancelled
- Backend: pytest with unit tests (auth, rbac, config) and integration tests (auth flow, docker, files)
- Frontend: vitest with unit tests (api client) and component tests (login)
- CI: Gitea Actions workflow for automated testing with coverage reports
- Documentation: TESTING.md guide with setup, usage, and best practices
- Coverage goals: 80%+ backend, 70%+ frontend
2026-03-30 11:11:39 +08:00