Skip to content

Remove defunct Xcode version inputs from macos_tests.yml - #3591

Merged
rnro merged 2 commits into
apple:mainfrom
rnro:xcode-workflow-cleanup
May 12, 2026
Merged

rnro merged 2 commits into
apple:mainfrom
rnro:xcode-workflow-cleanup

Conversation

@rnro

@rnro rnro commented May 12, 2026

Copy link
Copy Markdown
Contributor

Motivation

  • Xcode 15.4, 16.0, 16.1, 16.2, and 26 beta were already deprecated
    and defaulted to false with no callers enabling them β€” redundant code.
  • Xcode 16.3, 16.4, 26.0, and 26.1 will soon be uninstalled from the
    runners. Their inputs are kept so downstream callers don't break, but
    they should no longer produce any matrix entries.

Modifications

  • Remove input declarations, shell variables, matrix construction
    blocks, and environment variable mappings for 15.4/16.0/16.1/16.2/26
    beta entirely.
  • Remove the matrix logic for 16.3/16.4/26.0/26.1 but retain the input
    declarations as no-ops, with descriptions communicating they have no
    effect.

Result

  • Less dead code in the shared workflow.
  • Callers still passing xcode_16_3 through xcode_26_1 inputs get no
    error but also no job β€” a graceful no-op while they migrate to
    swift_* inputs.

rnro added 2 commits May 12, 2026 10:21
Motivation

* `xcode_15_4`, `xcode_16_0`, `xcode_16_1`, `xcode_16_2`, and
  `xcode_26_beta` inputs were already deprecated and defaulted to
  `false`. No callers should still be passing them.

Modifications

* Remove the input declarations, shell variable assignments, matrix
  construction blocks, and environment variable mappings for the
  removed versions.

Result

* Less dead code in `macos_tests.yml`.
Motivation

* Xcode 16.3, 16.4, 26.0, and 26.1 will soon be uninstalled from the
  runners. The inputs are kept so downstream callers don't break, but
  they no longer produce any matrix entries.

Modifications

* Update descriptions to communicate the inputs have no effect.
* Remove the shell variable assignments, matrix construction blocks,
  and environment variable mappings for these versions.

Result

* Callers passing these inputs get no error but also no job β€” a
  graceful no-op while they migrate to `swift_*` inputs.
@rnro rnro added the semver/none No version bump required. label May 12, 2026
@rnro
rnro merged commit 301b7c2 into apple:main May 12, 2026
53 of 55 checks passed
@rnro
rnro deleted the xcode-workflow-cleanup branch May 12, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants