Skip to content

Commit fe8ce51

Browse files
authored
Merge pull request #16 from Silo-Server/sync/upstream-7.28.3
chore: sync upstream AetherEngine 7.28.3 into the Silo fork
2 parents 6a97395 + 31047b0 commit fe8ce51

400 files changed

Lines changed: 35490 additions & 3196 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/RELEASE_SETUP.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Once all six secrets are set:
6767

6868
1. Make sure a release exists (use the existing `2.0.0` or create a draft tag).
6969
2. Trigger the workflow manually: [Actions](https://github.com/superuser404notfound/AetherEngine/actions) → `Release .dmg` → `Run workflow` → enter the tag → Run.
70+
The job checks out that tag, whatever branch the "Use workflow from" dropdown says, so a tag that predates `Examples/DemoPlayerMac/Scripts/build-dmg.sh` fails loudly instead of building `main`. The log's "Building commit" line names the built SHA.
7071
3. Watch the job. It should reach "Upload .dmg to release" and finish green in 3-6 minutes.
7172
4. Confirm the `.dmg` appears under the release's Assets (or got `--clobber`'d over the existing one if you pointed at `2.0.0`).
7273

‎.github/dependabot.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
# Third-party actions are pinned by commit SHA (audit OPS-2); this keeps the pins moving.
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
commit-message:
9+
prefix: "chore(ci)"

‎.github/workflows/ci.yml‎

Lines changed: 41 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15+
# One toolchain: GitHub's `xcode-27` image (macOS 27.0, default Xcode 27.0 27A266a), the same
16+
# Xcode the engine is consumed and released from. The earlier macos-15 lanes resolved
17+
# `latest-stable` to Xcode 26.3, whose Swift 6.2 disagreed with 6.4 in both directions (6.4
18+
# rejects isolation shapes 6.3 accepted, 2026-09-16; 6.2 timed out type-checking a literal sum
19+
# inside #expect, 2026-09-30), and nothing downstream builds with 26.x any more, so the README's
20+
# requirement is Xcode 27 and CI tests exactly that. `xcode-27` is still a GitHub preview image.
21+
# Its flaky `swift test` runs of mid-September were on a beta macOS 27 base with Xcode 27
22+
# beta 6; the image moved to macOS 27 on 2026-09-16. If it turns unstable again, that shows as
23+
# a lane red for its image, which is the signal to wait for the GA label, not to lower the bar.
24+
# All three macOS jobs use it, which stays within the account's concurrent macOS runners.
1525
test-macos:
1626
name: swift test (macOS)
17-
runs-on: macos-15
27+
runs-on: xcode-27
1828
timeout-minutes: 30
1929
env:
2030
AUTHORIZATION_TEST_SUITES: 'RefreshableHLSAuthorizationTests|RefreshableSubtitleAuthorizationTests|LiveTrustEvaluatorTests'
2131
steps:
22-
- uses: actions/checkout@v4
23-
24-
- uses: maxim-lobanov/setup-xcode@v1
25-
with:
26-
xcode-version: latest-stable
32+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2733

2834
- name: Show toolchain
2935
run: |
@@ -72,23 +78,11 @@ jobs:
7278
run: swift build --build-tests --package-path Probes/TransportProbe
7379

7480
build-tvos:
75-
name: xcodebuild (tvOS Simulator)
76-
runs-on: macos-15
81+
name: xcodebuild (tvOS + visionOS Simulator)
82+
runs-on: xcode-27
7783
timeout-minutes: 30
7884
steps:
79-
- uses: actions/checkout@v4
80-
81-
- uses: maxim-lobanov/setup-xcode@v1
82-
with:
83-
xcode-version: latest-stable
84-
85-
- name: Build for tvOS Simulator
86-
run: |
87-
xcodebuild build \
88-
-scheme AetherEngine \
89-
-destination 'generic/platform=tvOS Simulator' \
90-
-derivedDataPath .build/xcode-tvos \
91-
CODE_SIGNING_ALLOWED=NO
85+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9286

