fix: address performance and security findings
Lint / Lint (push) Successful in 26s
Tests / Go backend (push) Failing after 1m14s
Tests / Dashboard checks (push) Successful in 52s
Docker / Docker Build & Push (push) Successful in 3m41s

- Add PostgreSQL-backed backend and frontend tests to CI
- Harden Android API logging and disable app backups
- Update the performance report with resolved findings
This commit is contained in:
Gabriel20xx committed 2026-10-19 21:16:08 +00:00
1 parent a84a36349b
commit 937f51b4fb
35 files changed
+2566 -332

No files matched your search

+20
View File
@@ -29,6 +29,21 @@ jobs:
working-directory: backend
permissions:
contents: read
# A throwaway database for the handler and sync tests. They create their own
# schema in it and drop it again, and are skipped when TEST_DATABASE_URL is unset.
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: collabtable_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 5s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout
@@ -43,6 +58,8 @@ jobs:
- name: Test
run: go test ./...
env:
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable
frontend:
name: Dashboard checks
@@ -72,3 +89,6 @@ jobs:
- name: Check dashboard
run: npm run check
- name: Unit tests
run: npm test