Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #282 +/- ##
==========================================
+ Coverage 94.76% 94.95% +0.18%
==========================================
Files 84 84
Lines 13168 13168
Branches 805 805
==========================================
+ Hits 12479 12504 +25
+ Misses 623 598 -25
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
Problem
The Rust guide describes application-owned budgets, but needs executable recipes and checks of their limits. Production-feature behavior and real Redis recovery also need coverage outside the main all-feature test workspace. No separate issue exists; this change follows a review of the public Rust guide and consumer/transport tests.
Change
Change types: Docs + Tooling. Keep the existing API and behavior contracts, and add grouped application and validation coverage:
test-util, including truncation, serialization failures and panic containment.No
rust/src, portable model, replay driver or toolchain file changes. No new public API or behavior contract requires a design record. The dependency updates affect runtime builds; the resource policies remain consumer-owned examples, not automatic service protections.Ending a wait does not prove native or server cancellation. Entry count and serialized size are not process-memory bounds. Codec validation follows decompression. CPU counters cover offloaded work, not all CPU execution. No live metric-delivery, capacity, high-availability or leak-freedom claim is made.
Ports
Validation
Head:
279b57a2e2f95c9dd5e94359fbbbb137166381c2Results below ran on this head's inputs. Passing results are reused where the relevant source, manifests, locks and toolchain are unchanged. Earlier-head hosted CI is not reused.
make check-rust: passed on the patched dependency graph; 223 passed, zero failed, eight expected ignored. Formatting, both Clippy modes and 1,795 conformance vectors passed. Its library, recipe, scale-test and dependency inputs are unchanged at this head.cargo test --locked --all-features --manifest-path rust/Cargo.toml --test docs_examples -- --include-ignored: 16 passed with an owned disposable Redis andDOCS_REDIS_URL. Recipe and library inputs are unchanged.rust/tests/production_consumer, the locked feature tree, formatting, all-target Clippy with warnings denied andcargo run --lockedpassed. All ten assertion groups passed. Forcingdialcache/test-utilfailed at the expected absent-versus-JSON-null assertion; the restored production run passed.cargo test --locked --manifest-path rust/tests/redis_transport_recovery/Cargo.toml --test transport -- --test-threads=1passed all eight cases after the startup repair.cleanup_controlsand aDIALCACHE_REDIS_LOAD_SECONDS=10mixed-load smoke passed. All admitted calls terminated and tracked underlying work drained. Owned Redis processes were reaped and fixture directories removed.SLAVEOFandCONFIG REWRITE, a changed role and a changed configuration file. All bypasses were restored. A controlled replica delay reproduced the startup timeout before the repair and recovered afterward without increasing the command timeout.make auditpassed at this head.make docsandcargo package --locked --manifest-path rust/Cargo.toml --all-featurespassed on unchanged relevant inputs. The isolated transport fixture is not part of that package.cargo-audit 0.23.0checks of all three lock graphs found zero vulnerability or unsound matches, without ignores or target/severity filters. RustSec database:4ef2df8e806a65e2f1ecc14f56f51249062b23d6. The existingyoke-derive 0.8.3yank warning remains in the root and transport graphs. This is not a repository-wide security clearance.Local tools: Rust 1.98.1, Node 24.22.3, pnpm 10.33.0, Go 1.27.1, Redis 8.0.5 and OpenSSL 3.5.5.
PR CI is pending at publication for this head. Keep the pull request in draft. The required
testcheck, Rust job,fixtures-checkand all four differential shards must pass on the new head; earlier successful runs do not establish that result.Not run locally: the five Docker-backed integration cases, the ignored doctest, and the hosted fixture/differential matrix. The CI Rust job runs the Redis/Valkey integration matrix. Full formal replay and mutation campaigns are not required by this diff's unchanged model/toolchain/driver inputs. Longer Redis observations and validation with separate runtime fixes are not claimed as results for this standalone head.
Follow-ups
None required for this change. Consumers must choose their own limits, configure native client budgets and verify actual task lifetime and telemetry delivery. Optional longer observations do not replace workload-specific validation.