-
-
Notifications
You must be signed in to change notification settings - Fork 8
fix(audit): retain batch on transient DB error and retry on next tick #272
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
appleboy
wants to merge
15
commits into
main
Choose a base branch
from
fix/audit-retry-on-transient-db-error
base: main
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
15 commits
Select commit
Hold shift + click to select a range
9251b06
fix(audit): retain batch on transient DB error and retry on next tick
appleboy 4bdfa9c
fix(audit): report shutdown failure when final flush cannot persist r…
appleboy 8a3435c
fix(audit): honour shutdown timeout on final flush; drop permanently-…
appleboy 631ddd3
fix(audit): skip size-triggered flush while in retry state
appleboy 5c079e4
fix(audit): enforce maxRetryBuffer cap in addToBatch during retry state
appleboy 95c2cfd
fix(audit): reset retry count on cap-eviction; report dropped records…
appleboy 6f5c769
fix(audit): remove maxFlushRetries drop; rely solely on maxRetryBuffe…
appleboy faeded8
fix(audit): keep retry state after cap-eviction; add stale-tick recor…
appleboy 7979388
fix(audit): set lastFlushDropped on all drop paths in flushBatchUnsafe
appleboy 6114217
fix(audit): remove staleTicks age-based eviction
appleboy c79513d
fix(audit): clamp ResourceName and Action to varchar(255) in buildAud…
appleboy 034bca7
fix(audit): validate AuditDetails JSON serializability in buildAuditLog
appleboy 7c78c58
fix(audit): truncate ActorUserID to varchar(36) in buildAuditLog
appleboy 6e976b8
revert(audit): remove ActorUserID truncation
appleboy dbffc77
fix(audit): truncate ActorUserID to varchar(36) with logged warning
appleboy 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
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.