Remove dead code: commented telemetry calls and unused log decoration#19
Merged
Remove dead code: commented telemetry calls and unused log decoration#19
Conversation
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Review project for dead or duplicated code
Remove dead code: commented telemetry calls and unused log decoration
Nov 9, 2025
Owner
|
@copilot fix pre commit checks (formatting etc) |
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review project for dead or duplicated code
Completed ✅
Summary
Successfully reviewed the entire codebase for dead and duplicated code. Removed 23 lines of dead code:
Dead Code Removed:
tm.emit()calls for "spotweb-main-2" and "spotweb-main-3" processes across all scheduler job filesdecorateconstant and dead conditional branchFormatting Fixed:
deno fmtto fix indentation, quotes, trailing whitespace, and export orderingdeno fmt --checkDuplicated Code Analysis:
While some code patterns are repeated across chart components (e.g., annotation code for the "now" marker), these are intentional duplications in separate components and don't constitute problematic dead code. Refactoring these would be a separate enhancement task beyond the scope of this review.
Verification:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.