Lab 2: PostgreSQL persistence and sessions #1

Merged
dizi merged 5 commits from solution/bvt2303-plastinin into main 2026-09-25 11:59:22 +03:00
Owner

Summary

  • PostgreSQL persistence with versioned migrations and keyset pagination
  • Argon2id passwords and persistent opaque sessions in Valkey
  • Docker Compose, Swagger UI, Prometheus/Grafana configuration
  • Gitea CI and manually approved production deployment workflow

Verification

  • make check
  • full OpenAPI 3.1 validation
  • go test -race ./..., go vet ./..., golangci-lint 2.13.2
  • make test
  • PostgreSQL and Valkey integration tests
  • real PostgreSQL/Valkey stop and recovery test
  • persistence test after restarting API and both stores

Grade 5 track

Track 2: 100,000-message query-plan experiment, write-cost comparison, and PostgreSQL backup/restore verification. Results are documented in REPORT.md and evidence/.

## Summary - PostgreSQL persistence with versioned migrations and keyset pagination - Argon2id passwords and persistent opaque sessions in Valkey - Docker Compose, Swagger UI, Prometheus/Grafana configuration - Gitea CI and manually approved production deployment workflow ## Verification - `make check` - full OpenAPI 3.1 validation - `go test -race ./...`, `go vet ./...`, golangci-lint 2.13.2 - `make test` - PostgreSQL and Valkey integration tests - real PostgreSQL/Valkey stop and recovery test - persistence test after restarting API and both stores ## Grade 5 track Track 2: 100,000-message query-plan experiment, write-cost comparison, and PostgreSQL backup/restore verification. Results are documented in `REPORT.md` and `evidence/`.
dizi added 4 commits 2026-09-24 10:51:46 +03:00
dizi force-pushed solution/bvt2303-plastinin from 2d2c071b12 to 09779a53ae 2026-09-24 10:51:46 +03:00 Compare
dizi added 1 commit 2026-09-25 11:46:15 +03:00
fix: address review comments
CI / verify (pull_request) Successful in 4m16s
6d5ac9e81d
dizi force-pushed solution/bvt2303-plastinin from 2a7d258c92 to 6d5ac9e81d 2026-09-25 11:46:15 +03:00 Compare
dizi marked the pull request as ready for review 2026-09-25 11:59:13 +03:00
dizi merged commit 4fe58a5270 into main 2026-09-25 11:59:22 +03: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: dizi/mtusi2026lab2#1