Skip to content

chore: add ESLint, Python CI, and consolidate test/audit fixes#23

Draft
Tamsi wants to merge 2 commits into
mainfrom
feature/eslint-python-ci-e5e3
Draft

chore: add ESLint, Python CI, and consolidate test/audit fixes#23
Tamsi wants to merge 2 commits into
mainfrom
feature/eslint-python-ci-e5e3

Conversation

@Tamsi

@Tamsi Tamsi commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Consolidates the previous CI/test work (#22) with ESLint/Prettier tooling and a Python test harness.

UI tooling

  • ESLint flat config (typescript-eslint, react-hooks, react-refresh)
  • Prettier config + format / format:check scripts
  • npm run lint — 0 errors (48 warnings tolerated on legacy code)
  • npm run typecheck — available locally (pre-existing TS errors, not gated in CI)

Python CI

  • pyproject.toml with [test] optional dependencies
  • scripts/run-ci-tests.sh208 Hermes-free unit tests (cloud_api + curated delivery_runtime + plugin smoke)
  • New python job in GitHub Actions

Also included (from #22)

  • Vitest fixes (firebase-config + timezone)
  • undici 7.28.0 security bump + minor npm updates
  • UI CI: audit, test, build

Test plan

  • npm audit — 0 vulnerabilities
  • npm run lint — 0 errors
  • npm test — 164/164
  • npm run build — OK
  • ./scripts/run-ci-tests.sh — 208 passed

Notes

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 18, 2026 20:37
- Stub VITE_LC_ENABLE_TEAM_AUTH in firebase-config test so cloud-defaults
  fallback is exercised under Vitest (non-PROD environment).
- Replace hardcoded Paris timezone assertion with a locale-agnostic regex
  in use-daily-analysis test.
- Add GitHub Actions workflow: npm ci, audit, test, and build in ui/.
- Bump undici to 7.28.0 and apply minor npm dependency updates.
- Rebuild dashboard/dist bundle after dependency refresh.

Co-authored-by: Tamsi <Tamsi@users.noreply.github.com>
- Add ESLint flat config (typescript-eslint + react-hooks) with pragmatic
  rule overrides for the existing codebase; npm run lint allows warnings.
- Add Prettier config and format scripts (not enforced in CI yet).
- Add pyproject.toml with optional [test] dependencies for CI.
- Add scripts/run-ci-tests.sh targeting 208 Hermes-free unit tests.
- Extend GitHub Actions with npm run lint and a python job.
- Ignore *.egg-info/ build artifacts.

Co-authored-by: Tamsi <Tamsi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants