WA-PERF-001: Dragonfly → libvips migration plan + Content::Asset prototype#744
Draft
kitcommerce wants to merge 2 commits intonextfrom
Draft
WA-PERF-001: Dragonfly → libvips migration plan + Content::Asset prototype#744kitcommerce wants to merge 2 commits intonextfrom
kitcommerce wants to merge 2 commits intonextfrom
Conversation
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
Addresses #703 — research and prototype for replacing Dragonfly with a lightweight libvips-based storage layer.
What's included
Migration plan (
docs/notes/dragonfly-migration-plan.md)Prototype: Content::Asset behind a feature flag
Enable with
WORKAREA_MEDIA_BACKEND=media_v2(off by default — zero impact on existing behavior).Workarea::Media::Storage— S3/filesystem storage using existingWorkarea.config.asset_storeWorkarea::Media::Attachment— Dragonfly-compatible wrapper (.url,.optim.url,.process())Workarea::MediaController+/media2/route (avoids Dragonfly middleware collision)What's NOT included (documented for follow-up phases)
Client impact
None when flag is off. When enabled, only Content::Asset is affected. Full migration will need a deprecation period.
Testing
Prototype phase — manual verification. Automated test coverage planned for subsequent phases.
Closes #703