Skip to content

chore: remove unused integration/ test suite - #450

Merged
zzylol merged 1 commit into
mainfrom
chore/remove-integration
May 26, 2026
Merged

zzylol merged 1 commit into
mainfrom
chore/remove-integration

Conversation

@zzylol

@zzylol zzylol commented May 26, 2026

Copy link
Copy Markdown
Contributor

What

Removes the entire integration/ test suite (e2e cold/warm/kafka + the three parity gates) and its only functional dependency.

Why — it had rotted into the worst state (half-maintained, protecting nothing)

  • No CI ran it. The repo has no .github / Actions, so nothing exercised these tests automatically.
  • parity/runtime-impl no longer compiled against current APIs: ddsketchprocessor.Config dropped MetricSuffix and the patched pmetric sketch datapoints dropped Count, but the parity harness still referenced them → build failed.
  • The Go↔Rust cross-language gate was silently skipping. After test(integration): TSDB cold-path rewrite + warm-path e2e + parity unify #367 the goldens moved to integration/parity/runtime-impl/golden/, but asap-precompute-rs/tests/cross_language_parity.rs still looks under integration/parity/golden/, so load_golden returned None and every case returned early.

What's removed

  • integration/ (whole dir — 55 files: e2e-cold-path, e2e-kafka-cold-path, e2e-warm-path, parity/{runtime-impl,codec,agent-binary}).
  • asap-precompute-rs/tests/cross_language_parity.rs — existed solely to load integration/parity/.../golden/*.bin.
  • .gitignore — the now-dead integration/parity/golden/*.bin rule.

Safety

integration/ subdirs are standalone Go modules: there is no go.work and no Go file imports them, so removal doesn't affect any build. The deleted Rust test was an auto-discovered, self-contained integration target (no [[test]] entry, no shared module).

Non-breaking stale references remain in design docs (docs/*.md) and a few code comments (asap-precompute-go/sketches, countsketchprocessor, opentelemetry-go-patch); left out of this PR to keep it focused — easy follow-up if wanted.

🤖 Generated with Claude Code

The integration/ suite (e2e cold/warm/kafka + three parity gates) had
rotted into the worst state — half-maintained, protecting nothing:

- No CI ran it (the repo has no .github / GitHub Actions).
- parity/runtime-impl no longer compiled against current APIs
  (ddsketchprocessor.Config dropped MetricSuffix; the patched pmetric
  sketch datapoints dropped Count) — build failed.
- The Go<->Rust cross-language gate was silently skipping: after #367 the
  goldens moved to integration/parity/runtime-impl/golden/, but the Rust
  test still looks under integration/parity/golden/, so load_golden
  returned None and every case returned early.

Remove the suite plus its only functional dependency:
- asap-precompute-rs/tests/cross_language_parity.rs — existed solely to
  load integration/parity/.../golden/*.bin (already a no-op skip).
- .gitignore — drop the now-dead integration/parity/golden/*.bin rule.

integration/ subdirs are standalone modules (no go.work, no Go importer),
so removal is build-safe. Stale doc/comment references (docs/*.md,
asap-precompute-go/sketches, countsketchprocessor, opentelemetry-go-patch)
are non-breaking and left for a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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