test(api): owner-scoping regression (#23) #40

Merged
yuuhikaze merged 2 commits from test/owner-scoping into master 2026-10-24 11:43:39 -05:00
Owner

Closes #23

  • automata_are_scoped_to_their_owner: real pool, two identities; cross-user GET/PUT/DELETE → 404 not_found, list empty, owner doc intact. Skips when TEST_DATABASE_URL is unset.
  • CI rust job gains a postgres:17-alpine service (LAN copy) and sets TEST_DATABASE_URL, so the test runs on every PR.

Also reviewed #35/#36 (tikz on render response): no veto.

🤖 Generated with Claude Code

Closes #23 - `automata_are_scoped_to_their_owner`: real pool, two identities; cross-user GET/PUT/DELETE → 404 `not_found`, list empty, owner doc intact. Skips when `TEST_DATABASE_URL` is unset. - CI rust job gains a `postgres:17-alpine` service (LAN copy) and sets `TEST_DATABASE_URL`, so the test runs on every PR. Also reviewed #35/#36 (tikz on render response): no veto. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
test(api): prove automata CRUD is owner-scoped against postgres
Some checks failed
ci / web (pull_request) Successful in 1m5s
ci / rust (pull_request) Failing after 1m33s
ci / image (oven/bun:1.4.2-debian=docker-image://git.yhkze.net/actions/bun:1.4.2-debian node:22-bookworm-slim=docker-image://git.yhkze.net/actions/node:22-bookworm-slim , web, deploy/web.Dockerfile, rgxr-web) (pull_request) Has been skipped
ci / image (rust:1-slim-bookworm=docker-image://git.yhkze.net/actions/rust:1-slim-bookworm debian:bookworm-slim=docker-image://git.yhkze.net/actions/debian:bookworm-slim , ., deploy/api.Dockerfile, rgxr-api) (pull_request) Has been skipped
86ea6df16c
Closes #23

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tt5Kc71LcLjqfyZWoZosqh
fix(ci): reach postgres service over loopback
All checks were successful
ci / web (pull_request) Successful in 14s
ci / rust (pull_request) Successful in 1m22s
ci / image (oven/bun:1.4.2-debian=docker-image://git.yhkze.net/actions/bun:1.4.2-debian node:22-bookworm-slim=docker-image://git.yhkze.net/actions/node:22-bookworm-slim , web, deploy/web.Dockerfile, rgxr-web) (pull_request) Has been skipped
ci / image (rust:1-slim-bookworm=docker-image://git.yhkze.net/actions/rust:1-slim-bookworm debian:bookworm-slim=docker-image://git.yhkze.net/actions/debian:bookworm-slim , ., deploy/api.Dockerfile, rgxr-api) (pull_request) Has been skipped
d816aa78b1
Refs #23

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tt5Kc71LcLjqfyZWoZosqh
yuuhikaze merged commit 3547b6cdad into master 2026-10-24 11:43:39 -05:00
yuuhikaze deleted branch test/owner-scoping 2026-10-24 11:43:39 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
k8s-services/rgxr!40
No description provided.