feat: enterprise hardening (bug fixes + observability, server, connectors scale, statistical checks, contracts, CI exporters) - #163
Merged
Conversation
…tors scale, statistical checks, contracts, CI exporters)
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.
Enterprise hardening: bug fixes + 4 feature clusters
Builds on top of current
main(rebased). Full CI gate green locally in a deps-missing env matching CI (uv sync --all-extras --dev): pytest 619 passed / 39 skipped, ruff check, ruff format --check, andmypy provero-core/src/provero/all clean.Bug fixes (hardening of error paths)
Fixes a family of unhandled-exception and silent-correctness bugs, each with a regression test:
AlertConfigvalidates URL and trigger.threshold == 0and non-finite inputs (noZeroDivisionError, noinf-poisoned ranges).INTERVALcolumns no longer misclassified as numeric._safe_aliasis injective (noa.bvsa__dot__bcollision);row_count/NULL semantics aligned across optimized and standalone paths.Feature clusters
observability/): engine hook API, OpenTelemetry spans, Prometheus/metrics, JSON audit log, secret redaction. CLI flags--audit-log/--otel/--prometheus. Optionalobservabilityextra.server/): FastAPI REST API (/health /ready /suites /suites/{name}/run /runs /metrics), constant-time API-key auth, threading scheduler,provero serve. Optionalserverextra.distribution,cardinality,drift/PSI,cross_table_count, now 20 total), contract versioning + breaking-change detection + severity policies, and--format sarif|junitexporters for CI.Classifier bumped Pre-Alpha to Beta. Optional deps are tagged with
# type: ignore[import-not-found]per the existing convention somypystays clean without the extras installed.