IAM U5-Backend integration-tests on top of U1+U3A #222

Merged
weichen merged 2 commits from feature/iam-link-u1-capability-association into main 2026-10-20 03:33:56 +00:00
Owner

Plan

Per plan revision 3 U5-Backend: add project_iam_integration_test.go covering the full IAM chain (capability-association linked projection; member-add via ProjectLifecycle.Work; subject scoping; document-read decoupling; CapabilityExplain creator+member; 4 categorized errors; no info leakage).

Predecessors

  • U1+U3A merged via PR #219 at 3f4b34a
  • Backend main progressed past U3A merge via PR #220 + PR #221 (recovery → one-time-password) at 8050c6b

Files

29 files changed, 2519 insertions, 1008 deletions (mostly unrelated merges absorbed).
The actual U5-Backend addition is internal/server/project_iam_integration_test.go (1 new file).

Verification

GOWORK=off go test ./internal/server/... -count=1 → 29s; 7+ new IAM integration tests PASS.

Refs: /tmp/iam-role-permission-plan-20261019-sqfu_4g4/plan.md revision 3 U5-Backend; Dev L1 PR #643 merged at ac594c9.

## Plan Per plan revision 3 U5-Backend: add project_iam_integration_test.go covering the full IAM chain (capability-association linked projection; member-add via ProjectLifecycle.Work; subject scoping; document-read decoupling; CapabilityExplain creator+member; 4 categorized errors; no info leakage). ## Predecessors - U1+U3A merged via PR #219 at 3f4b34a - Backend main progressed past U3A merge via PR #220 + PR #221 (recovery → one-time-password) at 8050c6b ## Files 29 files changed, 2519 insertions, 1008 deletions (mostly unrelated merges absorbed). The actual U5-Backend addition is `internal/server/project_iam_integration_test.go` (1 new file). ## Verification GOWORK=off go test ./internal/server/... -count=1 → 29s; 7+ new IAM integration tests PASS. Refs: /tmp/iam-role-permission-plan-20261019-sqfu_4g4/plan.md revision 3 U5-Backend; Dev L1 PR #643 merged at ac594c9.
weichen added 2 commits 2026-10-20 03:31:46 +00:00
Merge Backend main into L1 branch for U5-Backend sync
governance / governance (pull_request) Successful in 14s
ci / vet-and-test (pull_request) Successful in 1m35s
7437547dee
weichen merged commit adc2348052 into main 2026-10-20 03:33:56 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#222