Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci-non-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
matrix:
os: [macos-latest, windows-latest]
partition: ["1/8", "2/8", "3/8", "4/8", "5/8", "6/8", "7/8", "8/8"]
# macOS/Windows default per-test thread stacks are smaller than Linux's, so
# Config-heavy async test frames that build more than one Agent/ServeAgentDeps
# in the same frame (e.g. build_agent_factory_gates_trust_state_independently_per_session,
# build_combined_deps_wires_policy_gate_through_to_session_agent) can overflow the
# default stack here even though they pass in Linux's non-instrumented `test` job
# (same root cause as the coverage job's fix in ci.yml, run 29873938646).
env:
RUST_MIN_STACK: "33554432"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

## [0.22.3] - 2026-07-22
### Fixed

- `.github/workflows/ci-non-linux.yml`: the sharded macOS/Windows `Test` jobs intermittently
crashed with `fatal runtime error: stack overflow, aborting` on
`serve::agent_factory::tests::build_agent_factory_gates_trust_state_independently_per_session`
and `build_combined_deps_wires_policy_gate_through_to_session_agent` (run 29873938646) — the
same root cause already fixed for the `coverage` job (Config-heavy async test frames that
build more than one `Agent`/`ServeAgentDeps` at once overflow the smaller default per-test
stack on non-Linux runners even though they pass on Linux). Added `RUST_MIN_STACK: "33554432"`
(32 MiB) to the sharded `test` job's env, scoped to that job only.
- `src/agent_setup.rs`, `src/acp.rs`: `build_tool_setup_wires_risk_chain_and_blocks_exfil_sequence`
and `acp_session_risk_chain_state_does_not_leak_across_sessions` executed `cat /etc/passwd` to
trigger the risk chain's `SensitiveRead` classification and asserted the call succeeds — the
classifier only pattern-matches the command text (`classify()` in `risk_chain.rs`), so the
path never needed to actually exist, but a real `/etc/passwd` read failed on Windows runners
where the path is absent. Swapped to `echo /etc/passwd`, which preserves the classification
match while succeeding on every platform.
- `src/commands/durable.rs`: `durable_db_is_filename_namespaced_sibling_of_sqlite_path` asserted
a hardcoded forward-slash path against `resolve_durable_db_url`'s `Path::join`-built output,
which uses the platform's native separator — a mismatch on Windows (`\` vs `/`). The expected
value is now built via the same `Path::join` the function under test uses.
- `src/acp.rs`: `already_locked_session_log_notifies_client_proactively_without_prompt` drives
genuine `flock(2)` contention through `SessionEventLog::open_exclusive`, whose advisory lock is
a documented no-op on non-Unix targets (`AdvisoryLock`, `zeph-session`'s `log.rs`) — a second
`open_exclusive` never contends on Windows, so the test never exercised its own assertion
there. Gated `#[cfg(unix)]`, matching `zeph-session`'s own tests for the same primitive.

### Removed

- `zeph-core`: removed the `#[cfg(test)]`-only legacy sequential-dispatch harness in
Expand Down Expand Up @@ -17298,7 +17327,8 @@ let agent = Agent::new(provider, channel, &skills_prompt, executor);

[0.16.0]: https://github.com/bug-ops/zeph/compare/v0.15.3...v0.16.0

[Unreleased]: https://github.com/bug-ops/zeph/compare/v0.22.2...HEAD
[Unreleased]: https://github.com/bug-ops/zeph/compare/v0.22.3...HEAD
[0.22.3]: https://github.com/bug-ops/zeph/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/bug-ops/zeph/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/bug-ops/zeph/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/bug-ops/zeph/compare/v0.21.4...v0.22.0
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading