-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat(observability): extend audit log, PostHog, and storage metering coverage #5269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
waleedlatif1
wants to merge
29
commits into
staging
Choose a base branch
from
worktree-audit-posthog-coverage
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9c4c342
feat(observability): extend audit log, PostHog, and storage metering …
waleedlatif1 56835de
fix(observability): audit file/credential egress only on success
waleedlatif1 4bd30ae
fix(audit): record null actor for anonymous public-share downloads
waleedlatif1 b19912f
fix(observability): audit admin exports after zip; tidy comments
waleedlatif1 9da4270
fix(billing): complete the chargeback + overage financial trail
waleedlatif1 4aaf1b1
fix(storage): decrement copilot quota before deleting metadata
waleedlatif1 8064b9a
fix(observability): atomic copilot storage release; signup-blocked ac…
waleedlatif1 5a2191d
fix(storage): meter copilot ingest centrally for path symmetry
waleedlatif1 b9ac77e
fix(audit): skip WORKFLOW_EXPORTED when admin export is empty
waleedlatif1 9d9186e
fix(storage): settle copilot accounting before deleting the blob
waleedlatif1 ba23b00
fix(storage): decrement KB document storage atomically with deletion
waleedlatif1 59ee511
fix(audit): don't treat email verification as a login
waleedlatif1 f0a18ef
fix(audit): null actor FK when the user lookup throws
waleedlatif1 c06e507
revert(audit): drop session/account-lifecycle auth instrumentation
waleedlatif1 f617608
fix(storage): harden copilot+KB delete accounting against read errors…
waleedlatif1 f759a0d
chore(observability): drop two unused definitions
waleedlatif1 139174b
fix(knowledge): key hard-delete result off rows actually deleted
waleedlatif1 50052ba
fix(storage): gate copilot quota on all ingest paths; tidy inline com…
waleedlatif1 470edf7
fix(analytics): omit empty workspace_id on workspace-less file downloads
waleedlatif1 0433e52
fix(analytics): omit empty workspace_id/workflow_id on copilot_chat_sent
waleedlatif1 fe36c68
fix(analytics): clear stale org PostHog group on personal workspaces
waleedlatif1 e824f38
fix: address review — export audit timing, copilot delete signal, gro…
waleedlatif1 0c4a843
refactor(observability): final line-justification cleanup
waleedlatif1 1ca8d3d
fix(table): attribute import column audit to the importing user
waleedlatif1 fccadff
feat(observability): drop copilot from storage accounting
waleedlatif1 338fc5e
fix(analytics): switch workspace + org PostHog groups together
waleedlatif1 f5f8a00
fix(table): audit async export at authorization, not job completion
waleedlatif1 fd73d5e
fix(billing): never let payment_failed instrumentation skip user bloc…
waleedlatif1 2afd114
chore(observability): trim verbose inline comments to concise notes
waleedlatif1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.