You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bring the Rust in-process transport in line with the .NET and TypeScript SDKs.
Product:
- Transport::InProcess passes no per-client env to the FFI worker; the worker
inherits this host process's ambient environment. Per-client options that lower
to env vars (env/env_remove, telemetry, github_token, base_directory) are not
honored in-process, matching .NET/TS; documented as experimental, pointing at
#1934. Removes the now-unused build_ffi_environment.
E2E harness:
- InProcessEnvGuard mirrors each test's environment onto the real process
environment (which the in-process worker inherits) and restores it on drop,
plus disables ambient HMAC so host-side auth picks the token the snapshots
expect. Forces serial execution in-process (concurrency 1) so the process-wide
env mutation is coherent; stdio/tcp are unchanged.
- skip_inprocess guard skips tests for features the in-process transport can't
support; applied to the telemetry file-export test (telemetry lowers to env
vars) and the unknown-checkpoint test (readCheckpoint decodes the id as u32
natively in-process and rejects the i64::MAX sentinel).
CI:
- The in-process job now runs the whole E2E suite over the in-process transport
(serially) instead of only the smoke test, mirroring the .NET/TS inprocess cell.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments