Skip to content

repo: retire zero-caller dead code, vendored SparkCache & frozen mega-patches - #415

Merged
FujitsuPolycom merged 3 commits into
mainfrom
cleanup/retire-dead-code-and-vendored-archive
Nov 30, 2026
Merged

FujitsuPolycom merged 3 commits into
mainfrom
cleanup/retire-dead-code-and-vendored-archive

Conversation

@FujitsuPolycom

Copy link
Copy Markdown
Owner

Why

Follow-up to PR #409's initial repo diet (73.6 MB → 36.3 MB). An AST/caller cut-safety audit identified another ~10 MB / ~240K LOC of zero-caller fossils, vendored SparkCache copies, frozen mega-patches, and unlinked historical archives that can be retired cleanly without removing any active runtime, profile, dashboard, or spark_transport/nccl/ capability.

What Changed

  • PR-1 (1f0b0caa) — Zero-caller dead code, mirrors, and redirect stubs:
    • Removed verified zero-caller legacy scripts, redirect stubs, and orphaned fixtures while preserving all active runtime callers (scripts/deploy_*.py, scripts/compose_builder/, integrations/vllm/spark_roce_gid.py, performance/enhancements.json, spark_transport/sircl/, spark_transport/nccl/, runtime/common/compose.py, runtime/host/dashboard*, and active runtime/releases/ parent chains).
  • PR-2 (c78c39dc) — Frozen mega-patches, vendored SparkCache, and unlinked archives:
    • Retired integrations/sparkcache/4a17f1f5198e/, runtime/sparkring/source_image/ frozen mega-patches, runtime/sparkring/jovian-r33/, stale scripts/config/*.example.* / upgrade scripts, and unlinked performance archives.
    • Preserved every live runtime dependency caught by caller verification (cycle-4.json, ds41_row_shard, qwen4_prefill, tool_choice_contract, acceptance/validation harnesses, the 12-link dev-* release parent chain, locked Markdown targets, and linked performance records).
    • Updated THIRD_PARTY_NOTICES.md, docs, and CI references cleanly; normalized line endings to LF.
  • Net reduction: -786 tracked files (2,854 → 2,068), -9.95 MB (36.95 MB → 27.00 MB, -63% cumulative since pre-diet 73.6 MB), -240K net LOC (+316 / -240,459).

Verification

  • python scripts/check_markdown_links.py .: 2,856 repo-relative links checked, 0 errors.
  • python scripts/check_release_safety.py .: 0 findings.
  • python scripts/check_repository_layout.py: validated 50 profiles, 8 exports, 70 enhancements, 22 locked profile assets, 663 Python sources, 24 builders.
  • ruff check .: all checks passed.
  • Local pytest --collect-only (8,805 tests, 0 errors) and core suites (567 core + 57 sircl + 503 images/launcher/recipe tests) passed cleanly.
  • Pre-diet full repo history remains preserved in archive/pre-flare-v1.

Risks / Follow-Ups

  • Full Linux GitHub Actions CI (tests, libsircl C library, SIRCL ring sessions, Install Builder, generated Compose equivalence, shellcheck, lint, docs links, profile and repository contracts, release safety) runs on this PR to validate all cross-module contracts.

@FujitsuPolycom
FujitsuPolycom merged commit 0e5cbfd into main Nov 30, 2026
19 of 20 checks passed
@FujitsuPolycom
FujitsuPolycom deleted the cleanup/retire-dead-code-and-vendored-archive branch November 30, 2026 18:25
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