Repository navigation
feat(accounts): add audit storage interface and journal delivery - #1106
Open
crisfiorini-oss wants to merge 4 commits into
Open
crisfiorini-oss wants to merge 4 commits into
crisfiorini-oss wants to merge 4 commits into
Conversation
crisfiorini-oss
force-pushed
the
feat/audit-storage-switch
branch
from
October 13, 2026 14:48
a48c8cb to
74d7bb0
Compare
crisfiorini-oss
marked this pull request as ready for review
October 13, 2026 15:18
crisfiorini-oss
force-pushed
the
feat/audit-storage-switch
branch
3 times, most recently
from
October 15, 2026 15:57
4e19aad to
b640a5f
Compare
crisfiorini-oss
force-pushed
the
feat/audit-storage-switch
branch
5 times, most recently
from
October 26, 2026 18:45
757fa74 to
61484a8
Compare
crisfiorini-oss
marked this pull request as draft
October 27, 2026 16:11
crisfiorini-oss
force-pushed
the
feat/audit-storage-switch
branch
from
October 27, 2026 16:11
80e238c to
21c1213
Compare
crisfiorini-oss
force-pushed
the
feat/audit-storage-switch
branch
from
October 27, 2026 16:24
21c1213 to
13cf753
Compare
crisfiorini-oss
marked this pull request as ready for review
October 27, 2026 18:07
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Make audit storage a startup choice: postgres preserves current behavior; warehouse records full audit entries in the existing Postgres journal for delivery through AuditStorage. This PR supplies the storage interface, journal read/delivery foundation, and receipt-proven journal retention.
Warehouse startup remains refused until the Warehouse AuditStorage and admin page can use a released service-warehouse Scan API. This PR does not claim the complete warehouse feature.
Behavior
Fix or hack
Fixes at the owners of audit storage, journal publication, authorization, transport and receipt retention. Reuse the existing journal and SDK receipts; add no ledger, outbox, host-to-runtime call or delivery identity.
Build or reuse
Compiler and generated output
Preserve current main's released service-go-grpc 0.1.58, Go 1.27.3 service/CI floors and patched builder/runtime images. The rebase preserves sdk-go 0.4.1 and current main's OAuth API-source UI, module-package metadata and patched frontend dependencies. Required owner-generated outputs remain committed; dedicated generated directories are marked while authored proto, templates, configuration and locks remain visible.
Validation
Rebased onto upstream main
df044ce68; headc1d3b1be0510377f6e909866cd2c82d6a8418c61. Preserve current main's shared Authority implementation and published migrations through 60. Only the unmerged audit migrations move to 61–63; replay assertions follow those versions.MIGRATION_CONSENT_REPLAY=1; these are real replay runs, not the default skipped invocation. Migration pairing and reference checks PASS.purebuild tag. Naming, migration pairing and whitespace checks PASS. Scoped audit business, adapter and authorization tests PASS (0.302s, 2.794s and 0.303s); full suites run in GitHub CI.Remaining / not run
Related: codefly-dev/saas-sdk-go#40.