Skip to content

ci(apple): run Swift source checks alongside macOS host smoke - #5267

Merged
thymikee merged 2 commits into
mainfrom
ci/parallel-macos-snapshot-proof
Nov 30, 2026
Merged

thymikee merged 2 commits into
mainfrom
ci/parallel-macos-snapshot-proof

Conversation

@thymikee

@thymikee thymikee commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Run packaged Swift parsing and Swift/TypeScript snapshot conformance alongside the macOS host suite on the existing runner. The native runner build finishes first so its cache key is computed before SwiftPM writes generated files under the snapshot package. Both branches remain required. Replay, host XCTest discovery, diagnostics and cleanup retain their existing coverage.

Validation

At bbae59e088, all 60 cases in scripts/__tests__/apple-ci-impact.test.ts passed locally. The regression case reproduced the hosted iOS status failure at the previous head. Skipped macOS parallel members may report empty outcomes. Selected macOS members must still report success.

The nearby main run spent 9.7s parsing packaged Swift and 20.3s on snapshot conformance before starting the runner build. Check their overlap with the host suite and compare the full macOS job across matching cache states. Hosted timings are pending.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.73 MB 6.73 MB 0 B
Package (unpacked) 6.73 MB 6.73 MB 0 B
Package (download) 2.05 MB 2.05 MB -3 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.8 ms 32.3 ms +5.5 ms
CLI --help 67.2 ms 67.8 ms +0.6 ms

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

View guided diff | Turn on auto-fix | Re-trigger cubic

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of bbae59e

No open findings.

1 finding below minor hidden (user_settings.min_severity).

Reviewed with this repository's own Sentinel configuration (34810b99604e).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

This PR is ready at bbae59e, and no blocking problems were found in the code.

Not blocking, take or leave: the phase summary table could add a "macOS sources" row for MACOS_SOURCES_OUTCOME, because it now reads macOS success when only the source checks fail, and if skipping the source checks after a failed runner build is not deliberate, their condition could require that the build ran instead of that it succeeded.

All Apple, CI and guard jobs pass on this commit, including both smoke jobs.

Not verified here: no local tests were run, flakiness under CPU contention (the 60-second Swift build and fuzz limits now overlap host XCTest) was not measured, a failing source check inside the parallel group was not observed in a hosted run, and the full-job timing comparison is not like for like because only the PR run had a runner cache hit.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 30, 2026
@thymikee
thymikee merged commit 2435648 into main Nov 30, 2026
21 of 22 checks passed
@thymikee
thymikee deleted the ci/parallel-macos-snapshot-proof branch November 30, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant