Skip to content

test: изолированные dev-данные для завершения приемки PR517 - #855

Merged
TThanos3000 merged 2 commits into
devfrom
codex/pr517-acceptance-fixtures
Nov 3, 2026
Merged

TThanos3000 merged 2 commits into
devfrom
codex/pr517-acceptance-fixtures

Conversation

@TThanos3000

@TThanos3000 TThanos3000 commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Completes the remaining PR #517 dev acceptance setup without changing existing programs, works or grades. Adds a dev-only, preview-by-default operation that creates four private QA programs: legacy Project, case Solution, open-evaluation hackathon, and noncompetitive Solution.

The explicit apply creates four Project drafts and 23 Solutions (four submitted), using the existing test accounts and 18 new accounts with unusable passwords and reserved .invalid addresses. No emails, certificates, grades or assignments are created. All creation flags are closed inside the same transaction. Hash checks enforce preservation of every preexisting row in partner_programs, projects and project_rates, including through tables; a mismatch rolls back the entire setup. A fresh key and a server-side receipt prevent accidental replay.

Validation: three real Django/PostgreSQL tests pass, including read-only preview, private bounded apply with no mail, and complete rollback when an old row is deliberately changed. Flake8, Black formatting API and diff checks pass. The workflow retains dev-ref, source SHA and image checks; production deployment is unchanged.

@TThanos3000
TThanos3000 merged commit 912dedc into dev Nov 3, 2026
6 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.

1 participant