Skip to content

chore: password-reset follow-ups - #439

Merged
FlyM1ss merged 2 commits into
mainfrom
chore/password-reset-followups
Sep 2, 2026
Merged

chore: password-reset follow-ups#439
FlyM1ss merged 2 commits into
mainfrom
chore/password-reset-followups

Conversation

@FlyM1ss

@FlyM1ss FlyM1ss commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Follow-ups to #436. Closes #437.

  • docs/source/lab/accounts.rst — "Reset a forgotten password" section (explicitly out of feat(auth): password reset via emailed code #436's scope). Every claim verified against the shipped routes and frontend; sphinx-build -n -E clean, section renders.
  • temp_postgres_store — wipes user_entitlements alongside the other child tables. Note: test: temp_postgres_store fixture never clears user_entitlements #437's stated mechanism does not reproduce — the FK has been ON DELETE CASCADE since the table's first commit (e5daadda), so a repo-created schema cannot strand rows, and 34/34 live postgres:18 runs are green on fresh and reused DBs with or without the fix. The wipe lands as hardening: the fixture already explicitly wipes three equally-cascading child tables, and a long-lived local dev DB mutated by a review branch's divergent DDL is a real hazard.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XXfamqoPKiuxVyJYxV7Y78

FlyM1ss and others added 2 commits September 2, 2026 10:33
User-facing "Reset a forgotten password" section, explicitly out of
scope for the implementation PR #436. Every claim checked against the
shipped routes and frontend; sphinx -n -E build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXfamqoPKiuxVyJYxV7Y78
Closes #437 — with the mechanism corrected: the issue's leftover-rows
story does not reproduce on any repo-created schema, because the
user_entitlements FK has carried ON DELETE CASCADE since its first
commit (e5daadd), so the fixture's DELETE FROM users already
cascade-clears it. 34/34 live postgres:18 runs green on fresh and
reused databases, with and without this change. The explicit wipe
still lands as hardening: the fixture already wipes three other
equally-cascading child tables, and a long-lived dev database mutated
by a review branch's divergent DDL is a real local hazard.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXfamqoPKiuxVyJYxV7Y78
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agentic-trading-lab Ready Ready Preview Sep 2, 2026 2:33am UTC

@FlyM1ss
FlyM1ss merged commit 157376a into main Sep 2, 2026
7 checks passed
@FlyM1ss
FlyM1ss deleted the chore/password-reset-followups branch September 2, 2026 10:42
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.

test: temp_postgres_store fixture never clears user_entitlements

1 participant