Commit Graph

1436 Commits

Author SHA1 Message Date
Gitea Actions
6af2533e9e ci: Bump version to 0.16.4 [skip ci] v0.16.4 2026-02-18 23:04:08 +05:00
f434a5846a fix: apply three-layer rsync safety system to prevent PM2 crashes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 24m17s
CRITICAL FIX: Prevents rsync --delete from removing PM2 config files

Root Cause:
- rsync --delete was removing ecosystem*.config.cjs and .env.* files
- This caused PM2 daemon corruption affecting ALL projects on shared server
- Same vulnerability that crashed stock-alert PM2 processes

Three-Layer Safety System:
1. Pre-flight checks (git repo, critical files, file count validation)
2. Stop PM2 before file operations (prevent ENOENT/uv_cwd errors)
3. Comprehensive rsync excludes (ecosystem configs, .env files, coverage)

Changes:
- deploy-to-prod.yml: Added safety system to production deployment
- deploy-to-test.yml: Added safety system to test deployment

Files excluded from rsync --delete:
- ecosystem*.config.cjs (PM2 configuration)
- .env* (environment secrets)
- coverage, .nyc_output, .vitest-results (test artifacts)
- .vscode, .idea (IDE files)

Prevents:
- PM2 daemon crashes across all projects
- Process CWD (working directory) deletion
- Cross-project interference on shared PM2 daemon

