Skip to content

chore: remove dead code and unused frontend exports - #1434

Merged
wesm merged 2 commits into
mainfrom
t3code/audit-dead-code
Aug 16, 2026
Merged

chore: remove dead code and unused frontend exports#1434
wesm merged 2 commits into
mainfrom
t3code/audit-dead-code

Conversation

@mariusvniekerk

Copy link
Copy Markdown
Collaborator

Whole-program analysis found internal APIs and test helpers that neither
production nor test binaries could reach. This removes those declarations and
narrows handwritten frontend exports to symbols with external consumers.

Generated API output and the C-to-Go FSEvents callback path remain unchanged.
Runtime behavior is preserved; the change reduces obsolete supported-looking
surface and makes future reachability reports more useful.

Whole-program reachability found internal APIs and test helpers that neither production nor test binaries can call. Keeping them implied supported alternatives and let obsolete wrappers accumulate.

Remove only declarations proven unused. Preserve generated API output and callbacks entered through the C bridge.
Static export analysis found helpers consumed only within their defining modules. Publishing them widened the supported surface without a consumer and obscured which APIs are intended for reuse.

Keep the implementations unchanged while making them module-private. Leave generated client exports untouched.
@roborev-ci

roborev-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown

roborev: Combined Review (6b355bc)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 2m1s

@wesm
wesm merged commit bf5bce9 into main Aug 16, 2026
26 checks passed
@wesm
wesm deleted the t3code/audit-dead-code branch August 16, 2026 11:42
wesm added a commit to salmonumbrella/agentsview that referenced this pull request Aug 16, 2026
…dy-core

* origin/main: (25 commits)
  ci: retry failed Docker image builds (kenn-io#1437)
  Speed up HTTP sync by processing only changed sessions (kenn-io#1414)
  chore: remove dead code and unused frontend exports (kenn-io#1434)
  fix(parser): populate Kimi session cwd (kenn-io#1427)
  feat(frontend): add raw and formatted tool output display (kenn-io#1424)
  feat(insights): support OpenAI-compatible endpoints (kenn-io#1430)
  fix(parser): support legacy Zed thread schemas (kenn-io#1429)
  perf(signals): index duplicate prompt comparisons (kenn-io#1425)
  fix(config): honor explicit empty agent directory arrays (kenn-io#1423)
  feat(parser): add DeepSeek Harness session support (kenn-io#1402)
  test(sync): wait for archive audit stall state (kenn-io#1422)
  chore(deps): update github actions dependencies (kenn-io#1421)
  Tombstone stored Claude sessions a complete full parse no longer emits (kenn-io#1392)
  fix(sync): report stalled syncs as unhealthy (kenn-io#1419)
  Reduce idle CPU and let users turn off unused providers (kenn-io#1374)
  fix(serve): survive dual-stack port collisions at startup (kenn-io#1406)
  fix(sync): bound startup reconciliation and expose daemon identity (kenn-io#1413)
  fix(deps): update module golang.org/x/mod to v0.40.0 [security] (kenn-io#1400)
  Persist Claude and Codex freshness digests across engine restarts (kenn-io#1393)
  fix(sync): add lifecycle logging (kenn-io#1399)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants