Improve resolver scan intelligence and budget controls#36
Open
AmirrezaFarnamTaheri wants to merge 7 commits into
Open
Improve resolver scan intelligence and budget controls#36AmirrezaFarnamTaheri wants to merge 7 commits into
AmirrezaFarnamTaheri wants to merge 7 commits into
Conversation
2aa2338 to
9ed0b88
Compare
Parse optional scan telemetry such as latency, attempts, and rejection reason while keeping older WD_SCAN lines compatible. Persist structured scan observations beside the legacy plain resolver file, rank successful results by score, and write recommended_resolvers.txt for future profile selection and diagnostics. Add focused tests for scan telemetry enrichment, resolver scoring, ranking, and JSON serialization.
9ed0b88 to
4d79a66
Compare
This was referenced May 16, 2026
Expose quick, balanced, deep, and expert resolver scan worker presets up to 128 workers while preserving the slider for custom values. Clamp persisted and launched scan worker counts to the shared scan limit so UI, stored settings, and service launch requests agree. Adjust user-facing scan guidance based on the selected worker budget and add coverage for built-in/custom budget detection.
Normalize resolver scan worker counts through shared scan defaults so persisted values, manual entry, start, and resume paths all stay within the supported 1-128 range. Keep 64-worker runs as an explicit high-capacity tier with stronger UI guidance and cover the normalization behavior in model tests.
Generate a fallback scan session ID when a malformed or redelivered scan service start arrives without the session extra. This keeps scan state, broadcasts, and failure records attributable to a concrete scan attempt instead of emitting blank-session events.
Place scan worker budget coverage beside the existing parallel-settings tests so the resolver scan PR merges cleanly with setup-readiness validation tests. This keeps the scan branch behavior unchanged while avoiding overlap at the model-test helper boundary.
This was referenced May 16, 2026
6da54c8 to
44f5e2f
Compare
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
Verification