Skip to content

Conversation

@reiase
Copy link
Contributor

@reiase reiase commented Jan 10, 2026

Overview:

Details:

Where should the reviewer start?

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

- Added TLS configuration with passphrase-derived certificates for secure communication between nodes.
- Enhanced `Http2Config` and `Http2Client` to support TLS connections, including automatic mutual authentication.
- Introduced `TlsConfig` module for managing TLS settings and certificate generation.
- Updated `SystemConfig` to enable TLS through a new method, allowing users to specify a passphrase.
- Refactored HTTP/2 transport to handle both TLS and non-TLS connections seamlessly.
- Added tests to validate TLS functionality, ensuring secure communication works as intended.
- Introduced a new `supervision` module to define fault tolerance strategies for actors, including `RestartPolicy` and `BackoffStrategy`.
- Enhanced `SpawnOptions` to include supervision specifications, allowing actors to be configured with restart policies and backoff strategies.
- Updated `ActorSystem` to manage actor restarts based on supervision specifications, improving resilience against failures.
- Added tests to validate the behavior of supervision strategies, ensuring actors can be restarted according to defined policies.
- Refactored existing tests to accommodate changes in actor behavior with supervision enabled.
…tion

- Simplified response handling in the actor instance by removing unnecessary variable assignments in the `run_actor_instance` function.
- Cleaned up whitespace in the security guide and its Chinese translation to improve readability and maintain consistency in code examples.
@reiase reiase merged commit 4b2919d into main Jan 10, 2026
12 checks passed
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2026

Codecov Report

❌ Patch coverage is 75.80952% with 127 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/pulsing-actor/src/transport/http2/client.rs 5.55% 51 Missing ⚠️
crates/pulsing-actor/src/system.rs 81.45% 23 Missing ⚠️
python/pulsing/actor/remote.py 45.16% 17 Missing ⚠️
crates/pulsing-actor/src/supervision.rs 80.00% 12 Missing ⚠️
crates/pulsing-actor/src/transport/http2/tls.rs 94.20% 12 Missing ⚠️
crates/pulsing-actor/src/transport/http2/config.rs 53.33% 7 Missing ⚠️
crates/pulsing-actor/src/transport/http2/pool.rs 82.35% 3 Missing ⚠️
crates/pulsing-actor/src/transport/http2/server.rs 88.23% 2 Missing ⚠️
Files with missing lines Coverage Δ
crates/pulsing-actor/src/transport/http2/mod.rs 85.51% <ø> (ø)
crates/pulsing-actor/src/transport/http2/server.rs 68.32% <88.23%> (+5.31%) ⬆️
crates/pulsing-actor/src/transport/http2/pool.rs 85.40% <82.35%> (-0.22%) ⬇️
crates/pulsing-actor/src/transport/http2/config.rs 77.72% <53.33%> (-2.06%) ⬇️
crates/pulsing-actor/src/supervision.rs 80.00% <80.00%> (ø)
crates/pulsing-actor/src/transport/http2/tls.rs 94.20% <94.20%> (ø)
python/pulsing/actor/remote.py 54.02% <45.16%> (-2.06%) ⬇️
crates/pulsing-actor/src/system.rs 71.92% <81.45%> (+2.47%) ⬆️
crates/pulsing-actor/src/transport/http2/client.rs 59.55% <5.55%> (-6.66%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants