ci: align Gitea CI with GitHub CI + repo hygiene #5

Merged
ilia merged 5 commits from chore/ci-align-and-repo-hygiene into main 2026-07-26 15:01:50 -05:00
Owner

Summary

  • Gitea CI parity: adds a unit-tests job (Biome lint, shared+orchestrator typecheck, vitest) to .gitea/workflows/ci.yml alongside the existing skip-ci-check / docker-ci / secret-scan jobs, so required branch-protection contexts are unchanged.
  • Agent tool dumps untracked: .agents/, .claude/, .codex/, .opencode/ (47 files) removed from git tracking and gitignored; files stay on disk. Root AGENTS.md kept.
  • Personal seed data sanitized: migrate.ts now seeds generic Demo User personas. Seeds are INSERT OR IGNORE, and the every-boot UPDATE backfills that re-asserted personal values were removed, so existing databases keep their current profile data — only fresh installs get the demo values. Personal cron env templates removed in favor of generic scripts/jobber-cron.env.example; docs/UI/env examples updated to demo names.
  • Fixes for gaps the missing CI lane let through: discover-jobs tests probed real listing URLs over the network (now mocked), the JobDetailPanel skip test still mocked the pre-undo skipJob API, a TS error in jobActionUndo.test.ts, and Biome formatting drift.

Verification

  • npm run check:all — clean (0 errors, 5 pre-existing warnings)
  • npm run check:types — clean
  • npm run test:all — 987/987 passed
## Summary - **Gitea CI parity**: adds a `unit-tests` job (Biome lint, shared+orchestrator typecheck, vitest) to `.gitea/workflows/ci.yml` alongside the existing `skip-ci-check` / `docker-ci` / `secret-scan` jobs, so required branch-protection contexts are unchanged. - **Agent tool dumps untracked**: `.agents/`, `.claude/`, `.codex/`, `.opencode/` (47 files) removed from git tracking and gitignored; files stay on disk. Root `AGENTS.md` kept. - **Personal seed data sanitized**: `migrate.ts` now seeds generic Demo User personas. Seeds are `INSERT OR IGNORE`, and the every-boot UPDATE backfills that re-asserted personal values were removed, so **existing databases keep their current profile data** — only fresh installs get the demo values. Personal cron env templates removed in favor of generic `scripts/jobber-cron.env.example`; docs/UI/env examples updated to demo names. - **Fixes for gaps the missing CI lane let through**: discover-jobs tests probed real listing URLs over the network (now mocked), the JobDetailPanel skip test still mocked the pre-undo `skipJob` API, a TS error in `jobActionUndo.test.ts`, and Biome formatting drift. ## Verification - `npm run check:all` — clean (0 errors, 5 pre-existing warnings) - `npm run check:types` — clean - `npm run test:all` — 987/987 passed
ilia added 5 commits 2026-07-26 14:54:21 -05:00
Seeds now insert generic Demo User personas (INSERT OR IGNORE, so
existing databases keep their current profile data). Drops the
every-boot UPDATE backfills that re-asserted personal values, and
removes the personal cron env example templates in favor of the
generic scripts/jobber-cron.env.example.
fix: repair tests and formatting that Gitea CI never checked
All checks were successful
CI / skip-ci-check (pull_request) Successful in 24s
CI / docker-ci (pull_request) Successful in 30s
CI / secret-scan (pull_request) Successful in 37s
CI / unit-tests (pull_request) Successful in 5m24s
a16fa88a2d
- mock the job-listing probe in discover-jobs tests (they hit the
  real network via example.com fixtures)
- update JobDetailPanel skip test to the runJobAction API introduced
  by the undo feature
- fix jobActionUndo test action type and apply Biome formatting that
  drifted while Gitea CI had no lint lane
ilia scheduled this pull request to auto merge when all checks succeed 2026-07-26 14:59:46 -05:00
ilia merged commit 02c28149e1 into main 2026-07-26 15:01:50 -05:00
ilia deleted branch chore/ci-align-and-repo-hygiene 2026-07-26 15:01:50 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilia/Jobber#5
No description provided.