-
Notifications
You must be signed in to change notification settings - Fork 0
Allow dependency-only Ninja nodes (#597) #606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
leynos
merged 14 commits into
main
from
issue-597-v0-1-1-remove-dependency-only-action-no-op-recipes
Aug 30, 2026
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5062957
Allow dependency-only manifest nodes (#597)
leynos 66f2bd8
Consolidate manifest IR fixture tests (#597)
leynos 85be91d
Extract Ninja action-rule emission (#597)
leynos 6ebc602
Separate dependency-only recipe guards (#597)
leynos 878edc1
Validate dependency-only manifest recipes (#597)
leynos 806d9b3
Document internal dependency-only representation (#597)
leynos fe8fa4a
Preserve Recipe match compatibility (#597)
leynos e0ca432
Remove serial runtime test duplication (#597)
leynos 7ae5823
Clarify dependency-only manifest documentation (#597)
leynos 91f6a8f
Disambiguate duplicate design headings (#597)
leynos cd5fe84
Skip rendering dependency-only markers (#597)
leynos 429323b
Clarify dependency-only design documentation
leynos 1a5ccc0
Cover public IR validation error API (#597)
leynos 23ea6e3
Add dependency-only lowering property (#597)
leynos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Migrating to v0.1.1 | ||
|
|
||
| Netsuke v0.1.1 keeps every v0.1.0 manifest compatible and removes one | ||
| declarative-manifest paper cut: an action or target whose dependencies are its | ||
| entire operation no longer needs a shell no-op recipe. | ||
|
|
||
| ## Replace no-op aggregate recipes | ||
|
|
||
| When an aggregate action exists only to group or order dependencies, remove | ||
| `command: ":"`. Leave its non-empty `deps` list and any | ||
| `dependency_order: serial` policy unchanged: | ||
|
|
||
| ```yaml | ||
| actions: | ||
| - name: all | ||
| dependency_order: serial | ||
| deps: | ||
| - check-fmt | ||
| - lint | ||
| - test | ||
| ``` | ||
|
|
||
| Netsuke lowers this entry to a native Ninja `phony` node. The dependencies | ||
| retain their previous ordering, deduplication, and failure-propagation | ||
| behaviour, but the aggregate no longer launches a shell command. | ||
|
|
||
| An entry with neither a recipe nor a non-empty `deps` list remains invalid. | ||
| Continue using `command`, `script`, or `rule` whenever the action or target has | ||
| work of its own to perform. See the | ||
| [users' guide](users-guide.md#targets-inputs-and-dependencies) for the manifest | ||
| contract and | ||
| [serial dependency ordering](users-guide.md#run-direct-dependencies-serially) | ||
| for ordered aggregates. |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| //! Manifest-loading pipeline stage definitions. | ||
|
|
||
| /// Stages in the manifest-loading sub-pipeline. | ||
| #[derive(Copy, Clone, Debug, PartialEq, Eq)] | ||
| pub enum ManifestLoadStage { | ||
| /// Read raw manifest content from the filesystem. | ||
| ManifestIngestion, | ||
| /// Parse raw YAML into a `serde_json::Value` tree. | ||
| InitialYamlParsing, | ||
| /// Expand `foreach` and `when` template directives. | ||
| TemplateExpansion, | ||
| /// Deserialize and render string fields into typed manifest data. | ||
| FinalRendering, | ||
| } |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.