Repository navigation
Restore legacy CI builds and stabilize mixed-pattern validation - #540
Conversation
|
🤖 Automated first-pass review — a human maintainer's review is still required before merge. Thanks for this, and for splitting it out of #539 — going through it separately is the right call and makes both diffs readable. Went through most of it, a few comments below. No production C++ here, so this is mostly about whether the CI repairs hold up and whether the new test oracle is actually tighter than the one it replaces.
Also, that whole sed+grep block is duplicated verbatim across the two jobs, with the snapshot timestamp hardcoded in both places — they have to move in lockstep. A tiny composite action or a script in the repo would remove the drift risk. Not blocking, just the kind of duplication that bites later.
The exact MONITOR-vs- (would file this as a comment, not a formal block) |
|
Addressed the review in e95fb1a:
No production C++ changed. Independent reviewers approve these changes; the actual macOS and full CI gates are running on this head. |
|
The actual macOS gate caught a BSD awk portability issue in the new linkage guard (the binary built successfully): slash delimiters inside negated character classes also require escaping. Fixed in 0978581. Reproduced the exact pre-fix parser error locally with One True Awk 20231127. All sixteen extracted-workflow fixtures now pass with both One True Awk and Linux mawk. The full macOS gate is rerunning; no production or integration-test code changed. |
|
Checked the follow-up questions against the implementation and current repository endpoints:
No further code change is warranted for the partition concern. The corrected-head matrix and expanded feature soak gates continue running. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0978581. Configure here.
|
Addressed the remaining readiness request in 4d7e510: both shared ZipfianBenchmarkRunner entrypoints now await the MONITOR acknowledgement before launching their benchmarks, using the existing gate. Added the explicit S-repeats-prefix/P-partitions explanation beside the density checks. The complete eight-test module passed again in standalone/cluster × plaintext/TLS (32/32). Six malformed-capture injections still yield clear failures without exceptions. Independent reviewers approve. A lost MONITOR stream is deliberately a test failure: incomplete evidence must not be accepted as a valid key-distribution result. ACK-before-work and the post-benchmark INFO marker/join establish the intended capture interval; the normal output buffer has no default limit. We have not observed snapshot rate-limit/cache failures in the repeatedly passing Bullseye/macOS cells, so broader caching/composite-action policy remains outside this repair. Full CI is rerunning on this final head. |
|
Follow-up to the latest pass:
Current-head local module validation is 32/32. Remote CI has one pre-test StatsD download connection reset awaiting a targeted retry after its workflow completes; no implementation failure has appeared. |
* Repair Bullseye packages and legacy OpenSSL CI builds * Fix mixed Zipfian test oracle for clustered workloads * Verify legacy CI linkage and guard malformed monitor captures * Use portable awk regular expressions in legacy linkage checks * Make linkage inspection failures explicit inside the loop * Wait for MONITOR readiness in both Zipfian benchmark helpers (cherry picked from commit 2552312)

The existing CI matrix fails before feature validation because Bullseye security package URLs are missing and the macOS OpenSSL 1.0.2 job mixes legacy SSL libraries with libevent's newer headers. This repairs those prerequisites while retaining every platform cell: use the signed final Bullseye security snapshot, and build SHA-256-pinned libevent 2.1.12 against the same legacy OpenSSL installation. Expiry checking is disabled only for the immutable security snapshot; signature verification remains enabled.
A separate test-only commit corrects a pre-existing cluster TLS failure. The mixed-key test assumed a fixed Pearson correlation for pooled Zipfian HSET and sequential HGETALL samples. Over absolute indices 950000–1000000, the Zipf probabilities differ by only about 5%; cluster scheduling changes the pooled histogram even when HSET samples are identical. The replacement verifies each command's key pattern, waits for MONITOR acknowledgement, and compares exact captured counts with Redis and benchmark JSON. Existing low-range Zipfian skew tests remain. No production C++ changes.
Validation:
Split from #539 following review so these independent validation repairs can be reviewed and reverted separately. Merge this prerequisite first. Both PRs target master so the existing full CI workflows run; #539 can then be rebased as needed to remove these prerequisite changes from its diff. All applicable CI checks passed on 4d7e510 (119 successful; six intentional conditional skips), including both review bots. The StatsD job passed on a targeted retry after a pre-test download connection reset. Maintainer approval is still required before merging.