Conversation
… give a clean state
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #858 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 57 +1
Lines 3173 3223 +50
Branches 626 632 +6
=========================================
+ Hits 3173 3223 +50 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shazron
approved these changes
Apr 21, 2025
purplecabbage
approved these changes
Apr 23, 2025
purplecabbage
pushed a commit
that referenced
this pull request
Nov 10, 2025
* feat: add initial commit for clean command * fix: fix the dist directory path * chore: update readme * fix: lint errors * chore: fixing tests and adding missing coverage * chore: add additional test coverage * fix: lint error * fix: remove unnecessary comments * feat: add 100% coverage * fix: comments * fix: added the missing lint fix * fix: refactored to simplify the command to clean all the artifacts to give a clean state * fix: lint errors * fix: extracted tracking filenames into separate constants for future maintenance * fix: revert README changes from local prepack script run
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
Implement clean command aio app clean-build to remove build artifacts from the local machine
Related Issue
ACNA-3518
Motivation and Context
The aio app clean command provides a reliable way for developers who need to get a clean build environment without manually finding and deleting build files. During development, stale build artifacts can cause inconsistent behavior, especially when switching between different environments or configurations.
This command cleans:
Action build artifacts
Web assets (both production and development)
Distribution directories -both Build tracking file and deployment tracking file
How Has This Been Tested?
Verified the
aio app clean-buildwithaio app buildaio app devaio app runto test different cases where each command produces different artifactsAdded unit test coverage for all the cases
Screenshots (if appropriate):
Types of changes
Checklist: