Skip to content

Conversation

@kazo0
Copy link
Contributor

@kazo0 kazo0 commented Jan 6, 2026

This pull request introduces a new build template to perform cleanup of unused dependencies on Linux build agents, and integrates this cleanup step into several build and test pipelines. This change aims to free up disk space during CI runs, potentially improving build reliability and performance.

Integration of Linux cleanup step:

  • Added a new template templates/host-cleanup-linux.yml that removes unused dependencies and software from Linux build agents to reclaim disk space.

Pipeline updates to include cleanup:

  • Included the host-cleanup-linux.yml template in the following build pipelines:
    • build/stage-build-wasm.yml
    • build/stage-uitests-android.yml
    • build/stage-uitests-wasm.yml [1] [2]

Copilot AI review requested due to automatic review settings January 6, 2026 14:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a disk space cleanup mechanism for Linux CI build agents by creating a new template that removes unused dependencies and software. The cleanup step is integrated into multiple build and test pipelines to improve build reliability by freeing up disk space before resource-intensive operations.

Key Changes:

  • Created a new cleanup template that removes unused tools (Rust, .NET, Swift, Mono, Edge, etc.) and snaps from Linux agents
  • Integrated the cleanup step into WASM and Android UI test pipelines as well as the WASM build pipeline

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
build/templates/host-cleanup-linux.yml New template with bash script to remove unused dependencies from Linux agents
build/stage-uitests-wasm.yml Added cleanup template calls before build and test execution steps
build/stage-uitests-android.yml Added cleanup template call before build execution
build/stage-build-wasm.yml Added cleanup template call before WASM publish step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kazo0 kazo0 enabled auto-merge January 6, 2026 16:36
@unodevops
Copy link

⚠️⚠️ The build 190060 has failed on Uno.Gallery - CI.

@kazo0 kazo0 merged commit 8555bec into master Jan 6, 2026
25 of 26 checks passed
@kazo0 kazo0 deleted the dev/sb/linux-image-cleanup branch January 6, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants