Migrate existing tasks to typed task parameters - #6
Draft
OvesN wants to merge 1 commit into
Draft
Conversation
Migrate VerifyFileHash, ZipDirectory, and GetFileHash and document the task-author workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
OvesN
force-pushed
the
dev/veronikao/typed-task-parameter-examples
branch
from
August 18, 2026 13:28
89352f7 to
3f34c64
Compare
OvesN
changed the base branch from
main
to
dev/veronikao/typed-parameter-infrastructure-fixes
August 18, 2026 13:28
This was referenced Aug 18, 2026
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.
Summary
Migrates three existing in-box tasks to analyzer-recommended typed parameters:
VerifyFileHash.File→AbsolutePathZipDirectorypaths →ITaskItem<FileInfo>/ITaskItem<DirectoryInfo>GetFileHash.Files→ITaskItem<AbsolutePath>[]Removes
IMultiThreadableTaskandTaskEnvironmentfrom these tasks because typed binding eliminates their remaining environment usage.Adds a task-author guide with these tasks linked as migration examples.
Testing
VerifyFileHash_Tests,ZipDirectory_Tests, andGetFileHash_TestsNotes
Stacked on #7, which contains the typed-parameter infrastructure fixes and dedicated regression tests.
The public task-property type changes are intentionally source- and binary-breaking for direct .NET callers; package validation reports CP0002.