9387
# The test target is the only place a platform gate in TEST code is ever checked. `swift test`
9488
# on macOS compiles the macOS side of every `#if`, so a gate put around a helper instead of
@@ -98,12 +92,16 @@ jobs:
9892
#
9993
# EXCLUDED_ARCHS because a generic simulator destination builds both slices and `libdovi.a`
10094
# ships arm64 only, so the x86_64 link fails and says nothing about this repo.
95+
#
96+
# This step also compiles the library, so no separate `xcodebuild build` of the AetherEngine
97+
# scheme runs first: that doubled every simulator job's compile, and the x86_64 slice it added
98+
# is one no app can link anyway.
10199
- name: Build the tests for tvOS Simulator
102100
run: |
103101
xcodebuild build-for-testing \
104102
-scheme AetherEngineTests \
105103
-destination 'generic/platform=tvOS Simulator' \
106-
-derivedDataPath .build/xcode-tvos-tests \
104+
-derivedDataPath .build/xcode-tvos \
107105
EXCLUDED_ARCHS=x86_64 \
108106
CODE_SIGNING_ALLOWED=NO
109107
@@ -120,52 +118,12 @@ jobs:
120118
-derivedDataPath .build/xcode-probe \
121119
CODE_SIGNING_ALLOWED=NO
122120
123-
build-ios:
124-
name: xcodebuild (iOS Simulator)
125-
runs-on: macos-15
126-
timeout-minutes: 30
127-
steps:
128-
- uses: actions/checkout@v4
129-
130-
- uses: maxim-lobanov/setup-xcode@v1
131-
with:
132-
xcode-version: latest-stable
133-
134-
- name: Build for iOS Simulator
135-
run: |
136-
xcodebuild build \
137-
-scheme AetherEngine \
138-
-destination 'generic/platform=iOS Simulator' \
139-
-derivedDataPath .build/xcode-ios \
140-
CODE_SIGNING_ALLOWED=NO
141-
142-
# The other half of the gate check above; see the tvOS job for why the test target needs its
143-
# own build and why x86_64 is excluded.
144-
- name: Build the tests for iOS Simulator
145-
run: |
146-
xcodebuild build-for-testing \
147-
-scheme AetherEngineTests \
148-
-destination 'generic/platform=iOS Simulator' \
149-
-derivedDataPath .build/xcode-ios-tests \
150-
EXCLUDED_ARCHS=x86_64 \
151-
CODE_SIGNING_ALLOWED=NO
152-
153-
# #344: the package has declared visionOS since 6.0.0 and nothing here compiled for it, so an
154-
# availability list that named tvOS/iOS/macOS and then fell through to `*` broke the visionOS
155-
# build silently. `*` resolves to the declared visionOS floor (1.0), so any API newer than that
156-
# is a compile error on visionOS and on no other platform. Nobody here owns a Vision Pro, which
157-
# makes this job the only place the platform is exercised at all.
158-
build-visionos:
159-
name: xcodebuild (visionOS Simulator)
160-
runs-on: macos-15
161-
timeout-minutes: 30
162-
steps:
163-
- uses: actions/checkout@v4
164-
165-
- uses: maxim-lobanov/setup-xcode@v1
166-
with:
167-
xcode-version: latest-stable
168-
121+
# #344: the package has declared visionOS since 6.0.0 and nothing here compiled for it, so an
122+
# availability list that named tvOS/iOS/macOS and then fell through to `*` broke the visionOS
123+
# build silently. `*` resolves to the declared visionOS floor (1.0), so any API newer than that
124+
# is a compile error on visionOS and on no other platform. Nobody here owns a Vision Pro, which
125+
# makes this step the only place the platform is exercised at all. It rides in this job so CI
126+
# stays within the account's concurrent macOS runners instead of queueing a sixth job.
169127
- name: Build for visionOS Simulator
170128
run: |
171129
xcodebuild build \
@@ -174,61 +132,30 @@ jobs:
174132
-derivedDataPath .build/xcode-visionos \
175133
CODE_SIGNING_ALLOWED=NO
176134
177-
# The Xcode 27 lane. Every job above resolves `latest-stable` on macos-15, which is Xcode 26.3,
178-
# while the engine is consumed and released from Xcode 27, and Swift 6.4 rejects isolation shapes
179-
# 6.3 accepted (the Sodalite test target stopped compiling on exactly that, 2026-09-16). These two
180-
# jobs compile the package and both test targets against the 27 toolchain, for macOS and for the
181-
# tvOS 27 SDK.
182-
#
183-
# They build and do not run the tests, on purpose. `xcode-27` is GitHub's preview image and runs a
184-
# BETA macOS 27 (26A5406e) under Xcode 27 beta 6: measured on two attempts of the first run, Vision
185-
# text recognition returns nil there and the loopback-origin tests starve (a global-queue block not
186-
# scheduled within 30 s, a TLS relay request timing out), a different set of network tests each
187-
# time, while all 2983 pass on macOS 27 GA on a Mac. A lane that is red for its image teaches
188-
# everyone to ignore red. Run `swift test` here once a GA macOS 27 image ships, and that is also
189-
# the point to move to its label; the preview label disappearing fails these jobs loudly first.
190-
# This lane replaces the weekly beta SDK watcher, whose one subject (#351) the 7.0 platform floor
191-
# closed.
192-
build-macos-xcode27:
193-
name: swift build --build-tests (macOS, Xcode 27)
194-
runs-on: xcode-27
195-
timeout-minutes: 30
196-
steps:
197-
- uses: actions/checkout@v4
198-
199-
- name: Show toolchain
200-
run: |
201-
swift --version
202-
xcodebuild -version
203-
204-
- name: swift build --build-tests
205-
run: swift build --build-tests
206-
207-
build-tvos-xcode27:
208-
name: xcodebuild (tvOS Simulator, Xcode 27)
135+
build-ios:
136+
name: xcodebuild (iOS Simulator) + release aetherctl
209137
runs-on: xcode-27
210138
timeout-minutes: 30
211139
steps:
212-
- uses: actions/checkout@v4
213-
214-
- name: Build for tvOS Simulator
215-
run: |
216-
xcodebuild build \
217-
-scheme AetherEngine \
218-
-destination 'generic/platform=tvOS Simulator' \
219-
-derivedDataPath .build/xcode-tvos \
220-
CODE_SIGNING_ALLOWED=NO
140+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
221141

