Repository navigation
fix(e2e): require observed latency and consolidate assertion reports - #939
Gajesh2007 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a1fab6170
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
A configured latency segment could pass without any observations when its stats existed with
Count == 0, and nil stats panicked. Require a positive sample count before evaluating bounds; real zero-duration observations remain valid. An ordered threshold table replaces four repeated branches while preserving inclusive limits, labels, messages and order.Consolidate PostgreSQL assertion scan/report handling into ordered checks. All six SQL strings and their execution order remain byte-identical, and query failures remain sticky. The two existing fee-count/net-charge observations still report numbers rather than enforce equality; the other four checks still require zero violations. No production billing or query policy changes.
Before:
After:
Validation:
go test -race ./e2e/testbed/assert -count=1passes 9 functions / 18 including subtests in 1.485s. The nil/zero/negative-count cases failed on the original source before the fix. Boundary, order and report strings are pinned; stub rows cover every SQL result policy, scan errors, and later success after failure. A static comparison verified exact SQL bytes/order. Docs lint passes all 278 documents; signed commits andgit diff --checkpass.These are CPU tests with synthetic samples and stub query rows. They do not execute PostgreSQL, a provider, Swift, or a model, and do not qualify model speed or live ledger integrity.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.