fix(task) #15 ZipTask and UnzipTask resolve their options on every execution - #19
Merged
Merged
Conversation
…ecution, so that each input is used Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Sep 30, 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.
Description
Fixes #15.
ZipTaskandUnzipTaskmerge their input into their options, but kept the options resolved on the first execution: with several inputs in the same process execution (e.g. after an iterable task), the following inputs were silently ignored and the first archive was re-created / re-extracted.ZipTask::getOptions(),UnzipTask::getOptions(): resolve the options on every executionZipTaskTest,UnzipTaskTest(new): nominal case, and two inputs create / extract two archives (fails without the fix);symfony/filesystemadded torequire-devfor the temporary files cleanupzip_task.md,unzip_task.md: replace the note describing the limitationChecked with
demo.archive.zip_multiple_inputsin process-bundle-demo: two archives are now created,demo_zip_multiple_inputs_1.zipwithsample.txtanddemo_zip_multiple_inputs_2.zipwithsample.csv(only the first one, twice, before).This is the first PR of a stack: #20 → #21 → #22 are based on it (they share the new test classes and the CHANGELOG
Latestsection).Requirements
Breaking changes
None: each input is now used as documented. A configuration relying on the first input being reused already produced wrong results.
🤖 Generated with Claude Code