Skip to content

fix: remove unused imports in filter-gate log tests#2111

Merged
AceHack merged 1 commit into
mainfrom
fix/tsc-unused-imports-filter-gate
May 8, 2026
Merged

fix: remove unused imports in filter-gate log tests#2111
AceHack merged 1 commit into
mainfrom
fix/tsc-unused-imports-filter-gate

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 8, 2026

Summary

  • Removes 6 unused imports in tools/alignment/filter_gate_log.test.ts that fail the lint (tsc tools) CI check (noUnusedLocals/noUnusedParameters).
  • The squash merge of PR feat(B-0058): add filter-gate honesty log tool #2110 landed the original commit before the tsc fix commit arrived, so the unused imports persisted on main.

Test plan

  • bun x tsc --noEmit — 0 errors
  • bun test tools/alignment/filter_gate_log.test.ts — 33 pass, 0 fail
  • dotnet build -c Release — 0 warnings, 0 errors

🤖 Generated with Claude Code

The squash merge of PR #2110 landed the original commit before
the tsc fix commit, leaving 6 unused imports that fail the
lint (tsc tools) CI check (noUnusedLocals). Removes afterEach,
existsSync, mkdirSync, join, Decision, and recordEntry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 8, 2026 17:51
@AceHack AceHack enabled auto-merge (squash) May 8, 2026 17:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes now-unused imports from tools/alignment/filter_gate_log.test.ts so the file passes the repo’s TypeScript compile-time unused checks (noUnusedLocals/noUnusedParameters) and unblocks the CI tsc gate for tools.

Changes:

  • Drop unused bun:test import (afterEach) from the test file.
  • Drop unused Node imports (existsSync, mkdirSync, join) from the test file.
  • Drop unused type/value imports (Decision, recordEntry) from ./filter_gate_log.ts in the test file.

@AceHack AceHack merged commit 4373b3e into main May 8, 2026
29 checks passed
@AceHack AceHack deleted the fix/tsc-unused-imports-filter-gate branch May 8, 2026 17:54
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