Skip to content

Add opt-in tier-2 solver options (default off) - #81

Merged
jonyoder merged 7 commits into
mainfrom
feat/tier2-port
Nov 12, 2026
Merged

jonyoder merged 7 commits into
mainfrom
feat/tier2-port

Conversation

@jonyoder

@jonyoder jonyoder commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Adds opt-in solver options to resolver.Options, all off by default. With every option off, pins and behavior equal v0.16.0.

DRAFT: depends on an unmerged go-pubgrub pseudo-version (2780aad, PRs #17-#20), pins move only when an option is on, and this is not to merge before Jon rules on the pin report.


  • Commit 1: MergeDependencies, RunningSatisfier, StoredKeys, StableDiscovery, OwnOrder, ClashThreshold pass through to go-pubgrub; MarkExact sets Dependency.Exact.
  • Commit 2: PrereleaseIfNoFinal: pre-releases are not candidates when a package has a final release, unless AllowPrerelease names it or a requirement from the root OR any selected package names a pre-release of it (uv's rule). A yanked final still counts as a final. A requirement from a version the solver later abandons still lifts the bar for the rest of the solve; a version rejected as unusable does not.
  • Commit 3: ExtraEdgeOnly (own commit, pin-report question): a requirement with extras depends on the extra packages only.
  • Review fixes: resolver-level Resolve tests for MarkExact and ExtraEdgeOnly (each fails when its wiring line is deleted), transitive pre-release admission, stale pre-release docs.
  • Not carried from the spike: defaultMaxRounds stays 10_000; no pep440set changes; no Solver.Stats export.
  • RoboRev: jobs 4875 (pass), 4878 (one Medium, fixed in fdc371c, closed), 4879 (pass, closed). No declined findings.

🤖 Generated with Claude Code

jonyoder and others added 7 commits November 10, 2026 08:52
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…Final

Add resolver-level wiring tests for MarkExact and ExtraEdgeOnly, pin that
yanked finals count as finals, and fix the stale pre-release docs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonyoder
jonyoder marked this pull request as ready for review November 12, 2026 14:09
@jonyoder
jonyoder merged commit 9b5d8dc into main Nov 12, 2026
2 checks passed
@jonyoder
jonyoder deleted the feat/tier2-port branch November 12, 2026 14:13
@jonyoder jonyoder mentioned this pull request Nov 12, 2026
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.

1 participant