feat(cli): Add ui5 cache clean command#1455
Open
d3xter666 wants to merge 29 commits into
Open
Conversation
d3xter666
marked this pull request as draft
July 17, 2026 06:34
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 20, 2026 07:13
2195d0e to
979a629
Compare
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 20, 2026 12:22
979a629 to
cc367f3
Compare
Adds `ui5 cache clean` to remove framework packages and build cache data. Displays what will be removed with library/version stats, asks for confirmation (skip with --yes), and handles orphaned staging dirs from previously interrupted cleans. No process-coordination locks — that will be added separately.
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 21, 2026 13:34
f332519 to
89e915f
Compare
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 22, 2026 07:03
28454d6 to
a0444d5
Compare
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 22, 2026 09:23
e35f673 to
af2b848
Compare
d3xter666
marked this pull request as ready for review
July 22, 2026 11:20
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 22, 2026 11:31
3ead788 to
db2912e
Compare
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 22, 2026 11:32
db2912e to
c4e20b3
Compare
d3xter666
marked this pull request as draft
July 22, 2026 11:41
For tables big enough, it could take a lot of time to run the VACUUM. For that reason, do the same as the directory rename- rename tables and later clean them up. This will not corrupt Db data and will be able to resume if the process is killed
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 23, 2026 06:24
cc944d7 to
5c27a35
Compare
d3xter666
force-pushed
the
feat/clean-cache-command
branch
from
July 23, 2026 06:29
5c27a35 to
bcaa7fa
Compare
d3xter666
marked this pull request as ready for review
July 23, 2026 06:57
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.
This PR introduces a new cache cleanup workflow for UI5 CLI via the
ui5 cache cleancommand, including safer cleanup semantics, clearer user output, and recovery of leftovers from interrupted cleanup runs.Why
Current cache cleanup requires manual directory deletion, which is error-prone and not ideal for CI or scripted usage.
This change provides a first-class command that:
Explains what will be removed before execution.
Supports non-interactive execution.
Handles stale/orphaned cache artifacts from interrupted previous runs.
JIRA: CPOUI5FOUNDATION-891