Repository navigation
fix(config): remove OCR_CONFIG_PATH - #1537
Merged
Merged
Conversation
Contributor
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 7 selected item(s). |
15 of 22 tasks
1 task
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.
Description
This follows the maintainer's decision to remove
OCR_CONFIG_PATHinstead of extending it to review and scan.The change removes
resolveConfigPath()and makesocr llm testusedefaultConfigPath()again. The provider wizards now test the exact config file they just wrote through therunLLMTestPathseam.The VS Code and IntelliJ extensions no longer pass a separate
configPathwhen testing a draft configuration. They continue to use an isolatedHOME/USERPROFILE, which is enough fordefaultConfigPath()to resolve the temporary config.This follows the option (b) direction requested by the maintainer in the discussion on #1509.
Type of Change
How Has This Been Tested?
go test -count=1 ./cmd/opencodereviewmake checkmake testmake coverage— 90.8% total coveragecorepack yarn test— 88/88 tests passedcorepack yarn lintcorepack yarn compile.\gradlew.bat test -PskipFrontend=true.\gradlew.bat verifyPluginStructure -PskipFrontend=truegit diff --checkChecklist
AI disclosure
Used Codex (GPT-6) for implementation assistance. I reviewed all changes and ran the tests locally.
Related Issues
ocr llm testand the provider wizards check a different config file than review/scan use #1484