Releases: dfinity/agent-rs
Releases · dfinity/agent-rs
5ebfd87: chore(deps): bump time from 0.3.36 to 0.3.47 (#701)
* chore(deps): bump time from 0.3.36 to 0.3.47 Bumps [time](https://github.com/time-rs/time) from 0.3.36 to 0.3.47. - [Release notes](https://github.com/time-rs/time/releases) - [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md) - [Commits](https://github.com/time-rs/time/compare/v0.3.36...v0.3.47) --- updated-dependencies: - dependency-name: time dependency-version: 0.3.47 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * upgrade MSRV and rust-toolchain to 1.88.0 (required by time) * fix clippy --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Linwei Shang <linwei.shang@dfinity.org>
d40a20d: test: ignore non-deterministic dynamic routing test (#697)
* test: ignore non-deterministic dynamic routing test * ci: no fail fast in test.yml
1e67be0: chore(deps): bump bytes from 1.11.0 to 1.11.1 (#696)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/tokio-rs/bytes/releases) - [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/bytes/compare/v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: bytes dependency-version: 1.11.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f0a8bf2: test: remove flaky basic_expiry integration test (#695)
* test: remove flaky basic_expiry integration test * test: fix flaky test_route_with_one_healthy_and_one_unhealthy_seed Replace fixed sleep durations with retry loops that actively poll for expected routing state. This eliminates timing-related flakiness in CI environments where task scheduling is less predictable. Changes: - Add wait_for_routing_to_domains helper that polls until expected domains are available - Update test to use retry loops with timeouts instead of fixed sleeps - Remove timing assumptions that failed in CI due to scheduler variance Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * test: improve wait_for_routing_to_domains reliability Increase sample sizes and timeouts to account for CI environment variability: - Use 10 samples for single domain, 30 for multiple (matching other tests) - Calculate timeouts based on snapshot_update_duration (fetch + 2*check intervals) - Increase poll interval to 100ms to reduce overhead These changes align with the timing patterns used in other routing tests and provide sufficient margin for CI scheduler variance. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Revert "test: improve wait_for_routing_to_domains reliability" Revert "test: fix flaky test_route_with_one_healthy_and_one_unhealthy_seed" These commits attempted to fix the flaky test with retry logic, but the test continues to fail in CI. Reverting to consider alternative approaches. --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
18c1166
Time out `Unknown` status after 5 minutes (#693)
9336cf8: refactor: remove round-robin routing implementation (#694)
* refactor: remove round-robin routing implementation Remove the round-robin routing strategy and associated code, consolidating routing logic around the latency-based approach. * style: apply cargo fmt * fix: remove unused import LatencyRoutingSnapshot * docs: add breaking change documentation to CHANGELOG Document the removal of round-robin routing strategy and related API changes in a concise format. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * refactor: remove unused expected_repetitions parameter from test utility Remove the `expected_repetitions` parameter from `assert_routed_domains` test utility function as it's no longer enforced with latency-based routing. The function now only verifies that all expected nodes are visited at least once, which is appropriate for probabilistic routing behavior. Updated all 12 call sites to remove the unused parameter. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Linwei Shang <linwei.shang@dfinity.org> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
18e3da5
refactor: add separate method to build from checker and fetcher [NODE…
0c4b298
refactor!:Make DynamicRouteProvider build sync with explicit/lazy ini…
50830dc: ci: remove e2e tests (#691)
* ci: remove e2e tests * shellcheck scripts/
df0d986
chore: Allow certificates with timestamps in the future (#687)