[eric] ci: drop macOS legs and gate the packaged-app build on artifact paths

- e2e + dogfood matrices are now windows-latest only: GitHub's scarce mac
  runners left the macos legs perpetually queued/starved and they surfaced
  mac-only failures untriageable from the Windows dev box, so the whole
  matrix read red
- remove the now-dead macOS build steps; re-add macos-14/macos-13 (matrix
  edit + workflow_dispatch) when a Mac maintainer can own them
- gate the expensive build on artifact-affecting paths only (electron,
  frontend, backend, e2e, build+ci scripts) plus PRs to main + dispatch;
  cheap hermetic gates still run on every push
- verify-release-readiness defaults to --require win32 so the removed darwin
  leg does not block every v* tag forever
This commit is contained in:
Eric
2026-05-28 23:14:01 -07:00
parent e0ebd23a5a
commit d6e6f9e9e0
3 changed files with 50 additions and 22 deletions
+5 -1
View File
@@ -7,7 +7,11 @@ const path = require('path');
const h = require('./lib/app-harness');
function parseArgs(argv) {
const out = { tunings: null, requirePlatforms: ['win32', 'darwin'] };
// Windows-only by default: the macOS dogfood legs were removed (runner
// starvation + untriageable mac-only failures), so darwin never accrues runs
// and requiring it would block every v* tag forever. Re-add a Mac leg to
// dogfood and pass --require win32,darwin once a maintainer owns it.
const out = { tunings: null, requirePlatforms: ['win32'] };
for (let i = 0; i < argv.length; i++) {
if (argv[i] === '--tunings') out.tunings = argv[++i];
else if (argv[i] === '--require') out.requirePlatforms = argv[++i].split(',');