Skip to content

chore: Prune devtools and tests/infra by evidence; make useful helpers… - #4631

Merged
Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-sh657
Sep 3, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-sh657

Conversation

@Sinity

@Sinity Sinity commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

Prune dead devtools benchmark and verification routes and remove orphaned test infrastructure. Retain bench pipeline, bench slo, bench memory, and the ingest-throughput workload adapter because current production routes still construct or declare them.

Problem

The removed modules had no production callers or were reachable only through catalog entries and tests. Their documentation and generated command inventory kept retired routes visible.

Solution

File or route Verdict Reason
devtools/cli_interaction_profile.py, concurrency_profile.py, daemon_performance_profile.py Delete Catalog-only benchmark entrypoints with no production constructor or adapter declaration.
devtools/ingest_amplification_probe.py Delete Catalog-only probe with no remaining callers.
devtools/pre_push_gate.py Delete The pre-push hook now invokes the supported quick verifier directly.
tests/infra/chaos_sources.py, state_machines.py Delete No importers.
Dedicated tests for deleted modules Delete Tests of retired routes.
Benchmark and concurrency docs Delete/update Remove references to retired commands and stale documentation entries.

The current tree retains verify_distribution_surface.py, verify_js_tests.py, index_snapshot.py, manifest_models.py, cli_boundary.py, verification_authority.py, and verification_contracts.py because current gates, protected verify.py, lineage validation, or scenario tests still use them.

Verification

  • Focused managed pytest runs: 55 tests passed across tasks 438 and 439.
  • nix develop --command devtools verify --quick: exit 0; all 12 quick gates passed.
  • nix develop --command devtools render all --check: exit 0; all generated surfaces reported in sync.
  • python -m compileall -q devtools tests/infra tests/unit/devtools tests/unit/storage: exit 0.
  • git diff --check: exit 0.

Lines before/after: devtools/ Python 31,867 to 31,014; tests/infra/ Python 28,657 to 28,289. The counts include all tracked Python files in each tree and reflect this checkout rather than the stale dispatch estimates.

Residual risk

The removed benchmark routes no longer have a dedicated command. Ingest throughput and query-memory remain available through their existing workload and scenario routes. The protected verification abstractions and live lineage snapshot helper remain until their current consumers are retired in a separate change.

@Sinity
Sinity enabled auto-merge (squash) September 3, 2026 21:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T21:10:47.027565Z ac57f49 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: effe9bf5-df30-44ce-a9f7-df1262b87ed3


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac57f49f34

ℹ️ 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".

Comment thread .githooks/pre-push Resolved
Comment thread devtools/command_catalog.py Resolved
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at c950478):

  • P2 .githooks/pre-push:26: Stale: The hook header no longer promises exact-head receipt reuse. It declares an early local run of the static quick gate on the pushed HEAD (.githooks/pre-push:2-8). (checked at c950478)

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 5d56c3a):

Resolving every thread listed; confirmed defects are fixed under the named bead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant