Repository navigation
Conversation
Ruff used dagger/polyfill to find every marked project below the current directory plus the nearest enclosing project. Workspace.findRoots now provides that policy directly. Switch discovery to the native API, remove the polyfill dependency, and bump the engine requirement in the same change. Signed-off-by: Guillaume de Rouville <[email protected]>
The polyfill removal switched projects(ws) to Workspace.findRoots but left the doc pointing at github.com/dagger/polyfill. Point it at the native API and record the directories the exclude patterns prune. Signed-off-by: Yves Brissaud <[email protected]>
projects(ws) passes exclude to Workspace.findRoots so vendored trees never register as Ruff projects, but nothing asserted it: dropping the argument kept every check green. Assert a .venv marker stays out of the results. Signed-off-by: Yves Brissaud <[email protected]>
The lock was still lockfile v1, pinning dang-sdk through a git.head entry with a float strategy. Running against beta.10 rewrites it as a v2 git.ref entry resolved to a concrete sha, so record that instead of having every run dirty the tree. Signed-off-by: Yves Brissaud <[email protected]>
This was referenced Aug 25, 2026
eunomie
marked this pull request as ready for review
August 25, 2026 15:25
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.
Supersedes #2, which could not be updated in place (its head branch lives on a fork without push access).
projects(ws)usedgithub.com/dagger/polyfillto find every marked project below the current directory plus the nearest enclosing one.Workspace.findRootsnow provides that policy natively, so this drops the polyfill dependency and bumps the engine requirement tov1.0.0-beta.10.Also included, from reworking the change against beta.10:
docs/cwd-aware-discovery.mdstill pointed at the polyfill.exclude:had no test coverage — removing the argument left every check green. A.venvmarker is now asserted out of the discovery results.dagger.lockis regenerated: beta.10 rewrites it from lockfile v1 (git.head,floatstrategy) to v2 (git.refresolved to a concrete sha). Without this every run dirties the tree.dagger checkpasses 5/5 against a v1.0.0-beta.10 engine.