Skip to content

[audit] Dead code: delete pkg/streaming (entirely unused, ~71 funcs across tcp/transport/zmq) #286

Closed

Description

@scttfrdmn

Filed from the 2026-07-11 spawn audit. Full report: docs/spawn-audit-2026-07-11.md. Assessment-only — no code changed yet.

Phase: Phase 0 — do now (dead code)

Evidence

  • pkg/streaming/{tcp,transport,zmq}.go — ~71 funcs (TCP/QUIC/RDMA transports, ConnectionPool, StreamWriter, ZMQ)
  • grep -rl 'spore-host/spawn/pkg/streaming' over the whole repo incl. all lambda modules + cmd/spored + cmd/orchestrator = 0 importers (verified)

Recommendation
Delete all pkg/streaming files. Also remove examples/streaming/README.md and the exemplar reference in .claude/agents/test-coverage.md.

User-facing / SemVer: No — internal. CHANGELOG Removed (documented example removed).

Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit:2026-07

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions