[FEATURE] Add AssetPublishTask for TYPO3 14.2+ - #809
Merged
simonschaufi merged 2 commits intoSep 24, 2026
Merged
Conversation
Opt-in task that runs `typo3 asset:publish` on the node. Useful when the Composer install happens without the full TYPO3 configuration and asset publishing has to be skipped there. The default workflow stays untouched.
chrissonntag
force-pushed
the
feature/asset-publish-task
branch
from
September 24, 2026 07:33
121b9d3 to
2240287
Compare
Contributor
Author
|
Ready to merge. |
simonschaufi
marked this pull request as ready for review
September 24, 2026 07:50
Collaborator
|
Thank you! |
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.
Hi!
Since TYPO3 14.2, extension assets are published by
typo3 asset:publish(Feature #109163).
TYPO3 runs it during
composer install, but that boots TYPO3. If the buildworkspace doesn't have
settings.phpor.envyet, publishing fails andnothing ends up in
public/_assets.This PR adds an opt-in
AssetPublishTaskso you can publish on the nodeinstead. It follows
WarmupCacheTask: it uses the core CLI viatypo3CliFileNameand supportsargumentsandcontext. The defaultCMSworkflow isn't touched, so existing deployments behave the same.
Also in here:
(
TYPO3_SKIP_ASSET_PUBLISH=1) and add the task instead.config/system/settings.phpsymlink example for TYPO3 12+, next to theexisting
LocalConfiguration.phpone.Tests pass locally on PHP 8.4, and php-cs-fixer and phpcs are clean.
PHPStan reports 16 errors on
mainwith current dependencies. None of themcome from this PR. Most are Prophecy argument types in tests plus baseline
entries that no longer match, and one is a leftover
SORT_DESCflag inRollbackTask.sort()ignores that flag, and the code already expectsascending order. Happy to clean that up in a separate PR if you like.