Skip to content

relay#614: fakerelay drops a deleted session's history row - #615

Merged
barelyworkingcode merged 2 commits into
epic/596-session-historyfrom
feat/614-fakerelay-history-delete
Oct 23, 2026
Merged

barelyworkingcode merged 2 commits into
epic/596-session-historyfrom
feat/614-fakerelay-history-delete

Conversation

@barelyworkingcode

Copy link
Copy Markdown
Owner

Closes #614

fakerelay's DELETE /api/sessions/{id} now also drops that session's row from GET /api/session-history, as relay does. Without it, eve's G3.12 check that a deleted thread leaves the Resume list could never fail (barelyworkingcode/eve#637 review).

Fix attempts: one, no rework. Tokens: about 120k across dev, test writer and review.

Minor (from review, not fixed): the Remove call runs even when the id names no session, while relay returns early; this is harmless, and the contract places the call this way.

No FEATURES.md row moves: fakerelay is a test fixture, and nothing a user reaches changes.

Review: no blocking findings (Sonnet)
Journey: n/a: fakerelay is a test fixture; prooftest TestHistoryRowGoneWithDeletedSession drives it over HTTP
Break-and-restore: History().Remove(id) removed; TestHistoryRowGoneWithDeletedSession red ("got [s1 h2], want [h2]"); restored byte for byte, green
Harness weakening: none

🤖 Generated with Claude Code

@barelyworkingcode
barelyworkingcode merged commit 3dd14d1 into epic/596-session-history Oct 23, 2026
@barelyworkingcode

Copy link
Copy Markdown
Owner Author

merge-check: merged. approved, target, contract, evidence, owner, weakening

@barelyworkingcode
barelyworkingcode deleted the feat/614-fakerelay-history-delete branch October 23, 2026 04:41
@barelyworkingcode

Copy link
Copy Markdown
Owner Author

Merged: approved, target, contract, evidence, owner, weakening pass.

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