Related:
- Stock-alert fix that identified this vulnerability
- PM2 Process Isolation documentation (CLAUDE.md)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 09:58:29 -08:00
Gitea Actions
aea368677f ci: Bump version to 0.16.3 [skip ci] v0.16.3 2026-02-18 22:51:45 +05:00
cd8ee92813 debug: add PM2 crash debugging tools
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2026-02-18 09:43:40 -08:00
Gitea Actions
cf2cc5b832 ci: Bump version to 0.16.2 [skip ci] v0.16.2 2026-02-18 15:01:02 +05:00
d2db3562bb test deploy
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 24m32s
2026-02-18 01:35:16 -08:00
Gitea Actions
0532b4b22e style: auto-format code via Prettier [skip ci] 2026-02-18 14:06:10 +05:00
Gitea Actions
e767ccbb21 ci: Bump version to 0.16.1 [skip ci] v0.16.1 2026-02-18 14:04:40 +05:00
1ff813f495 job to fix pm2
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 24m45s
2026-02-18 00:54:08 -08:00
204fe4394a oh god maybe pm2 finally workin
Some checks are pending
Deploy to Test Environment / deploy-to-test (push) Has started running
2026-02-17 23:54:27 -08:00
Gitea Actions
029b621632 ci: Bump version to 0.16.0 for production release [skip ci] v0.16.0 2026-02-18 11:21:36 +05:00
Gitea Actions
0656ab3ae7 style: auto-format code via Prettier [skip ci] 2026-02-18 10:48:03 +05:00
Gitea Actions
ae0bb9e04d ci: Bump version to 0.15.2 [skip ci] v0.15.2 2026-02-18 10:46:29 +05:00
b83c37b977 deploy fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 25m45s
2026-02-17 21:44:34 -08:00
Gitea Actions
69ae23a1ae ci: Bump version to 0.15.1 [skip ci] v0.15.1 2026-02-18 09:50:16 +05:00
c059b30201 PM2 Process Isolation
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 30m15s
2026-02-17 20:49:01 -08:00
Gitea Actions
93ad624658 ci: Bump version to 0.15.0 for production release [skip ci] v0.15.0 2026-02-18 07:40:36 +05:00
Gitea Actions
7dd4f21071 ci: Bump version to 0.14.4 [skip ci] v0.14.4 2026-02-18 06:27:20 +05:00
174b637a0a even more typescript fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 25m5s
2026-02-17 17:20:54 -08:00
Gitea Actions
4f80baf466 ci: Bump version to 0.14.3 [skip ci] v0.14.3 2026-02-17 10:03:15 +05:00
8450b5e22f Generate TSOA Spec and Routes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 2m32s
2026-02-16 21:01:30 -08:00
Gitea Actions
e4d830ab90 ci: Bump version to 0.14.2 [skip ci] v0.14.2 2026-02-13 23:35:46 +05:00
b6a62a036f be specific about pm2 processes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 3m31s
2026-02-13 10:19:28 -08:00
2d2cd52011 Massive Dependency Modernization Project
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 3m58s
2026-02-13 00:34:22 -08:00
379b8bf532 fix tour / whats new collision
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2026-02-12 11:05:47 -08:00
Gitea Actions
d06a1952a0 ci: Bump version to 0.14.1 [skip ci] v0.14.1 2026-02-12 17:37:36 +05:00
4d323a51ca fix tour / whats new collision
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 49m39s
2026-02-12 04:29:43 -08:00
Gitea Actions
ee15c67429 ci: Bump version to 0.14.0 for production release [skip ci] v0.14.0 2026-02-12 16:16:16 +05:00
Gitea Actions
9956d07480 ci: Bump version to 0.13.0 for production release [skip ci] v0.13.0 2026-02-12 16:08:44 +05:00
Gitea Actions
5bc8f6a42b ci: Bump version to 0.12.25 [skip ci] v0.12.25 2026-01-31 03:35:28 +05:00
4fd5e900af minor test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 25m22s
2026-01-30 14:29:45 -08:00
Gitea Actions
39ab773b82 ci: Bump version to 0.12.24 [skip ci] v0.12.24 2026-01-30 06:23:37 +05:00
75406cd924 typescript fix
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 25m7s
2026-01-29 17:21:55 -08:00
Gitea Actions
8fb0a57f02 ci: Bump version to 0.12.23 [skip ci] v0.12.23 2026-01-30 05:24:50 +05:00
c78323275b more unit tests - done for now
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 2m28s
2026-01-29 16:21:48 -08:00
Gitea Actions
5fe537b93d ci: Bump version to 0.12.22 [skip ci] v0.12.22 2026-01-29 12:26:33 +05:00
61f24305fb ADR-024 Feature Flagging Strategy
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 22m13s
2026-01-28 23:23:45 -08:00
Gitea Actions
de3f0cf26e ci: Bump version to 0.12.21 [skip ci] v0.12.21 2026-01-29 05:37:59 +05:00
45ac4fccf5 comprehensive documentation review + test fixes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 2m15s
2026-01-28 16:35:38 -08:00
Gitea Actions
b6c3ca9abe ci: Bump version to 0.12.20 [skip ci] v0.12.20 2026-01-29 04:36:43 +05:00
4f06698dfd test fixes and doc work
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 2m50s
2026-01-28 15:33:48 -08:00
Gitea Actions
e548d1b0cc ci: Bump version to 0.12.19 [skip ci] v0.12.19 2026-01-28 23:03:57 +05:00
771f59d009 more api versioning work -whee
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 22m47s
2026-01-28 09:58:28 -08:00
Gitea Actions
0979a074ad ci: Bump version to 0.12.18 [skip ci] v0.12.18 2026-01-28 13:08:49 +05:00
0d4b028a66 design fixup and docs + api versioning
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 21m49s
2026-01-28 00:04:56 -08:00
Gitea Actions
4baed53713 ci: Bump version to 0.12.17 [skip ci] v0.12.17 2026-01-28 00:08:39 +05:00
f10c6c0cd6 Complete ADR-008 Phase 2
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 17m56s
2026-01-27 11:06:09 -08:00
Gitea Actions
107465b5cb ci: Bump version to 0.12.16 [skip ci] v0.12.16 2026-01-27 10:57:46 +05:00
e92ad25ce9 claude
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 1m14s
2026-01-26 21:55:20 -08:00
2075ed199b Complete ADR-008 Phase 1: API Versioning Strategy
Implement URI-based API versioning with /api/v1 prefix across all routes.
This establishes a foundation for future API evolution and breaking changes.

Changes:
- server.ts: All routes mounted under /api/v1/ (15 route handlers)
- apiClient.ts: Base URL updated to /api/v1
- swagger.ts: OpenAPI server URL changed to /api/v1
- Redirect middleware: Added backwards compatibility for /api/* → /api/v1/*
- Tests: Updated 72 test files with versioned path assertions
- ADR documentation: Marked Phase 1 as complete (Accepted status)

Test fixes:
- apiClient.test.ts: 27 tests updated for /api/v1 paths
- user.routes.ts: 36 log messages updated to reflect versioned paths
- swagger.test.ts: 1 test updated for new server URL
- All integration/E2E tests updated for versioned endpoints

All Phase 1 acceptance criteria met:
✓ Routes use /api/v1/ prefix
✓ Frontend requests /api/v1/
✓ OpenAPI docs reflect /api/v1/
✓ Backwards compatibility via redirect middleware
✓ Tests pass with versioned paths

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-26 21:23:25 -08:00