Repository navigation
fix: harden staleness failover and OTLP production readiness - #43
Merged
Merged
Conversation
Normalize WAL LSN projections across drivers, bound psycopg health transactions, and sample OTLP metrics on the owning event loop. Add real-driver and SDK regression coverage. Tracker: EDADEALRUNTIME-9571 AI-assisted: true
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.
Summary
Verification
0.9.31+readiness.smoke, not a publication.d80f36be65e1121ec827333d30835f607a248732(CI run).All database fault injection used uniquely owned transient containers from the approved local Compose service. Shared PostgreSQL and production were untouched.
Compatibility and delivery
No library public API or runtime dependency additions; OpenTelemetry remains test/example-only. Existing metric names/types/units remain unchanged. Example integration now uses
observe_hasql_metricsandpython -m example.otlp.<adapter>from the checkout. Snapshot sampling and export intervals are distinct.This PR is for review/CI only: no merge, package publication or consumer deployment is included. After separate approval, validate the target consumer in stage before production. Rollback: revert this commit or pin the consumer to its prior package version.
Residual security follow-up
GitHub reports existing Dependabot alerts against
uv.lock, including development/test dependencies. The published library declares no runtime dependencies. Confirmed dependency paths for cryptography (Linux keyring), urllib3 and idna lead totwineindevelop; these existing lockfile alerts were not remediated in this behavioral-readiness PR. This is not a claim of a clean dependency security audit or of a completed consumer rollout.AI-assisted: true