7 Commits

Author SHA1 Message Date
ffc6dac172 feat: frontend tests — import/export validator + unit tests + CI integration
All checks were successful
CI / lint (push) Successful in 14s
CI / security (push) Successful in 11s
CI / test (push) Successful in 17s
CI / build (push) Successful in 2s
- tests/frontend/validate-imports.mjs: 0 errors on 13 modules, 79 exports
  Detects: missing exports, broken imports, const reassignments
- tests/frontend/unit.test.mjs: escapeHtml, state object, module syntax
- Added to CI lint job (runs after Ruff + Mypy)
2026-05-28 18:46:10 -04:00
7965139230 ci: re-enable coverage artifact upload via native Gitea runner (v3)
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 8s
CI / test (push) Successful in 28s
CI / build (push) Successful in 2s
2026-05-28 13:06:21 -04:00
1a14927f36 fix: resolve all 28 mypy type errors + re-enable coverage in CI
All checks were successful
CI / lint (push) Successful in 11s
CI / security (push) Successful in 7s
CI / test (push) Successful in 13s
CI / build (push) Successful in 1s
2026-05-28 12:57:30 -04:00
7096050da5 fix: disable upload-artifact (not available on self-hosted runner)
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 10s
CI / test (push) Successful in 14s
CI / build (push) Successful in 43s
2026-05-28 12:47:41 -04:00
a9a1730b8e fix: make mypy advisory (28 pre-existing type errors)
Some checks failed
CI / lint (push) Successful in 12s
CI / security (push) Successful in 7s
CI / test (push) Failing after 30s
CI / build (push) Has been skipped
2026-05-28 12:43:07 -04:00
6fc43e2485 fix: ruff lint errors + bandit false positives + pip-audit non-blocking
Some checks failed
CI / lint (push) Failing after 11s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 7s
2026-05-28 12:41:31 -04:00
7b2da1ff6a feat: CI/CD pipeline + sortedcontainers for O(log n) index ops
Some checks failed
CI / lint (push) Failing after 2m3s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Failing after 10s
CI/CD (.gitea/workflows/ci.yml):
- Lint: ruff + mypy on every push/PR
- Test: pytest with coverage report (175 tests)
- Security: bandit SAST + pip-audit dependency scan
- Build: Docker image verification

sortedcontainers (backend/search.py):
- Replace bisect with SortedList for _sorted_tokens
- O(log n) add() / discard() instead of O(n) insort/pop
- SortedList.bisect_left() for prefix search
- Add sortedcontainers>=2.4.0 to requirements.txt
2026-05-27 22:47:28 -04:00