refactor(tracedecay): keep bench and test runtimes off lib - #1176
Conversation
Default library builds no longer compile benchmark harnesses or HostAdmissionTestRuntimeV1. The shipped tracedecay bench command stays on a bench feature selected by the CLI production build.
…plan-reopened' into grok/w2-bench-surface
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 189cf9fb3e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| pub mod host_admission; | ||
| pub mod test_support; | ||
| #[cfg(any(test, feature = "test-helpers"))] | ||
| pub use test_support::host_admission; |
There was a problem hiding this comment.
Migrate fixture callers before retaining the old module path
When test-helpers is enabled, this re-export leaves both tracedecay::test_support::host_admission and the legacy tracedecay::host_admission path public, and the repository's fixture callers still use the latter, so the move creates a temporary compatibility façade rather than completing the cutover. Migrate those callers in this change and remove the alias; repository guidance requires caller migrations and compatibility-façade deletion in one delivery slice.
AGENTS.md reference: AGENTS.md:L130-L137
Useful? React with 👍 / 👎.
eb2c998
into
codex/tracedecay-total-redesign-plan-reopened
Performance Comparison
|
Relocate benchmark and fixture sources, remove the host-admission compatibility alias, and update all callers. Query benchmarking is opt-in for library builds and selected by the production CLI; the other fixtures retain their existing feature gates.
Validated the corrected head against the integrated #707 floor with strict all-target Clippy for tracedecay and tracedecay-cli, including test-transport (cc-12921; zero errors or warnings).