Repository navigation
refactor(project): Replace stepBased opt-in with a task descriptor factory API - #1670
Open
RandomByte wants to merge 2 commits into
Open
RandomByte wants to merge 2 commits into
RandomByte wants to merge 2 commits into
Conversation
RandomByte
force-pushed
the
refactor/specVersion-5.0-task-api
branch
from
October 21, 2026 13:30
e1a469c to
df11364
Compare
RandomByte
marked this pull request as ready for review
October 21, 2026 14:32
RandomByte
force-pushed
the
refactor/specVersion-5.0-task-api
branch
from
October 21, 2026 14:45
bed4942 to
b7a5386
Compare
matz3
previously approved these changes
Oct 21, 2026
RandomByte
force-pushed
the
refactor/specVersion-5.0-task-api
branch
from
October 22, 2026 12:43
f825f16 to
554be5f
Compare
matz3
previously approved these changes
Oct 23, 2026
From Specification Version 5.0, a task module's default export is a factory that returns one descriptor. The descriptor declares either a task body or a step list together with dependency and build-signature callbacks. Apply the same contract to built-in tasks and keep legacy custom tasks on their existing body and named-export callbacks. Resolve each descriptor once per build so signature calculation and execution use the same definition. Update the public and incremental-build documentation for the final contract.
Replace the step-only standalone runner with runTask. The runner accepts a task factory and dispatches both descriptor forms through one public API. Validate descriptors and complete step lists before execution. Preserve legacy dependency callbacks, scope cached custom-task descriptors by project and task name, and share the ordered write-buffer contract with the cached runner.
RandomByte
force-pushed
the
refactor/specVersion-5.0-task-api
branch
from
October 23, 2026 14:21
4887aaf to
9cb55c9
Compare
This branch has not been deployed
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.
JIRA: TODO