improvement(api): release audit follow-ups for v2 member analytics, workflow access middleware and docs
Merged
WA
1d ago+65+65+01234567890123456789-106-106-012345678901234567890123456789
Summary
- v2 workspace member role change and removal now emit the same
workspace_member_role_changed/workspace_member_removedanalytics events as the in-app routes (user-credential principals only, matching the other v2 routes) - Removed the unreachable
requireDeployment=truebranch fromvalidateWorkflowAccess; every caller already passedfalse, and the dead branch authenticated API keys without the read-only check - Moved the workspace-concealment doc comment back onto
v2WorkspaceErrorPoliciesand inlined the busy-error predicate - GitLab permissions CI recipe now says the key needs Full access (a read-only key can read the revision but the CSV replace returns 403)
Type of Change
- Improvement
Testing
app/api/workflows,app/api/resume,app/api/v2/workspaces,lib/workspaces/apisuites (172 tests) andbun run lint; type-check and audits run in CI
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)