The repository moved from master to main, but the workflow still only triggered on master, so pushes and pull requests ran no CI. Update the trigger and the current-state docs to match.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Media Team Hub — Project State & Agent Map
|
||||
|
||||
**Audit / repair date:** 2026-11-19
|
||||
**Branch:** `master`
|
||||
**Branch:** `main`
|
||||
**Last commit:** `2cec220` — *docs(D8): mark D8 complete — all checks green*
|
||||
**Working tree:** all D9–E7, admin/training/calendar/settings work **and the security/correctness repair pass** are uncommitted. This is the single largest operational risk in the repo (see §16).
|
||||
**Audit scope:** full source read (`src/**`, `e2e/**`, `drizzle/**`, Docker/CI/config), followed by a repair pass, an event-photography feature slice, and a full re-verification.
|
||||
@@ -50,7 +50,7 @@ Media Team Hub is a **working, container-deployed church media-team scheduling a
|
||||
- A completion job maintains `last_served_on` / `last_served_at` after services end.
|
||||
- Mentor approval is persisted and editable; approval semantics no longer depend on a nullable timestamp.
|
||||
- Uploads are signature-checked; non-image attachments download with `nosniff`; baseline security headers added.
|
||||
- CI now targets `master` and runs migrations, E2E and build against its own Postgres.
|
||||
- CI now targets `main` and runs migrations, E2E and build against its own Postgres.
|
||||
- **Event photography MVP:** `events`, photographer/editor assignments, per-event folders, extension-validated RAW/JPEG uploads streamed to the uploads volume, dedupe by SHA-256, authenticated downloads, and an E2E proving one photographer's file downloads byte-for-byte for another.
|
||||
|
||||
---
|
||||
@@ -121,7 +121,7 @@ The planning docs target Cloudflare Workers/D1/R2; the implementation is a porta
|
||||
.
|
||||
├── .agent/PROGRESS.md Canonical build log (units, decisions, bugs, repair pass)
|
||||
├── .pi/DEAD_ENDS.md Append-only ledger of proven traps
|
||||
├── .github/workflows/ci.yml master branch: drift check → typecheck → lint → test → migrate → e2e → build
|
||||
├── .github/workflows/ci.yml main branch: drift check → typecheck → lint → test → migrate → e2e → build
|
||||
├── docs/
|
||||
│ ├── ARCHITECTURE.md Product architecture spec
|
||||
│ ├── BUILD-SPEC.md Screen-by-screen spec + 18 rules
|
||||
@@ -570,7 +570,7 @@ Still missing screens (APIs exist): volunteer profile + prefs, blackout calendar
|
||||
- E2E: **32 tests** on the isolated `media_e2e` database, including event create → assign → upload RAW/JPEG → cross-photographer download → manager delete, plus announcement create → volunteer visibility → unpublish.
|
||||
- E2E: 11 specs, serial (`workers: 1`) because suites share one Postgres and reset it in `beforeAll`.
|
||||
- `playwright.config.ts` builds+starts the app on :3000, DB URL overridable via `TEST_DATABASE_URL`/`DATABASE_URL`, and sets `AUTO_ACTIVATE_NEW_USERS=true`, `MAGIC_LINK_DEV_TRANSPORT=true`, `ALLOW_DEV_RESET=true`.
|
||||
- CI targets `master`, provides a Postgres service, checks migration drift (`db:generate` + `git diff --exit-code -- drizzle`), typechecks, lints, tests, migrates, runs E2E and builds.
|
||||
- CI targets `main`, provides a Postgres service, checks migration drift (`db:generate` + `git diff --exit-code -- drizzle`), typechecks, lints, tests, migrates, runs E2E and builds.
|
||||
- Local E2E still resets the development database; CI is isolated. Do not run it against a database you care about.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user