Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 7, 2025

ESLint flagged 7 type safety violations: 6 uses of any type and 1 formatting issue.

Changes

src/logging.ts

  • any[]unknown[] for debug log arguments
  • Access debug.log directly instead of type casting

src/server.ts

  • Added McpRequest and McpTransport interfaces for upstream proxy types
  • { method: 'tools/list' } as anyListToolsRequestSchema from MCP SDK
  • Type assertions now use unknown with explicit interface casting

vitest.config.ts

  • Added missing EOF newline

Example

Before:

const origLog = (debug as any).log
;(debug as any).log = (...args: any[]) => {
  // ...
}

After:

const origLog = debug.log
debug.log = (...args: unknown[]) => {
  // ...
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • img.shields.io
    • Triggering command: node /home/REDACTED/work/gh-aw-mcp-container-action/gh-aw-mcp-container-action/node_modules/.bin/make-coverage-badge --output-path ./badges/coverage.svg (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Fix linting issues.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Fix linting issues in the codebase Replace any types with proper TypeScript types Nov 7, 2025
Copilot AI requested a review from pelikhan November 7, 2025 07:26
Copilot finished work on behalf of pelikhan November 7, 2025 07:26
@pelikhan pelikhan marked this pull request as ready for review November 7, 2025 09:53
@pelikhan pelikhan merged commit b13ba77 into main Nov 7, 2025
19 of 21 checks passed
@pelikhan pelikhan deleted the copilot/fix-linting-issues branch November 7, 2025 09:53
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