ci: add bounded macOS cleanup canary#12
Conversation
|
Exact reviewed head Cursor (@cursor) review Copilot review Please focus on same-runner always-return scheduling, bounded process-group cleanup, blocked-evidence precedence, secret-safe nonce proof, and exact v1.8.3 cooldown release semantics. |
|
Fresh head Cursor (@cursor) review Copilot review |
|
GitHub Actions recovery rerun is green on unchanged head Cursor (@cursor) review Copilot review |
|
Fresh head Cursor (@cursor) review Copilot review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4a61b61. Configure here.
|
Cursor’s inline finding is fixed on fresh head Cursor (@cursor) review Copilot review |
|
Fresh head Cursor (@cursor) review Copilot review |
|
Bounded macOS acceptance run 29715355239 is green on exact head Merge remains intentionally gated only on the issue's Unity Portal inventory reconciliation. No organization or central policy/configuration was changed. |
|
Final Unity Portal acceptance evidence (2026-07-19 America/Los_Angeles): the repository owner confirmed the Portal is clean and currently shows no seats held after macOS canary run 29715355239. This reconciles the account-side inventory with the workflow's exact-positive native return proof, |

Summary
agent/fix-empty-release-reasonWhy
The organization fork had no lock-protected macOS canary and no positive native return proof. A timed-out or ambiguous return could leave a paid Unity seat unsafe while the workflow lacked a bounded acceptance path.
Safety
smokemodeValidation
yarn test:ci— 383 passed, 2 skippedyarn test:workflow-policy— 10 passednode scripts/verify-resource-cleanup-contract.mjs— RC001–RC020 passedbash scripts/test-macos-resource-proof.sh— passedyarn typecheckactionlint .github/workflows/build-tests-mac.ymlgit diff --checkPost-PR acceptance
After hosted PR checks are green, dispatch
Builds - macOSinsmokemode, verify exact central holder removal/cooldown state, and reconcile Unity Portal inventory before merge.Fixes Ambiguous-Interactive/ambiguous-organization-build-lock#48
Note
High Risk
Changes Unity license activation/return handling and organization build-lock reporting; incorrect proof or release logic could leave paid seats stuck or falsely marked safe.
Overview
macOS CI is reworked into a manual
workflow_dispatchwithcontract-only,smoke, andupstream-fullmodes. A fixture job runstest-macos-resource-proof.sh; the org fork can run one lock-protected StandaloneOSX / 2022.3.62f3 smoke (acquire → build → optional same-runner fallback return → release → strict verification of confirmed cleanup, cooldown, and evidence digest). The full Unity matrix stays ongame-ci/unity-builderonly whenupstream-fullis selected.Action/runtime: Local builds on Windows and macOS now run
ResourceCleanupProofend-to-end.consumeclassifies private activation/return logs into typed outcomes (including account-limit 20111, timeouts, missing evidence) and publishesresourceCleanupStatus,resourceHealth,resourceReason, andresourceEvidenceDigest(digest binds classifications, not raw logs). macOS requires native return log +completed:0for confirmation.Windows CI aligns with the stricter contract: cleanup classification runs after failed/cancelled acquire paths; lock release and verify only treat cleanup as confirmed when both
resource-safeandresource-reason=cleanup-confirmed.Reviewed by Cursor Bugbot for commit c5543f4. Bugbot is set up for automated code reviews on this repo. Configure here.