[codex] improve reliability, testability, and interactive flow#11
Merged
Conversation
Add command-level integration and fuzz coverage across parser flows. Fix config-driven structured output when no links are found or all links are ignored. Fix redirect auto-fixes for duplicate URLs across files and make filter tracking race-safe.
Refactor check and fix into injected runners, expand command and UI tests, add end-to-end benchmarks and fixtures, and adopt pond/conc in checker and parser hot paths.
Route interactive through an injected runner, pass configured checker options into the UI path, and clear the repository lint backlog while keeping tests and integration coverage green.
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.
What changed
This PR improves Gone's reliability, testability, and command-path consistency.
check,fix, and nowinteractivetoward thin Cobra entrypoints with runner-style executionpond/concin parser and checker concurrency pathsgolangci-lint run ./...is actionable againWhy
The CLI had uneven architecture across commands, limited direct command coverage, and a noisy lint baseline that made quality regressions harder to detect. The interactive path also diverged from
check/fixbehavior by bypassing injected dependencies and checker configuration.User impact
Validation
golangci-lint run ./...go test ./...go test -race ./...go test -tags=integration ./cmdgo test -run '^$' -bench 'BenchmarkPipeline_' ./cmd -benchtime=1x