Skip to content

Report authorization reload failures and rejection counts reliably - #6

Open
ddidderr wants to merge 3 commits into
mainfrom
fix/server-reload-diagnostics
Open

ddidderr wants to merge 3 commits into
mainfrom
fix/server-reload-diagnostics

Conversation

@ddidderr

@ddidderr ddidderr commented Sep 6, 2026

Copy link
Copy Markdown
Owner

The authorization refresher silently retained stale access rules on directory load failures and repeated unchanged entry warnings every second. Collect reload diagnostics, emit new warnings and changed failures once, and report recovery without changing the last successful authorization snapshot on errors.

Move batched admission rejection reporting onto the refresher timer so counts appear even after traffic stops or every new connection is rejected. This addresses review findings #12 and #28.

Validation: all nine Linux CI jobs passed on d841d0a, including stable and Rust 1.88 tests, root end-to-end tests, clippy, formatting, dependency audit and workflow/MSRV checks. Added regressions for diagnostic changes, repeated errors and recovery, and reporting without another incoming connection. Local cargo fmt and git diff --check also pass.

Includes prerequisite #8; merge that first.

Repository owner deleted a comment from chatgpt-codex-connector Bot Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant