You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI/CD optimization and repository health improvements #1980
This issue tracks workflow optimizations and repository-level improvements. The primary goal is reducing MAC37 queue time and cleaning up committed artifacts.
runs-at-night.yml
No functional changes needed — file is fully commented out; either restore it or delete it to avoid dead-code confusion
deploy-docs-to-staging.yml
Delete workflow file entirely
push.yml
Restrict to run only on auto-update branches (currently fires on every push to every branch, including auto-update branches created by transfer_to_open_source.yml in the closed-source repo)
[TBD] Move Roslyn-Analyzer-dotnet job from MAC37 to a Windows runner — it only needs dotnet, not macOS
[TBD] Move copyright job from MAC37 to a Windows runner — it only runs a PowerShell script
Add timeout-minutes: 60 to all build/test jobs
Add actions/cache for Library/ keyed on Assets/**, Packages/**, ProjectSettings/** — currently every run reimports Unity assets from scratch
Runner Distribution
Change all runs-on: [self-hosted, MAC37] to runs-on: [self-hosted, macOS] for jobs that don't require Mac37 specifically — this allows Mac36 to share the load
Repository Hygiene
Remove committed .DS_Store files — listed in .gitignore but committed before the rule was added; run git rm --cached $(git ls-files -i --exclude-standard) and commit
Remove committed .venv/ directory — a full Python virtual environment is tracked in source control; run git rm -r --cached .venv/
Verify Library/ folder is not tracked — it exists in the working tree; confirm it is fully excluded by the .gitignore
Make sure that there is a single file as source of truth for version
Standardize issue templates to match the shared template set
#1988 covers every item in this repo. The version source-of-truth item is tracked separately in alttester/AltTester-Unity-SDK-Closed-Source#310, since those files live under directories the mirror sync overwrites.
Verified
☑️ runs-at-night.yml deleted — 621 lines, 537 of them comments, no functional content
☑️ deploy-docs-to-staging.yml deleted
☑️ push.yml restricted to feature/auto-update-* — no run on the commit that introduced it, where the two before it each produced one
☑️ Roslyn-Analyzer-dotnet on AltWindows2 — passes in 2m25s on a cold Windows cache
☑️ copyright on AltWindows2 — passes; needed an actions/checkout it never had
☑️ timeout-minutes: 60 on all seven build and test jobs
☑️ Library/ cache — 176 MB saved on the miss, restored in 10s, Roslyn-Analyzer-dotnet 2m48s → 1m58s (run 34965975232)
☑️ 16 of 17 MAC37 references moved to [self-hosted, macOS]; the last went to Windows
☑️ .DS_Store, .venv/ and Library/ — already clean, nothing tracked
☑️ Issue templates replaced with the shared YAML set
How it was tested
Runner labels were mapped from the jobs API across ~100 historical assignments, then confirmed with a probe workflow running three concurrent jobs on the same labels — a self-hosted runner takes one job at a time, so a second machine carrying them would have shown up. All three landed on one runner. The same run read the runner's own environment rather than an interactive shell on the box, which reports a different one.
copyright.ps1 was run under Windows PowerShell 5.1 and pwsh 7 against identical fixtures. Byte-identical output, so nothing had to be installed on a runner shared with the Desktop release pipeline.
build-ipa needed EXPORT_OPTIONS_LOCATION and export-options.plist, which existed only on MAC37. Both were provisioned on MAC35 before the relabel.
Still open
EXPORT_OPTIONS_LOCATION and export-options.plistmust be provisioned on MAC36 too. copyright rewrites files in place with no commit step, so it cannot fail on a missing header — 27 files currently have none.
Activity
ci: delete deploy-docs-to-staging.yml (#1980)
ci: run push.yml only on auto-update branches (#1980)
ci: let build and packaging jobs run on any macOS runner (#1980)
ci: push whatever dotnet pack produced, not a pinned filename (#1980)
ci: run the test and iOS jobs on any macOS runner (#1980)
ci: run the copyright job on the Windows runner (#1980)
ci: run the Roslyn analyzer on the Windows runner (#1980)
ci: run the copyright job on the Windows runner (#1980)
ci: run the Roslyn analyzer on the Windows runner (#1980)
adrianbobis-blip commentedon Sep 16, 2026
#1988 covers every item in this repo. The version source-of-truth item is tracked separately in alttester/AltTester-Unity-SDK-Closed-Source#310, since those files live under directories the mirror sync overwrites.
Verified
runs-at-night.ymldeleted — 621 lines, 537 of them comments, no functional contentdeploy-docs-to-staging.ymldeletedpush.ymlrestricted tofeature/auto-update-*— no run on the commit that introduced it, where the two before it each produced oneRoslyn-Analyzer-dotneton AltWindows2 — passes in 2m25s on a cold Windows cachecopyrighton AltWindows2 — passes; needed anactions/checkoutit never hadtimeout-minutes: 60on all seven build and test jobsLibrary/cache — 176 MB saved on the miss, restored in 10s,Roslyn-Analyzer-dotnet2m48s → 1m58s (run 34965975232)MAC37references moved to[self-hosted, macOS]; the last went to Windows.DS_Store,.venv/andLibrary/— already clean, nothing trackedHow it was tested
Runner labels were mapped from the jobs API across ~100 historical assignments, then confirmed with a probe workflow running three concurrent jobs on the same labels — a self-hosted runner takes one job at a time, so a second machine carrying them would have shown up. All three landed on one runner. The same run read the runner's own environment rather than an interactive shell on the box, which reports a different one.
copyright.ps1was run under Windows PowerShell 5.1 and pwsh 7 against identical fixtures. Byte-identical output, so nothing had to be installed on a runner shared with the Desktop release pipeline.build-ipaneededEXPORT_OPTIONS_LOCATIONandexport-options.plist, which existed only on MAC37. Both were provisioned on MAC35 before the relabel.Still open
EXPORT_OPTIONS_LOCATIONandexport-options.plistmust be provisioned on MAC36 too.copyrightrewrites files in place with no commit step, so it cannot fail on a missing header — 27 files currently have none.Setup
1980-ci-cd-cleanup