Skip to content

Claude/read spec n6efu#170

Merged
yellowman merged 2 commits intomainfrom
claude/read-spec-n6efu
Dec 26, 2025
Merged

Claude/read spec n6efu#170
yellowman merged 2 commits intomainfrom
claude/read-spec-n6efu

Conversation

@yellowman
Copy link
Copy Markdown
Owner

@yellowman yellowman commented Dec 26, 2025

Note

Strengthens test and QA workflows and standardizes DB configuration.

  • Adds migration run step before Postgres tests in Makefile and docker-compose.test.yml workflows (migrate service)
  • Standardizes database URL scheme to postgresql:// in docker-compose.yaml (was postgres://)
  • Updates docs/QA_RUNBOOK.md to include running migrations (Docker and native) and minor cleanup flags
  • Extends scripts/smoke_test.sh with GET /v1/files/limits validation and includes it in the test sequence

Written by Cursor Bugbot for commit 03d555e. This will update automatically on new commits. Configure here.

Both make test-pg and QA_RUNBOOK.md now run migrations before pytest:
- Makefile: docker compose run --rm migrate
- QA_RUNBOOK (Docker): docker compose run --rm migrate
- QA_RUNBOOK (Native): ./scripts/migrate.sh

Without this, tests fail on fresh volumes with "Missing required tables".
docker-compose.test.yml:
- Remove misleading "User: user@test.local" from header comment
- Clarify that regular users are created via signup during tests

docker-compose.yaml:
- Change postgres:// to postgresql:// for consistency with other configs

scripts/smoke_test.sh:
- Add test_file_limits() to verify /v1/files/limits returns allowed_extensions
@yellowman yellowman merged commit 18df809 into main Dec 26, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants