Commit Graph

21 Commits

Author SHA1 Message Date
you
c01294be5d ci: smart test selection — only run what changed
Backend-only change: ~1 min (unit tests, skip Playwright/coverage)
Frontend-only change: ~2-5 min (E2E + coverage, skip backend suite)
Both changed: full suite (~14 min)
CI/test infra changed: full suite (safety net)

Detects changed files via git diff HEAD~1, runs appropriate suite.
2026-03-24 05:52:08 +00:00
you
d52354c4eb ci: fix badge colors (88% should be green) + E2E count parsing 2026-03-24 04:55:10 +00:00
you
d80b64ba81 ci: fix frontend coverage reporting — debug output, handle empty FE_COVERAGE 2026-03-24 04:35:03 +00:00
you
11a920c436 ci: full frontend coverage pipeline in CI — instrument, Playwright, collect, report
Every push now: backend tests + coverage → instrument frontend JS →
start instrumented server → Playwright E2E → collect window.__coverage__
→ generate frontend coverage report → update badges. All before deploy.
2026-03-24 04:22:23 +00:00
you
c4c2565fa7 ci: separate backend/frontend badges for tests + coverage
README now shows 5 badges:
- Backend Tests (count)
- Backend Coverage (%)
- Frontend Tests (E2E count)
- Frontend Coverage (%)
- Deploy status
2026-03-24 03:28:13 +00:00
you
3cacedda33 ci: Playwright runs BEFORE deploy against local temp server
Tests now run in the test job, not after deploy. Spins up server.js
on port 13581, runs Playwright against it, kills it after.
If E2E fails, deploy is blocked — broken code never reaches prod.
BASE_URL env var makes the test configurable.
2026-03-24 03:01:15 +00:00
you
f60a64a8e1 ci: wait for site healthy before running Playwright E2E
Site is down during docker rebuild — wait up to 60s for /api/stats
to respond before running browser tests.
2026-03-24 02:50:19 +00:00
you
bfec6962b8 ci: install deps before Playwright E2E in deploy job 2026-03-24 02:47:56 +00:00
you
ad648137d7 ci: fix frontend-test channel assertion + badge push non-fatal
Channel messages response may not have .messages array.
Badge push now continue-on-error (self-hosted runner permissions).
2026-03-24 02:45:14 +00:00
you
c95045b07c ci: fix badge push — use GITHUB_TOKEN for write access 2026-03-24 02:43:15 +00:00
you
976a96e74c ci: Playwright E2E tests run in GitHub Actions after deploy
8 smoke tests against prod after deployment completes.
Uses Playwright bundled Chromium on x86 runner.
Falls back to CHROMIUM_PATH env var for other architectures.
2026-03-24 02:37:48 +00:00
you
33010a679c ci: dynamic test count + coverage badges in README
Badges show: 'tests: 844/844 passed' and 'coverage: 76%'
Updated automatically by CI after each run via .badges/ JSON files.
Color: green >80%, yellow >60%, red <60%.
2026-03-24 02:22:14 +00:00
you
97bb2a78c9 ci: add test status badge to README + job summary with coverage
Badge shows pass/fail in the repo. Job summary shows test counts
and coverage percentages in the GitHub Actions UI.
2026-03-24 00:56:02 +00:00
you
5b6a010da6 ci: tests must pass before deploy — no untested code in prod
Added test job that runs unit tests + integration tests + coverage
before deploy. Deploy job depends on test job passing.
If any test fails, deploy is blocked.
2026-03-24 00:52:35 +00:00
you
3155504d70 Fix CI: use docker rm -f to avoid stale container conflicts 2026-03-23 00:18:19 +00:00
you
288c1b048b CI: skip deploy on markdown, docs, LICENSE, gitignore changes 2026-03-22 18:28:56 +00:00
you
1a87e7410e v2.3.0: Packet Deduplication — normalized storage with transmissions + observations
CI: add setup-node to deploy workflow
2026-03-20 23:02:58 +00:00
you
10b11106f6 ci: add pre-deploy JS validation — syntax check + undefined reference detection
Validation runs BEFORE docker build. If it fails, deployment is blocked.
No more broken code reaching production.
2026-03-20 19:24:11 +00:00
you
1f9cd3ead1 fix: add config.json mount to CI deploy workflow 2026-03-20 14:29:32 +00:00
you
74983d3f74 ci: switch to self-hosted runner — no SSH, no secrets, no exposed ports 2026-03-20 07:07:01 +00:00
you
ab35ced2bf ci: auto-deploy to VM on push to master via GitHub Actions 2026-03-20 07:03:36 +00:00