feat: snapshot #2

Merged
Noel merged 4 commits from feat/snapshot into main 2026-11-14 05:37:49 +00:00
Owner
No description provided.
Noel added 3 commits 2026-11-14 05:04:52 +00:00
GET /bootstrap returns the 8 sensors, hourly series for all of them,
context, meta, and versions in the CONTRACT.md shape. Snapshot artifacts
are projected to contract fields once at boot; incomplete artifacts return
503. Adds tests for shape, sensor count, hourly alignment, and versions.

Dockerfile now creates UID/GID 10001, uses COPY --chown=10001:10001, and
runs as USER 10001:10001. Adds make check and a minimal Gitea Actions
workflow that runs the same local gate: uv sync --frozen, compileall, pytest.
ci: add ruff static gate to make check and Gitea workflow
ci / check (push) Failing after 40s
ci / check (pull_request) Failing after 6s
2b9617fd71
Adds ruff as a dev dependency with an explicit py312 E/F rule set, so the
gate stays stable across ruff releases. make check now runs uv sync --frozen,
ruff, compileall, and pytest; make lint runs ruff alone.

The Gitea job splits the same checks into named steps for readable failures
and has a 10-minute timeout. No secrets, image push, or cluster access.
Noel added 1 commit 2026-11-14 05:04:55 +00:00
Merge branch 'main' into feat/snapshot
ci / check (push) Failing after 6s
ci / check (pull_request) Failing after 6s
69a8abf00f
Noel merged commit 48f8d2ee1b into main 2026-11-14 05:37:49 +00:00
Noel deleted branch feat/snapshot 2026-11-14 05:40:30 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Future-City-Hackathon-2026/ML-py#2