Commit 746ae4b
chore(release): anvil-ssh 0.6.0 — M15 partial (tracing infra + FR-66 instrumentation) (#21)
Bumps anvil-ssh from 0.5.0 to 0.6.0 to publish the M15.1 + M15.2
work as a single crates.io release. M15 is a multi-PR milestone
(PRD §5.8.4 — `-vv`/`-vvv`/JSONL debug, FR-65..FR-69); this release
ships the library-side scaffold (categories + `tracing-log` bridge
+ FR-66 instrumentation across session/auth/resolver/proxy
modules) and the Gitway-side flag wiring (FR-65, FR-67, FR-68,
FR-69) lands in M15.4 + M15.5 against this 0.6.0.
Highlights (full text in CHANGELOG.md):
- new public module `anvil_ssh::log` with category constants
(CAT_KEX, CAT_AUTH, CAT_CHANNEL, CAT_CONFIG) and the
`install_log_bridge()` entry point that wraps
`tracing_log::LogTracer::init()`;
- structured `tracing::*!` events across the host-key /
authentication / ssh_config-resolution / proxy-jump paths.
Every applied `~/.ssh/config` directive emits a
`(file, line, directive, value)` event under CAT_CONFIG;
every check_server_key outcome emits a same-shaped
`{host, fp, verdict, ...}` event under CAT_KEX/CAT_AUTH so
JSONL consumers can group/count;
- `log::*!` call sites preserved verbatim — the bridge funnels
them through the consumer's tracing subscriber so M15.4 sees
one event stream regardless of macro flavor.
Anvil does NOT install a subscriber — that policy belongs to
the consumer (Gitway CLI in M15.4). The bridge stays in place
permanently for russh and other reverse-deps that stay on `log`.
Public-API additions only. Existing `log::*!` consumers keep
working unchanged.
Lib tests: 207 passed, 5 ignored (pre-existing).
Integration tests: 4 (test_known_hosts_cert.rs).
Plan: M15.3 of anvil-gitway-milestone-plan.md. Stacked after
M15.1 (#19), M15.2 (#20), both merged to main.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3818e3d commit 746ae4b
3 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
5 | 24 | | |
6 | 25 | | |
7 | 26 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments