Repository navigation
chore: remove leftover junk and fix stale tests - #3132
Conversation
- Drop the root dogfood-journey.md, a one-off 2026-09-15 run report with machine-local paths that nothing references. - Drop the .changeset/ notes: the repo has no changesets config or tooling and releases are cut by release-please from conventional commits, so nothing ever consumes them. - Remove the stale "retrigger" comment lines from the Hawk workflow and the reference to a weekly schedule it does not have. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
broker_group_commit_test.rs was never declared as a module, so its three broker-level group-commit tests never compiled or ran. Declare it beside the other crate test modules and bring its expectations in line with current behavior: directory syncs happen on Unix only, and reopening the spool publishes once to clear the reconciled append intent, so the second batch is measured with a fresh barrier counter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
DiffContextResultV1 now requires `test_gate`, so the SDK decoder rejected the fixture and the freshness-injection test failed with "value.test_gate is required". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
revise_host_record skipped any write whose byte_offset and file_id matched the current record, and callers default an absent record to zeros. An empty home's Kimi and Pi discovery frontiers and zero-unit coverage rows therefore never landed, so status reported those providers as unobserved forever. Every write stores mtime >= 1, so treat mtime 0 as the absent record and publish it once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
diff_context now always carries the test-gate verdict and hotspot rows carry 90-day churn, so the exact-payload assertions failed on both fields. The fixture project is one commit, so each row's churn is 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
revise_host_record took the defaulted record and recovered "absent" from mtime == 0. Callers already hold get_parse_offset's Option, so pass it through: an absent record is written, an unchanged stored one is not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
The golden Pi fixture gained a contentless user message, which capture refuses, so the malformed-file test's fixture has nine lines and session_info spans the last one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
The hotspots markdown rendering lists churn, and an empty diff_context reports a passing test gate, like the absent-file case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
The server answers an unknown tool with an isError tool result carrying the unknown_tool problem, as the MCP suites pin, so the Inspector CLI exits zero and the old nonzero-exit check always failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo
…anup-dead-code-4tjb49
|
|
Test Linux was cancelled when it hit its 240-minute job timeout. This PR didn't cause that. Master's own Bazel Linux lane does the same: dispatch run 37424361757 on the merged #3124 head also timed out at 240 minutes. That same run showed failures across the workspace that no file in this PR touches:
The fix is #3133 ( Clippy has been queued since 08:52 behind the repo-wide Generated by Claude Code |
…anup-dead-code-4tjb49
Summary
dogfood-journey.md, stale.changeset/*.mdentries and Hawk workflow retrigger notes.The rest of this branch (Kimi/Pi host-record publication, the Pi fixture line count, graph-analysis expectations) reached master through #3133. The diff against master is now these 12 files.
Changes
.changeset/*.mdentries whose changes already shipped.dogfood-journey.md, a one-off session journal..github/workflows/hawk.yml. Drops the stale retrigger notes.crates/tracedecay-host-admission.broker_group_commit_test.rswas never compiled; it is now wired in through#[path].scripts/mcp-conformance-smoke.sh. An unknown tool returns anisErrortool result carrying theunknown_toolproblem, which the MCP suites already pin. The Inspector CLI exits 0 for that result, so the old "exits nonzero" check could never pass. The smoke now asserts the typed refusal.Test plan
//crates/tracedecay-host-admission:unit_testpasses 97/97, including the 3 broker group-commit tests (local Bazel, Linux)scripts/mcp-conformance-smoke.shpasses all checksscripts/bazel/gen_builds.py --check)Checklist
CHANGELOG.mdupdated (under[Unreleased]if no version bump).envfiles included🤖 Generated with Claude Code
https://claude.ai/code/session_01V8Xg2pQQcTiyVB8ndJc5oo