test(matrix): stacks + storage-presign block integration tests (W4)#248
Merged
Merged
Conversation
Closes the remaining P0/P1 API matrix legs: stacks (D2 over-cap 402, D4 anon NULL-team+6h TTL, D11 multi-service persist+env-tag, D12 env-merge counters / auth / deleting-409) and storage presign (C16 tenant-prefix-scoped, ≤1h TTL, cross-team reject, broker no-long-lived-cred, non-storage 400, inactive 410, unknown 404, path-traversal reject). New test files only; no source edits. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the remaining P0/P1 API matrix legs from
docs/sessions/2026-06-04/USER-FLOW-INVENTORY-AND-TEST-MATRIX.mdwith real-backend integration coverage. Salvaged from the W4 agent's uncommitted work (new test files only — no source edits).Stacks (§D): D2 over-cap → 402 + agent_action; D4 anonymous → NULL team_id + 6h TTL; D11 multi-service → members + env-tag persisted; D12 env-merge counters / requires-auth / deleting-stack → 409.
Storage presign (§C16): tenant-prefix-scoped; TTL ≤ 1h; cross-team session rejected; same-team signs; broker hands no long-lived credential; non-storage token → 400; inactive storage → 410; unknown token → 404; path-traversal rejected.
15 test functions, all in two new files (
stacks_block_integration_test.go,storage_presign_block_integration_test.go).Also: removes
dump.rdb— a 25KB Redis runtime artifact accidentally tracked in the repo (nothing references it; it should never have been committed).🤖 Generated with Claude Code