Skip to content

chore: remove dead shared library files#11767

Merged
ashleeradka merged 2 commits into
mainfrom
devin/1772571073-remove-dead-shared-files
Mar 3, 2026
Merged

chore: remove dead shared library files#11767
ashleeradka merged 2 commits into
mainfrom
devin/1772571073-remove-dead-shared-files

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Mar 3, 2026

Summary

Deletes 2 unused files (~142 lines) from clients/shared/ identified during a dead-code audit:

File Lines Why it's dead
NetworkInterfaceResolver.swift 58 macOS-only IPv4 resolver — zero references. Added in PR #6656 (QR pairing).
VWaveformView.swift 84 Animated waveform view — zero references. Added in PR #6095 (two-way voice mode).

All types and their public methods were confirmed unreferenced via exhaustive rg searches across clients/.

Updates since last revision

Restored HoverEffect.swift and InlineWidgetCardModifier.swift after review caught active usages:

  • .inlineWidgetCard() is called by ConfirmationSurfaceView.swift:48
  • .vHover() is called by ModifiersGallerySection.swift:86 (DEBUG gallery)

Review & Testing Checklist for Human

  • Build both macOS and iOS targets in Xcode. This PR only deletes .swift files — it does not update .pbxproj. If these files are registered in Xcode's build sources, the build will break. (If the shared lib uses SPM with automatic source discovery, this is a non-issue.)
  • Grep for NetworkInterfaceResolver and getLocalIPv4 in non-Swift files (scripts, plists, Obj-C bridging headers) that the rg --glob '*.swift' search would not have covered.
  • Grep for VWaveformView across the full repo to confirm no references were missed — the initial scan already had two false positives in this PR, so extra caution is warranted.

Notes


Open with Devin

Remove 4 unused files (~297 lines) from clients/shared/:

- NetworkInterfaceResolver.swift (58 lines) — zero references outside file.
  Added in PR #6656 (QR code pairing) but never used.
- HoverEffect.swift (41 lines) — zero references outside file.
  Added in PR #1868 (Extract design system) but never used.
- InlineWidgetCardModifier.swift (114 lines) — zero references outside file.
  Last touched in PR #3473 (platform guard fix).
- VWaveformView.swift (84 lines) — zero references outside file.
  Added in PR #6095 (two-way voice mode) but never used.

Co-Authored-By: ashlee@vellum.ai <ashlee@vellum.ai>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@ashleeradka ashleeradka marked this pull request as ready for review March 3, 2026 20:52
devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Copy Markdown

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

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: cb038569ab

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread clients/shared/DesignSystem/Modifiers/HoverEffect.swift
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

Requesting review from @ashleeradka (authored NetworkInterfaceResolver, HoverEffect) and @AnitaKirkovska (authored InlineWidgetCardModifier, VWaveformView).

InlineWidgetCardModifier is used by ConfirmationSurfaceView.swift:48
(.inlineWidgetCard() call). HoverEffect is used by
ModifiersGallerySection.swift:86 (.vHover() call in DEBUG gallery).

Only NetworkInterfaceResolver and VWaveformView are confirmed dead
in this PR.

Co-Authored-By: ashlee@vellum.ai <ashlee@vellum.ai>
@ashleeradka
Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ashleeradka ashleeradka merged commit d0bfabc into main Mar 3, 2026
2 checks passed
@ashleeradka ashleeradka deleted the devin/1772571073-remove-dead-shared-files branch March 3, 2026 21:15
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