Remove zombie skipped test functions from pkg/cli/ test files#19312
Merged
Remove zombie skipped test functions from pkg/cli/ test files#19312
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove zombie skipped test functions from pkg/cli test files
Remove zombie skipped test functions from pkg/cli/ test files
Mar 3, 2026
pelikhan
approved these changes
Mar 3, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes 7 permanently-skipped test functions (all marked as skipped with the require() migration message) from 4 files in pkg/cli/. One file that contained only the skipped test is fully deleted; the other three files have only the skipped functions removed, leaving all active test functions untouched.
Changes:
- Removed 7 permanently-skipped (no-op) test functions across 4 test files
- Deleted
mcp_inspect_safe_inputs_integration_test.goentirely (it contained only the one skipped test) - Cleaned up zombie tests in
audit_test.go,logs_firewall_parse_test.go, andlogs_parse_test.go
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pkg/cli/mcp_inspect_safe_inputs_integration_test.go |
Entire file deleted; contained only TestSafeInputsMCPServerCompilation which was permanently skipped |
pkg/cli/audit_test.go |
Removed TestAuditParseFlagBehavior, a permanently-skipped no-op test |
pkg/cli/logs_firewall_parse_test.go |
Removed TestParseFirewallLogs, TestParseFirewallLogsInWorkflowLogsSubdir, and TestParseFirewallLogsEmptyDirectory — all permanently skipped |
pkg/cli/logs_parse_test.go |
Removed TestParseAgentLog and TestParseAgentLogWithAgentOutputDir — both permanently skipped |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Mar 3, 2026
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.
7 test functions across 4
pkg/cli/files were permanently skipped with the require() migration message, providing no test coverage while adding noise.Changes
audit_test.go— removedTestAuditParseFlagBehaviorlogs_firewall_parse_test.go— removedTestParseFirewallLogs,TestParseFirewallLogsInWorkflowLogsSubdir,TestParseFirewallLogsEmptyDirectorylogs_parse_test.go— removedTestParseAgentLog,TestParseAgentLogWithAgentOutputDirmcp_inspect_safe_inputs_integration_test.go— deleted (contained only the skipped test)All active test functions are untouched.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.