Skip to content

Conversation

@Sija
Copy link
Member

@Sija Sija commented Jan 30, 2026

In general, unused imports should be removed unless they serve a clear purpose (such as types in TypeScript or deliberate side effects with bare imports). Here, Name is never used in the test file, so removing the import cleans up the code and resolves the CodeQL warning without altering runtime behavior.

Concretely, in runtime/tests/encoders.test.js, delete the line that imports Name from "../src/symbols". No additional imports, methods, or definitions are required, and the rest of the file remains unchanged. This will eliminate the unused import while preserving all existing functionality and tests.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@Sija Sija marked this pull request as ready for review January 30, 2026 01:13
@Sija Sija requested a review from gdotdesign January 30, 2026 01:13
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.

2 participants