Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check local preview reset safeguards
run: python3 -B -m unittest discover -s tests -p 'test_local_preview.py'
- uses: actions/setup-node@v4
with:
node-version: 24
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Data persists in `data/postgres` and `data/audio` across container rebuilds. Bac

## Documentation

- [Local preview and resetting test data](docs/local-preview.md): the Mac’s isolated production-based test environment.
- [Development and testing](docs/testing.md): local setup, isolated tests, and device checks.
- [Product and technical specification](docs/wavecase-specification.md): behavior, access rules, audio policies, and repository structure.
- [Implementation status](docs/implementation-status.md): supported scope and remaining acceptance work.
Expand Down
62 changes: 0 additions & 62 deletions docs/local-preview.md

This file was deleted.

9 changes: 9 additions & 0 deletions docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ The supplied Compose file uses `build: .`; it does not select published images.
| Explicit migration job | `["npm", "run", "db:migrate"]` | If run separately, start web with `["npm", "start"]`. |

The image includes FFmpeg and ffprobe; PostgreSQL runs separately. Publishing images never triggers a deployment.


## Local test data

Use the repository's Compose setup for an independent local database and media
store. Installation-specific tools that export production content, sanitize it
or reset a configured preview belong to the operator's infrastructure tooling.
They are not prerequisites for running or developing this application. Keep any
real content and exports out of Git; `data/` remains ignored.
1 change: 0 additions & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ docker compose run --rm --no-deps web sh -ec 'export DATABASE_URL="${DATABASE_UR

Create the database only once. Building the image also checks the production build. The URL substitution assumes the supplied Compose database name, `wavecase`. Use a separate checkout and Compose project from a running installation; set `COMPOSE_PROJECT_NAME=wavecase-check` for these commands if checkout names collide. [CI](../.github/workflows/ci.yml) uses its own PostgreSQL service and runs the complete suite. It also checks formatting and fails when `app/server/schema.ts` has changes without a generated migration or when `THIRD_PARTY_NOTICES.md` is out of date.

CI also runs `python3 -B -m unittest discover -s tests -p 'test_local_preview.py'`, which covers the reset safeguards in `scripts/local-test-data.py` ([local preview](local-preview.md)). Run it after changing that script.

| Coverage | Tests |
| --- | --- |
Expand Down
167 changes: 0 additions & 167 deletions scripts/local-test-data.py

This file was deleted.

68 changes: 0 additions & 68 deletions tests/test_local_preview.py

This file was deleted.

Loading