feat: integrate command-based executor into build pipeline#271
Merged
Conversation
5 tasks
… transforms field - Add optional `transforms` field to `Config` struct for specifying a YAML transforms file path - Load and apply command-based transforms in `build.rs` after the standard pipeline (emoji, variables, syntax highlighting) - Respect resilient/fail-fast mode for command transforms - Remove unused re-exports from `transforms/mod.rs` (binary crate only needs `load_transforms_from_yaml` publicly) - Add config tests for new `transforms` field Agent-Logs-Url: https://github.com/egohygiene/renderflow/sessions/2d51596e-3bd9-4a2b-b564-c866ef7bf2d9 Co-authored-by: szmyty <14865041+szmyty@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add command-based executor for shell transformations
feat: integrate command-based executor into build pipeline
Apr 9, 2026
szmyty
approved these changes
Apr 9, 2026
Pull Request Summary by devActivityMetricsAchievements
|
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.
CommandTransformand the YAML transform loader were fully implemented but never wired into the application, causingcargo clippy -- -D warningsto fail with 9 dead-code/unused-import errors in CI.Changes
src/config.rs– Added optionaltransforms: Option<String>field toConfig. Points to a YAML file defining additional command-based transforms (ImageMagick, Pandoc, etc.) to run after the standard pipeline.src/commands/build.rs– Loads the YAML command registry once before the format loop, applies it after the standard pipeline (emoji → variables → syntax highlight) in the cache-miss branch. InheritsFailFast/ContinueOnErrorfrom the resilient flag.src/transforms/mod.rs– Pruned unusedpub usere-exports (CommandTransform,YamlTransformConfig,YamlTransformDef,parse_transforms_from_str). Binary crate only needsload_transforms_from_yamlexternally; the rest are used internally via the call chain.Usage