Skip to content

test(matrix): stacks + storage-presign block integration tests (W4)#248

Merged
mastermanas805 merged 1 commit into
masterfrom
w4/stack-storage-block-tests-clean
Jun 4, 2026
Merged

test(matrix): stacks + storage-presign block integration tests (W4)#248
mastermanas805 merged 1 commit into
masterfrom
w4/stack-storage-block-tests-clean

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Closes the remaining P0/P1 API matrix legs from docs/sessions/2026-06-04/USER-FLOW-INVENTORY-AND-TEST-MATRIX.md with 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

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>
@mastermanas805 mastermanas805 enabled auto-merge (squash) June 4, 2026 20:29
@mastermanas805 mastermanas805 merged commit fce5fd7 into master Jun 4, 2026
18 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