Org audit/activity log: member, team, and repo events in one place #364
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#364
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Survey: crueber/walhub#349 candidate 6.
Evidence
Design
Acceptance criteria
Fix landed as PR #377 (#377): org activity surface over the #363 substrate — owner-gated API paging (
GET …/activity) + live stream (…/activity/streamvia the existing frame bus) + owner-only Activity tab, with the missing org-object emissions (org_created/org_updated/org_deleted/team_updated/repo_created via the wal birth hook). Ready for review; not merging per workflow.REVIEW PR #377 (fix/issue-364, commit
c3ee385) — verified in scratch worktree, all green. No browser drive (API+logic change; tests + reasoning per efficiency rules).VERIFIED (file:line on branch):
TESTS (scratch worktree /tmp/pr377, since removed): go test -race notify/identity/wal OK; cmd/walhub OrgBirth+push-budget OK; cover notify 95.1% / identity 95.6% / wal 95.4% (all >=95%); sim OK (12.4s); go build ./... OK; gofmt/vet clean; node --test orgs+sdk-notifications 14/14 pass; go.mod/web deps unchanged.
NOTES (non-blocking): (a) POST /activity falls through to 404 while stream POST is 405 — harmless, test-pinned. (b) retain scans restart at seq 1 each pass, so a >600-deep deleted prefix burns 600 gap-GETs/pass with zero deletes — mirrors the pre-existing repo-event contract, bounded maintainer cost. (c) ActivityTab has the usual org-switch load race (slow org-A page merging into org-B) — same pattern as sibling tabs.
MERGE RECOMMENDATION: ready to merge.
Fixed by PR #377 (review clean; substrate reuse, emissions, paging/SSE/gating/retention, budgets verified), merged. Closing.