Skip to content

feat(admin): add audit logs and reliable appliance upgrades - #47

Merged
RentnerKev merged 3 commits into
mainfrom
feat/admin-audit-log
Sep 12, 2026
Merged

RentnerKev merged 3 commits into
mainfrom
feat/admin-audit-log

Conversation

@RentnerKev

@RentnerKev RentnerKev commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Add a permission-controlled administrative audit log and improve appliance upgrade and recovery reliability. Audit events use bounded metadata, transactional recording, pagination and retention limits. Database startup serializes migrations and authorization setup on one reserved connection. Backup restore replaces application schemas atomically and preserves the previous database on SQL failure.

Closes #33. Closes #34.

Validation includes PostgreSQL audit/rollback/retention tests and an appliance smoke using the published Alpha 1 image: startup, same-volume upgrade, repeated startup, fresh backup restore and an intentional constraint failure that must roll back and restore service. Required checks will run on the final main-based PR head before merge.

@coderabbitai

coderabbitai Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 96edd34d-2e7d-4e64-bea6-41e4dd68aadf


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from feat/proxy-access-logs to feat/ip-access-rules September 12, 2026 06:32
@RentnerKev RentnerKev changed the title feat(admin): add bounded administrative audit log feat(admin): add audit logs and reliable appliance upgrades Sep 12, 2026
@github-actions

github-actions Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

🔍 Similar pull requests

This pull request may overlap with existing work. Please take a look at these related items.

Match Pull request Status File overlap Shared linked issue
Medium #48 – fix(upgrade): serialize migrations and verify Alpha 1 recovery MERGED 17% #34

This is an automated suggestion. No pull request has been closed or merged automatically.

@github-actions github-actions Bot added the related Related work that is not a confirmed duplicate. label Sep 12, 2026
Base automatically changed from feat/ip-access-rules to main September 12, 2026 06:52
RentnerKev and others added 3 commits September 12, 2026 08:53
* fix(upgrade): serialize migrations and verify Alpha 1 recovery

* test(upgrade): avoid search-path-dependent relation output

* fix(backup): restore older schemas atomically

* fix(restore): preserve temporary file ownership while writing
@github-actions github-actions Bot added documentation Improvements or additions to documentation area: auth Authentication, accounts, sessions, passkeys, and access control. area: proxy Proxy host configuration and request forwarding. area: runtime Caddy and privileged controller runtime behavior. area: certificates Certificates, ACME, trusted CAs, and TLS material. area: database Database schema, migrations, and persistence. area: ui Web interface components, routes, styling, and localization. area: ci Continuous integration and GitHub automation. labels Sep 12, 2026
@RentnerKev
RentnerKev merged commit ff6c02f into main Sep 12, 2026
19 checks passed
@RentnerKev
RentnerKev deleted the feat/admin-audit-log branch September 12, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: auth Authentication, accounts, sessions, passkeys, and access control. area: certificates Certificates, ACME, trusted CAs, and TLS material. area: ci Continuous integration and GitHub automation. area: database Database schema, migrations, and persistence. area: proxy Proxy host configuration and request forwarding. area: runtime Caddy and privileged controller runtime behavior. area: ui Web interface components, routes, styling, and localization. documentation Improvements or additions to documentation related Related work that is not a confirmed duplicate.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: improve upgrade and migration reliability feat: add administrative audit log

1 participant