13 Commits
Author SHA1 Message Date
dennisthiessenandClaude Opus 5 98b41629e7 ci: lint the whole repo, and pin the rule set so it stays deterministic
Deploy / lint (push) Successful in 8s
Deploy / test (push) Successful in 1m14s
Deploy / deploy (push) Successful in 39s
Widens the lint step from `ruff check app/` to `ruff check .`, since tests/ and
scripts/ had drifted to 11 findings while unchecked (fixed in 1c6ccce).

Widening alone would have been unsafe, and the check turned up something worse
than the drift: CI installs ruff unpinned, the repo had no [tool.ruff] config,
and ruff's default rule set is not stable across releases. Local 0.15.4 reports
0 findings in app/; 0.16.2 -- what `pip install ruff` resolves to today --
reports 376. 168 of those are B008 flagging FastAPI's `Depends()` in a signature
default, which is the framework's documented idiom, not a defect. So the lint
job would have failed the deploy pipeline on untouched code at the next push,
independent of this change.

Pinning the ruff version would freeze the bug in place. Pinning the *rule set*
is the actual fix: select = ["E4", "E7", "E9", "F"] in pyproject.toml, the set
the tree was already clean under, now enforced repo-wide. The ruff version can
float freely without changing what CI enforces.

Verified both scopes against both versions with caches disabled: `ruff check .`
passes under 0.15.4 and 0.16.2. Confirmed the pin actually binds rather than
passing by luck -- a probe file using `Depends()` in a default is clean under
the committed config and reports B008 + I001 under `--isolated` 0.16.2 defaults.
Full suite still 852 passed, 1 skipped.

Adding rules is welcome; do it in pyproject.toml with the fixes in the same
commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 19:28:26 +02:00
dennisthiessenandClaude Opus 4.8 8bcbbfcfd0 fix: show benchmark job in admin; harden + split deploy workflow
Deploy / lint (push) Successful in 8s
Deploy / test (push) Successful in 48s
Deploy / deploy (push) Successful in 28s
- admin_service: register benchmark_collector in VALID_JOB_NAMES, JOB_LABELS and
  PIPELINE_MEMBERS. The Admin → Jobs list is built from these hardcoded sets, not
  the scheduler, so the job was registered but invisible/untriggerable.

- deploy.yml:
  - SSH: verify the host key (StrictHostKeyChecking=yes) now that known_hosts is
    supplied; move private-key cleanup to an `if: always()` step.
  - Add a concurrency guard so deploys serialize.
  - Health-check the service after restart (127.0.0.1:8998/api/v1/health).
  - Align CI Python to 3.12 (matches prod); pip + npm caching.
  - Clarify the Postgres service only validates migrations (tests use SQLite);
    drop the redundant DATABASE_URL from the pytest step.
  - Split the monolithic "Deploy to server" step into named steps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 09:01:09 +02:00
dennisthiessen bb62e5ce44 updated deployfile
Deploy / lint (push) Successful in 5s
Deploy / test (push) Successful in 29s
Deploy / deploy (push) Successful in 21s
2026-03-03 20:25:18 +01:00
dennisthiessen dd6b75d211 changed python version
Deploy / lint (push) Successful in 14s
Deploy / test (push) Successful in 44s
Deploy / deploy (push) Failing after 12s
2026-03-03 20:11:52 +01:00
dennisthiessen db248b62a8 Updated deploy script
Deploy / lint (push) Successful in 5s
Deploy / test (push) Successful in 28s
Deploy / deploy (push) Failing after 14s
2026-03-03 20:09:39 +01:00
dennisthiessen 12788a3946 updated to use correct variables
Deploy / lint (push) Successful in 5s
Deploy / test (push) Successful in 28s
Deploy / deploy (push) Failing after 4s
2026-03-03 19:53:54 +01:00
dennisthiessen d9458782be updated deploymentfile
Deploy / lint (push) Successful in 5s
Deploy / test (push) Failing after 13s
Deploy / deploy (push) Has been skipped
2026-03-03 19:36:36 +01:00
dennisthiessen 8db078a0c2 updated port #3
Deploy / lint (push) Successful in 7s
Deploy / test (push) Failing after 10s
Deploy / deploy (push) Has been skipped
2026-03-03 19:30:26 +01:00
dennisthiessen 1f9c37a50f updated port #2
Deploy / lint (push) Successful in 5s
Deploy / test (push) Failing after 10s
Deploy / deploy (push) Has been skipped
2026-03-03 19:24:21 +01:00
dennisthiessen 50f618eb9f updated port in deployment file
Deploy / lint (push) Successful in 5s
Deploy / test (push) Failing after 10s
Deploy / deploy (push) Has been skipped
2026-03-03 19:22:37 +01:00
dennisthiessen af33f9724c added db setup to deployment file
Deploy / lint (push) Successful in 4s
Deploy / test (push) Failing after 2s
Deploy / deploy (push) Has been skipped
2026-03-03 19:16:24 +01:00
Dennis Thiessen 0a011d4ce9 Big refactoring
Deploy / lint (push) Failing after 21s
Deploy / test (push) Has been skipped
Deploy / deploy (push) Has been skipped
2026-03-03 15:20:18 +01:00
Dennis Thiessen 61ab24490d first commit
Deploy / lint (push) Failing after 7s
Deploy / test (push) Has been skipped
Deploy / deploy (push) Has been skipped
2026-02-20 17:31:01 +01:00