222-
# See the tvOS job above for why the test target needs its own build and why x86_64 is excluded.
223-
- name: Build the tests for tvOS Simulator
142+
# The other half of the gate check above; see the tvOS job for why the test target needs its
143+
# own build and why x86_64 is excluded.
144+
- name: Build the tests for iOS Simulator
224145
run: |
225146
xcodebuild build-for-testing \
226147
-scheme AetherEngineTests \
227-
-destination 'generic/platform=tvOS Simulator' \
228-
-derivedDataPath .build/xcode-tvos-tests \
148+
-destination 'generic/platform=iOS Simulator' \
149+
-derivedDataPath .build/xcode-ios \
229150
EXCLUDED_ARCHS=x86_64 \
230151
CODE_SIGNING_ALLOWED=NO
231152
153+
# Every other Swift step in CI is Debug, and aetherctl is not a product, so no consumer compiles
154+
# it either: a DEBUG-only engine hook called without a guard kept Release broken from 7.6.0 to
155+
# 7.14.0 without anything noticing (AE#610). Off the `swift test` job's critical path.
156+
- name: swift build -c release (aetherctl)
157+
run: swift build -c release --product aetherctl
158+
232159
# The docs site (aetherengine-website) validates every heading anchor at build time, but it
233160
# lives in another repo and only builds AFTER a push to main, so a broken anchor ships first
234161
# and is found second: `docs/api.md` linked `formats.md#dolby-vision` against a heading that
@@ -240,7 +167,7 @@ jobs:
240167
runs-on: ubuntu-latest
241168
timeout-minutes: 5
242169
steps:
243-
- uses: actions/checkout@v4
170+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
244171

245172
- name: Validate relative links and heading anchors in the published docs
246173
run: python3 Scripts/check-doc-links.py

‎.github/workflows/release-dmg.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,14 @@ jobs:
4949
runs-on: macos-15
5050
timeout-minutes: 30
5151
steps:
52-
- uses: actions/checkout@v4
52+
# workflow_dispatch checks out the ref picked in "Use workflow from"
53+
# (normally main), so the tag is pinned explicitly: the DMG is named,
54+
# versioned and uploaded for the tag and must be built from it (audit OPS-101).
55+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
56+
with:
57+
ref: refs/tags/${{ github.event.release.tag_name || inputs.tag }}
5358

54-
- uses: maxim-lobanov/setup-xcode@v1
59+
- uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
5560
with:
5661
xcode-version: latest-stable
5762

@@ -65,6 +70,7 @@ jobs:
6570
fi
6671
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
6772
echo "Building for tag: $TAG"
73+
echo "Building commit: $(git rev-parse HEAD)"
6874
6975
- name: Import Developer ID certificate into temporary keychain
7076
env:

‎.github/workflows/used-by-add.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030

3131
- name: Normalise the issue body
3232
id: normalise
@@ -62,7 +62,7 @@ jobs:
6262
6363
- name: Parse issue form
6464
id: parse
65-
uses: stefanbuck/github-issue-parser@v3
65+
uses: stefanbuck/github-issue-parser@cb6e97157cbf851e3a393ff8d57c93a484cc323f # v3.2.5
6666
with:
6767
template-path: .github/ISSUE_TEMPLATE/used-by-submission.yml
6868
issue-body: ${{ steps.normalise.outputs.body }}
@@ -151,7 +151,7 @@ jobs:
151151
- name: Open pull request
152152
if: steps.build.outputs.skip == 'false'
153153
id: pr
154-
uses: peter-evans/create-pull-request@v6
154+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
155155
with:
156156
# Only the README, so no stray runner file can ride along.
157157
add-paths: README.md

0 commit comments

Comments
 (0)