Skip to content

Make macOS CI runners opt-in via workflow_dispatch#1012

Open
Copilot wants to merge 4 commits intomainfrom
copilot/review-issue-844
Open

Make macOS CI runners opt-in via workflow_dispatch#1012
Copilot wants to merge 4 commits intomainfrom
copilot/review-issue-844

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

Make macOS CI runner opt-in since runners are slow to provision. When opted in, CI is still gated on macOS tests passing.

Remove macos-latest from the test-workspace and test-workspace-features
OS matrices. Add dedicated test-workspace-macos and
test-workspace-features-macos jobs that only run when the workflow is
manually dispatched with run_macos: true.

The new macOS jobs are intentionally excluded from the ci-gate required
check so they never block merges.

Fixes #843

Agent-Logs-Url: https://github.com/microsoft/DiskANN/sessions/e959ada8-d34c-4801-9a4c-27cb42d74e1d

Co-authored-by: harsha-simhadri <5590673+harsha-simhadri@users.noreply.github.com>
…cate jobs

Replace four separate test jobs with two that dynamically include macOS
in the matrix only on workflow_dispatch with run_macos=true. Removes ~66
lines of duplication while preserving identical behavior.

Agent-Logs-Url: https://github.com/microsoft/DiskANN/sessions/a6dea22b-fa87-4413-8639-083eb57c8e84

Co-authored-by: harsha-simhadri <5590673+harsha-simhadri@users.noreply.github.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.51%. Comparing base (8192cba) to head (a402ca9).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1012      +/-   ##
==========================================
- Coverage   89.55%   89.51%   -0.04%     
==========================================
  Files         459      460       +1     
  Lines       85034    85424     +390     
==========================================
+ Hits        76153    76469     +316     
- Misses       8881     8955      +74     
Flag Coverage Δ
miri 89.51% <ø> (-0.04%) ⬇️
unittests 89.36% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@harsha-simhadri harsha-simhadri marked this pull request as ready for review May 5, 2026 22:53
@harsha-simhadri harsha-simhadri requested review from a team and Copilot May 5, 2026 22:53
Copy link
Copy Markdown
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 makes macOS CI runners opt-in by adding a workflow_dispatch input (run_macos) and conditionally including macos-latest in the test matrices only when the workflow is manually triggered with that input enabled.

Changes:

  • Added workflow_dispatch trigger with a boolean run_macos input.
  • Updated test-workspace and test-workspace-features job matrices to include macOS only when run_macos is true on manual dispatch.
  • Added clarifying comments about macOS CI being opt-in.

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

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
@harsha-simhadri harsha-simhadri marked this pull request as draft May 5, 2026 23:07
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@harsha-simhadri harsha-simhadri marked this pull request as ready for review May 5, 2026 23:12
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.

Make macos runner optional

4 participants