Skip to content

Harden audit publishing and client error delivery - #11

Merged
albertovincenzi merged 2 commits into
mainfrom
fix/audit-error-monitoring-hardening
Oct 16, 2026
Merged

albertovincenzi merged 2 commits into
mainfrom
fix/audit-error-monitoring-hardening

Conversation

@albertovincenzi

@albertovincenzi albertovincenzi commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Audit publishers now have a delivery time budget, stop a batch on transient service failures, and retain envelopes through missing credentials or HTTP 401/403/404. New status and single-event retry commands expose overdue/failed outbox rows without reconstructing payloads. An additive migration indexes backlog queries.

The JS client enforces flush deadlines even when transport abort is ignored, ignores late replies, cancels on close, and exposes payload-free drop/retry diagnostics. React Native can require explicit hook coverage, cleans up failed installation, and starts a best-effort send before the previous fatal-error handler runs. These changes do not add native crash capture or certify a specific mobile runtime.

Validation: 131 JS tests, dedicated frontend typecheck and CJS/ESM/declaration build; 150 PHP unit tests / 369 assertions (8 existing PHPUnit notices); cross-repository HTTP/Scylla/source-map check; secret scan. Legacy handle/context tests now use the null transport instead of opening localhost HTTP requests during unit-test shutdown. New PR jobs run JS and PHP unit suites using allowed GitHub actions and the runner’s PHP 8.3. Patched JS development dependencies; npm audit reports zero known vulnerabilities in the lockfile.

Rollout: publish/apply the additional outbox index migration and schedule traceflow:audit-status alongside the publisher. Hook coverage and composed source maps still require Android/iOS release-build validation; application audit coverage must be checked before removing the previous activity log. No application consumers were changed.

@albertovincenzi
albertovincenzi marked this pull request as ready for review October 16, 2026 19:50
@albertovincenzi
albertovincenzi merged commit 46272cd into main Oct 16, 2026
5 checks passed
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