Repository navigation
Conversation
Contributor
[Low impact] This PR appears safe to merge. SummaryRemoves the unused
Reviews (1) · Last reviewed commit: "fix: remove unused hex record metadata t..." · Reviewed by Greptile |
3 tasks
7 of 8 tasks
3 of 11 tasks
12 tasks done
This was referenced Oct 28, 2026
This was referenced Oct 29, 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.
Summary
Remove the unused
HexRecordRegionMetadatatype alias so the ordinary Knip gate passes. The schema and theArtifactFormatMetadatadiscriminated union remain unchanged.Problem and expected behavior
On main
b594fbc3e, a fresh Knip run afternpm run build:cachedreports this alias as the sole unused exported type. No source, test, or script imports it; callers use the owning schema and union.Change and scope
Delete the three-line alias. No replacement abstraction, ignore rule, runtime change, target interaction, or new provider is introduced. Maintainer capability scope decision: not applicable.
Contract and boundary impact
src/domain/artifactFormatMetadata.ts; the schema and consumers are unchanged.Evidence and regression coverage
npm run build:cachedpassed; an uncachednode_modules/.bin/knipfailed with the unused alias.npm run checkpassed, including typecheck, ordinary Knip, module/architecture checks, production reachability analysis, and typed lint.This removes an unused type declaration; no new runtime test or real-provider claim is needed.
Compatibility, safety, and release
No runtime or advertised CLI/MCP behavior change. The removed internal alias has no in-repository consumers.
Author readiness
Human owner: @reacher-z