Skip to content

Conversation

@rolfbjarne
Copy link
Member

This way we always check for available hard disk space (currently we don't
check for the API Diff pipeline).

This way we always check for available hard disk space (currently we don't
check for the API Diff pipeline).
@rolfbjarne rolfbjarne requested a review from Copilot December 4, 2025 09:32
Copilot finished reviewing on behalf of rolfbjarne December 4, 2025 09:36
Copy link
Contributor

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 refactors the hard disk space checking logic by moving it from individual pipeline templates into the centralized setup.yml template. This ensures that disk space is checked consistently across all pipelines that use the setup template, including the API Diff pipeline which previously lacked this check.

Key Changes:

  • Centralized disk space check in common/setup.yml with parameterized disk space requirements
  • Removed duplicate disk space checks from tests/build.yml and mac/build.yml
  • Added requiredDiskSpace and statusContext parameters throughout the template hierarchy

Reviewed changes

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

Show a summary per file
File Description
tools/devops/automation/templates/common/setup.yml Added centralized disk space check with parameterized requirements (lines 9-10, 33-46)
tools/devops/automation/templates/tests/build.yml Removed inline disk space check, now passes parameters to setup.yml (lines 88-89)
tools/devops/automation/templates/mac/build.yml Removed inline disk space check (lines 96-98)
tools/devops/automation/templates/build/build.yml Added requiredDiskSpace and statusContext parameters with defaults, passes them to setup.yml
tools/devops/automation/templates/build/build-mac-tests.yml Specified disk space requirement of 10 GB for macOS tests
tools/devops/automation/templates/build/api-diff-build-and-detect.yml Specified disk space requirement of 50 GB for API diff builds
tools/devops/automation/templates/tests/stage.yml Added statusContext parameter forwarding
tools/devops/automation/run-nightly-codeql.yml Added statusContext parameter for CodeQL builds

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🔥 [PR Build #d853334] Build failed (Detect API changes) 🔥

Build failed for the job 'Detect API changes' (with job status 'Failed')

Pipeline on Agent
Hash: d853334caf4c127098addf4b42a51806a8f2c513 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🔥 Unable to find the contents for the comment: D:\a\1\s\change-detection\results\gh-comment.md does not exist :fire

Pipeline on Agent
Hash: d853334caf4c127098addf4b42a51806a8f2c513 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #d853334] Build passed (Build packages) ✅

Pipeline on Agent
Hash: d853334caf4c127098addf4b42a51806a8f2c513 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

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.

3 participants