mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-07 03:00:29 +00:00
P2-11: Assert RunFilesMetrics::emit writes ONLY the allowlisted field set (run_id, file_count, bytes_total, duration_ms, truncated, binary_count, sensitive_count, symlink_count, submodule_count, message). Uses a tracing-subscriber Layer with a Visit impl that captures every field name emitted under the run_files target; fails the test if any non-allowlisted field appears. Catches future refactors that might add paths/contents to the log line. P2-13: Assert that when the first coalesce caller is cancelled mid- materialization, the spawned task continues to completion and a subsequent caller still receives the shared result. Proves the tokio::spawn-based design survives request dropout without re-materializing the diff. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||