-
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
Merged
+2,412
−477
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
77fc131
feat(observability): extend audit log, PostHog, and storage metering …
waleedlatif1 22b5851
fix(observability): audit file/credential egress only on success
waleedlatif1 a48954b
fix(audit): record null actor for anonymous public-share downloads
waleedlatif1 b40d531
fix(observability): audit admin exports after zip; tidy comments
waleedlatif1 821950b
fix(billing): complete the chargeback + overage financial trail
waleedlatif1 7b3e5dc
fix(storage): decrement copilot quota before deleting metadata
waleedlatif1 0f0b3f0
fix(observability): atomic copilot storage release; signup-blocked ac…
waleedlatif1 4e2fdae
fix(storage): meter copilot ingest centrally for path symmetry
waleedlatif1 d4efef7
fix(audit): skip WORKFLOW_EXPORTED when admin export is empty
waleedlatif1 c0861cb
fix(storage): settle copilot accounting before deleting the blob
waleedlatif1 bfc300c
fix(storage): decrement KB document storage atomically with deletion
waleedlatif1 c97c3b0
fix(audit): don't treat email verification as a login
waleedlatif1 c2f3e77
fix(audit): null actor FK when the user lookup throws
waleedlatif1 8701102
revert(audit): drop session/account-lifecycle auth instrumentation
waleedlatif1 a90d3d0
fix(storage): harden copilot+KB delete accounting against read errors…
waleedlatif1 7c94ed9
chore(observability): drop two unused definitions
waleedlatif1 61b9761
fix(knowledge): key hard-delete result off rows actually deleted
waleedlatif1 97f5039
fix(storage): gate copilot quota on all ingest paths; tidy inline com…
waleedlatif1 c35a8e2
fix(analytics): omit empty workspace_id on workspace-less file downloads
waleedlatif1 1eea825
fix(analytics): omit empty workspace_id/workflow_id on copilot_chat_sent
waleedlatif1 28b50df
fix(analytics): clear stale org PostHog group on personal workspaces
waleedlatif1 a7e8969
fix: address review — export audit timing, copilot delete signal, gro…
waleedlatif1 6fe71df
refactor(observability): final line-justification cleanup
waleedlatif1 82718eb
fix(table): attribute import column audit to the importing user
waleedlatif1 6e440d9
feat(observability): drop copilot from storage accounting
waleedlatif1 3e43e8a
fix(analytics): switch workspace + org PostHog groups together
waleedlatif1 59f1f44
fix(table): audit async export at authorization, not job completion
waleedlatif1 40dba91
fix(billing): never let payment_failed instrumentation skip user bloc…
waleedlatif1 26f0995
chore(observability): trim verbose inline comments to concise notes
waleedlatif1 f8c01ce
fix(billing): wrap new dispute/enterprise/subscription instrumentatio…
waleedlatif1 409676e
fix(observability): tag org-scoped audit metadata with organizationId…
waleedlatif1 59f1d11
fix(test): queue resolveBillingActorId's owner lookup in payment-fail…
waleedlatif1 e4cc7da
fix(billing): don't let a post-commit usage-limit sync failure suppre…
waleedlatif1 914e2ee
fix(billing): guard the new subscription-created instrumentation block
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.