Skip to content

Commit d829bfc

Browse files
frostebiteclaudekitlith
authored
chore: v5 prep — dep bumps, linux64 extension, legacy CLI removal, Cli→PluginOptions rename (#837)
* fix: remove concurrency block from reusable workflow to prevent deadlock When integrity-check.yml calls validate-orchestrator-integration.yml via workflow_call, both workflows resolve github.workflow to the same name ("Integrity"), creating identical concurrency groups. GitHub detects this as a deadlock and cancels the run. Fix: remove concurrency from the reusable workflow entirely — the caller already manages concurrency for the group. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add linux64RemoveExecutableExtension parameter (default: false) Adds configurable control over the `.x86_64` file extension for StandaloneLinux64 builds. Default is `false` (keep the extension), matching Unity's native behavior. Set `linux64RemoveExecutableExtension: true` to restore the extensionless behavior from v4. Rebased from kitlith's original PR #726. Default flipped for v5. Closes #722 Co-Authored-By: kitlith <kitlith@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: bump production dependencies (minor/patch) - @actions/cache ^4.0.0 → ^4.1.0 - @actions/github ^6.0.0 → ^6.0.1 - commander ^9.0.0 → ^9.5.0 - nanoid ^3.3.1 → ^3.3.12 - reflect-metadata ^0.1.13 → ^0.2.2 - semver ^7.5.2 → ^7.7.4 - yaml ^2.2.2 → ^2.8.4 All minor/patch bumps. Major bumps (@actions/core 3.x, nanoid 5.x ESM) deferred to a separate PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: remove legacy CLI bootstrap and unused deps Remove InitCliMode/RunCli, @CliFunction decorator, and CliFunctionsRepository. The only registered CLI mode was `print-input` which is unused — all real CLI functionality lives in the orchestrator repo now. This drops 3 dependencies: - commander-ts (decorator-based CLI, needed reflect-metadata) - reflect-metadata (peer dep of commander-ts) - commander (only used for OptionValues type) Cli.options, Cli.isCliMode, and Cli.query remain — the orchestrator plugin sets these directly without commander. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: rename Cli to PluginOptions, remove cli directory Cli class was a legacy name from when unity-builder had its own CLI. Now it's just an options bridge for plugins — renamed to PluginOptions with a backwards-compatible Cli alias for the orchestrator. Moved from src/model/cli/cli.ts to src/model/plugin-options.ts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(ci): fix orchestrator integration test failures Two issues: 1. jest → vitest: the repo migrated to vitest but the integration workflow still called `npx jest`. Changed to `npx vitest run`. 2. Git checkout corruption: when the orchestrator branch matching the PR doesn't exist, the first checkout fails leaving a corrupted .git directory. The fallback step then hits `fatal: ambiguous argument 'HEAD'`. Fix: add `clean: true` to all fallback checkout steps so they wipe the broken state before re-cloning. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(ci): wipe .git before fallback checkout, fix remaining jest syntax - Add `rm -rf .git` step before fallback checkout to clear corrupted state when branch-matching checkout fails - Fix unit test step: replace jest --testPathPattern with vitest positional filters (same fix as orchestrator PR #18) - Replace all --detectOpenHandles --forceExit --runInBand with vitest --no-file-parallelism Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: simplify plugin mode check --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: kitlith <kitlith@users.noreply.github.com>
1 parent 2240bed commit d829bfc

13 files changed

Lines changed: 159 additions & 246 deletions

.github/workflows/validate-orchestrator-integration.yml

Lines changed: 56 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Run plugin interface unit tests
9696
run: |
9797
echo "Running orchestrator-plugin unit tests..."
98-
npx jest orchestrator-plugin --verbose --detectOpenHandles --forceExit
98+
npx vitest run orchestrator-plugin --reporter=verbose
9999
100100
- name: Build and pack orchestrator
101101
working-directory: orchestrator-standalone
@@ -167,6 +167,10 @@ jobs:
167167
continue-on-error: true
168168
id: orch-branch
169169

170+
- name: Clean corrupted checkout
171+
if: steps.orch-branch.outcome == 'failure'
172+
run: rm -rf .git || true
173+
170174
- name: Fallback to orchestrator main branch
171175
if: steps.orch-branch.outcome == 'failure'
172176
uses: actions/checkout@v4
@@ -320,9 +324,20 @@ jobs:
320324
- name: Run orchestrator unit tests (fast, no infra)
321325
timeout-minutes: 2
322326
run: >-
323-
yarn run test
324-
--testPathPattern="orchestrator-guid|orchestrator-folders|task-parameter-serializer|follow-log-stream-service|runner-availability-service|provider-url-parser|provider-loader|provider-git-manager|orchestrator-image|orchestrator-hooks|orchestrator-github-checks|middleware-service"
325-
--verbose --detectOpenHandles --forceExit --runInBand
327+
yarn vitest run
328+
"orchestrator-guid"
329+
"orchestrator-folders"
330+
"task-parameter-serializer"
331+
"follow-log-stream-service"
332+
"runner-availability-service"
333+
"provider-url-parser"
334+
"provider-loader"
335+
"provider-git-manager"
336+
"orchestrator-image"
337+
"orchestrator-hooks"
338+
"orchestrator-github-checks"
339+
"middleware-service"
340+
--reporter=verbose --no-file-parallelism
326341
327342
# --- K8s cluster setup ---
328343
- name: Clean up disk space before K8s tests
@@ -372,7 +387,7 @@ jobs:
372387
# --- K8s Test 1: orchestrator-image ---
373388
- name: Run orchestrator-image test (K8s)
374389
timeout-minutes: 10
375-
run: yarn run test "orchestrator-image" --detectOpenHandles --forceExit --runInBand
390+
run: yarn run test "orchestrator-image" --no-file-parallelism
376391
env:
377392
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
378393
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -396,7 +411,7 @@ jobs:
396411
# --- K8s Test 2: orchestrator-kubernetes ---
397412
- name: Run orchestrator-kubernetes test
398413
timeout-minutes: 30
399-
run: yarn run test "orchestrator-kubernetes" --detectOpenHandles --forceExit --runInBand
414+
run: yarn run test "orchestrator-kubernetes" --no-file-parallelism
400415
env:
401416
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
402417
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -428,7 +443,7 @@ jobs:
428443
# --- K8s Test 3: orchestrator-s3-steps ---
429444
- name: Run orchestrator-s3-steps test (K8s)
430445
timeout-minutes: 30
431-
run: yarn run test "orchestrator-s3-steps" --detectOpenHandles --forceExit --runInBand
446+
run: yarn run test "orchestrator-s3-steps" --no-file-parallelism
432447
env:
433448
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
434449
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -461,7 +476,7 @@ jobs:
461476
- name: Run orchestrator-end2end-caching test (K8s)
462477
timeout-minutes: 60
463478
continue-on-error: true
464-
run: yarn run test "orchestrator-end2end-caching" --detectOpenHandles --forceExit --runInBand
479+
run: yarn run test "orchestrator-end2end-caching" --no-file-parallelism
465480
env:
466481
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
467482
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -500,7 +515,7 @@ jobs:
500515
- name: Run orchestrator-end2end-retaining test (K8s)
501516
timeout-minutes: 60
502517
continue-on-error: true
503-
run: yarn run test "orchestrator-end2end-retaining" --detectOpenHandles --forceExit --runInBand
518+
run: yarn run test "orchestrator-end2end-retaining" --no-file-parallelism
504519
env:
505520
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
506521
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -560,6 +575,10 @@ jobs:
560575
continue-on-error: true
561576
id: orch-branch
562577

578+
- name: Clean corrupted checkout
579+
if: steps.orch-branch.outcome == 'failure'
580+
run: rm -rf .git || true
581+
563582
- name: Fallback to orchestrator main branch
564583
if: steps.orch-branch.outcome == 'failure'
565584
uses: actions/checkout@v4
@@ -650,7 +669,7 @@ jobs:
650669
# --- AWS Test 1: orchestrator-image ---
651670
- name: Run orchestrator-image test (AWS)
652671
timeout-minutes: 10
653-
run: yarn run test "orchestrator-image" --detectOpenHandles --forceExit --runInBand
672+
run: yarn run test "orchestrator-image" --no-file-parallelism
654673
env:
655674
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
656675
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -668,7 +687,7 @@ jobs:
668687
# --- AWS Test 2: orchestrator-environment ---
669688
- name: Run orchestrator-environment test (AWS)
670689
timeout-minutes: 30
671-
run: yarn run test "orchestrator-environment" --detectOpenHandles --forceExit --runInBand
690+
run: yarn run test "orchestrator-environment" --no-file-parallelism
672691
env:
673692
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
674693
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -686,7 +705,7 @@ jobs:
686705
# --- AWS Test 3: orchestrator-s3-steps ---
687706
- name: Run orchestrator-s3-steps test (AWS)
688707
timeout-minutes: 30
689-
run: yarn run test "orchestrator-s3-steps" --detectOpenHandles --forceExit --runInBand
708+
run: yarn run test "orchestrator-s3-steps" --no-file-parallelism
690709
env:
691710
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
692711
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -704,7 +723,7 @@ jobs:
704723
# --- AWS Test 4: orchestrator-hooks ---
705724
- name: Run orchestrator-hooks test (AWS)
706725
timeout-minutes: 30
707-
run: yarn run test "orchestrator-hooks" --detectOpenHandles --forceExit --runInBand
726+
run: yarn run test "orchestrator-hooks" --no-file-parallelism
708727
env:
709728
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
710729
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -722,7 +741,7 @@ jobs:
722741
# --- AWS Test 5: orchestrator-caching ---
723742
- name: Run orchestrator-caching test (AWS)
724743
timeout-minutes: 60
725-
run: yarn run test "orchestrator-caching" --detectOpenHandles --forceExit --runInBand
744+
run: yarn run test "orchestrator-caching" --no-file-parallelism
726745
env:
727746
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
728747
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -740,7 +759,7 @@ jobs:
740759
# --- AWS Test 6: orchestrator-locking-core ---
741760
- name: Run orchestrator-locking-core test (AWS)
742761
timeout-minutes: 60
743-
run: yarn run test "orchestrator-locking-core" --detectOpenHandles --forceExit --runInBand
762+
run: yarn run test "orchestrator-locking-core" --no-file-parallelism
744763
env:
745764
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
746765
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -758,7 +777,7 @@ jobs:
758777
# --- AWS Test 7: orchestrator-locking-get-locked ---
759778
- name: Run orchestrator-locking-get-locked test (AWS)
760779
timeout-minutes: 60
761-
run: yarn run test "orchestrator-locking-get-locked" --detectOpenHandles --forceExit --runInBand
780+
run: yarn run test "orchestrator-locking-get-locked" --no-file-parallelism
762781
env:
763782
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
764783
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -782,7 +801,7 @@ jobs:
782801
- name: Run orchestrator-end2end-caching test (AWS)
783802
timeout-minutes: 60
784803
continue-on-error: true
785-
run: yarn run test "orchestrator-end2end-caching" --detectOpenHandles --forceExit --runInBand
804+
run: yarn run test "orchestrator-end2end-caching" --no-file-parallelism
786805
env:
787806
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
788807
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -801,7 +820,7 @@ jobs:
801820
- name: Run orchestrator-end2end-retaining test (AWS)
802821
timeout-minutes: 60
803822
continue-on-error: true
804-
run: yarn run test "orchestrator-end2end-retaining" --detectOpenHandles --forceExit --runInBand
823+
run: yarn run test "orchestrator-end2end-retaining" --no-file-parallelism
805824
env:
806825
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
807826
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -820,7 +839,7 @@ jobs:
820839
- name: Run orchestrator-end2end-locking test (AWS)
821840
timeout-minutes: 60
822841
continue-on-error: true
823-
run: yarn run test "orchestrator-end2end-locking" --detectOpenHandles --forceExit --runInBand
842+
run: yarn run test "orchestrator-end2end-locking" --no-file-parallelism
824843
env:
825844
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
826845
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -865,6 +884,10 @@ jobs:
865884
continue-on-error: true
866885
id: orch-branch
867886

887+
- name: Clean corrupted checkout
888+
if: steps.orch-branch.outcome == 'failure'
889+
run: rm -rf .git || true
890+
868891
- name: Fallback to orchestrator main branch
869892
if: steps.orch-branch.outcome == 'failure'
870893
uses: actions/checkout@v4
@@ -954,7 +977,7 @@ jobs:
954977
# --- Local Docker Test 1: orchestrator-image ---
955978
- name: Run orchestrator-image test (local-docker)
956979
timeout-minutes: 10
957-
run: yarn run test "orchestrator-image" --detectOpenHandles --forceExit --runInBand
980+
run: yarn run test "orchestrator-image" --no-file-parallelism
958981
env:
959982
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
960983
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -972,7 +995,7 @@ jobs:
972995
# --- Local Docker Test 2: orchestrator-hooks ---
973996
- name: Run orchestrator-hooks test (local-docker)
974997
timeout-minutes: 30
975-
run: yarn run test "orchestrator-hooks" --detectOpenHandles --forceExit --runInBand
998+
run: yarn run test "orchestrator-hooks" --no-file-parallelism
976999
env:
9771000
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
9781001
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -990,7 +1013,7 @@ jobs:
9901013
# --- Local Docker Test 3: orchestrator-local-persistence ---
9911014
- name: Run orchestrator-local-persistence test (local-docker)
9921015
timeout-minutes: 30
993-
run: yarn run test "orchestrator-local-persistence" --detectOpenHandles --forceExit --runInBand
1016+
run: yarn run test "orchestrator-local-persistence" --no-file-parallelism
9941017
env:
9951018
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
9961019
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1008,7 +1031,7 @@ jobs:
10081031
# --- Local Docker Test 4: orchestrator-caching ---
10091032
- name: Run orchestrator-caching test (local-docker)
10101033
timeout-minutes: 30
1011-
run: yarn run test "orchestrator-caching" --detectOpenHandles --forceExit --runInBand
1034+
run: yarn run test "orchestrator-caching" --no-file-parallelism
10121035
env:
10131036
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
10141037
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1026,7 +1049,7 @@ jobs:
10261049
# --- Local Docker Test 5: orchestrator-github-checks ---
10271050
- name: Run orchestrator-github-checks test (local-docker)
10281051
timeout-minutes: 30
1029-
run: yarn run test "orchestrator-github-checks" --detectOpenHandles --forceExit --runInBand
1052+
run: yarn run test "orchestrator-github-checks" --no-file-parallelism
10301053
env:
10311054
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
10321055
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1044,7 +1067,7 @@ jobs:
10441067
# --- Local Docker Test 6: orchestrator-locking-core (with S3) ---
10451068
- name: Run orchestrator-locking-core test (local-docker + S3)
10461069
timeout-minutes: 30
1047-
run: yarn run test "orchestrator-locking-core" --detectOpenHandles --forceExit --runInBand
1070+
run: yarn run test "orchestrator-locking-core" --no-file-parallelism
10481071
env:
10491072
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
10501073
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1062,7 +1085,7 @@ jobs:
10621085
# --- Local Docker Test 7: orchestrator-locking-get-locked (with S3) ---
10631086
- name: Run orchestrator-locking-get-locked test (local-docker + S3)
10641087
timeout-minutes: 30
1065-
run: yarn run test "orchestrator-locking-get-locked" --detectOpenHandles --forceExit --runInBand
1088+
run: yarn run test "orchestrator-locking-get-locked" --no-file-parallelism
10661089
env:
10671090
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
10681091
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1080,7 +1103,7 @@ jobs:
10801103
# --- Local Docker Test 8: orchestrator-s3-steps (with S3) ---
10811104
- name: Run orchestrator-s3-steps test (local-docker + S3)
10821105
timeout-minutes: 30
1083-
run: yarn run test "orchestrator-s3-steps" --detectOpenHandles --forceExit --runInBand
1106+
run: yarn run test "orchestrator-s3-steps" --no-file-parallelism
10841107
env:
10851108
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
10861109
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1099,7 +1122,7 @@ jobs:
10991122
- name: Run orchestrator-end2end-caching test (local-docker + S3)
11001123
timeout-minutes: 60
11011124
continue-on-error: true
1102-
run: yarn run test "orchestrator-end2end-caching" --detectOpenHandles --forceExit --runInBand
1125+
run: yarn run test "orchestrator-end2end-caching" --no-file-parallelism
11031126
env:
11041127
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
11051128
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -1144,6 +1167,10 @@ jobs:
11441167
continue-on-error: true
11451168
id: orch-branch
11461169

1170+
- name: Clean corrupted checkout
1171+
if: steps.orch-branch.outcome == 'failure'
1172+
run: rm -rf .git || true
1173+
11471174
- name: Fallback to orchestrator main branch
11481175
if: steps.orch-branch.outcome == 'failure'
11491176
uses: actions/checkout@v4
@@ -1220,7 +1247,7 @@ jobs:
12201247
# --- Rclone Test ---
12211248
- name: Run orchestrator-rclone-steps test
12221249
timeout-minutes: 30
1223-
run: yarn run test "orchestrator-rclone-steps" --detectOpenHandles --forceExit --runInBand
1250+
run: yarn run test "orchestrator-rclone-steps" --no-file-parallelism
12241251
env:
12251252
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
12261253
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ inputs:
178178
default: 'false'
179179
required: false
180180
description: 'Skip the activation/deactivation of Unity. This assumes Unity is already activated.'
181+
linux64RemoveExecutableExtension:
182+
default: 'false'
183+
required: false
184+
description:
185+
'When building for StandaloneLinux64, remove the default file extension of `.x86_64`. Set to true to restore the extensionless behavior from v4.'
181186

182187
outputs:
183188
volume:

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,16 @@
3232
"node": ">=18.x"
3333
},
3434
"dependencies": {
35-
"@actions/cache": "^4.0.0",
35+
"@actions/cache": "^4.1.0",
3636
"@actions/core": "^1.11.1",
3737
"@actions/exec": "^1.1.1",
38-
"@actions/github": "^6.0.0",
39-
"commander": "^9.0.0",
40-
"commander-ts": "^0.2.0",
38+
"@actions/github": "^6.0.1",
4139
"md5": "^2.3.0",
42-
"nanoid": "^3.3.1",
43-
"reflect-metadata": "^0.1.13",
44-
"semver": "^7.5.2",
40+
"nanoid": "^3.3.12",
41+
"semver": "^7.7.4",
4542
"ts-md5": "^1.3.1",
4643
"unity-changeset": "^3.1.0",
47-
"yaml": "^2.2.2"
44+
"yaml": "^2.8.4"
4845
},
4946
"devDependencies": {
5047
"@types/node": "^17.0.23",

src/index-plugin-features.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ vi.mock('./model', () => ({
6666
},
6767
}));
6868

69-
vi.mock('./model/cli/cli', () => ({
70-
Cli: {
71-
InitCliMode: vi.fn().mockReturnValue(false),
72-
},
73-
}));
74-
7569
vi.mock('./model/mac-builder', () => ({
7670
__esModule: true,
7771
default: {

src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as core from '@actions/core';
22
import { Action, BuildParameters, Cache, Docker, ImageTag, Output } from './model';
3-
import { Cli } from './model/cli/cli';
43
import MacBuilder from './model/mac-builder';
54
import PlatformSetup from './model/platform-setup';
65
import { Plugin, loadPlugin } from './model/plugin';
@@ -9,11 +8,6 @@ import { Plugin, loadPlugin } from './model/plugin';
98
// vitest's module re-loading (which changed in vitest 4).
109
export async function runMain() {
1110
try {
12-
if (Cli.InitCliMode()) {
13-
await Cli.RunCli();
14-
15-
return;
16-
}
1711
Action.checkCompatibility();
1812
Cache.verify();
1913

0 commit comments

Comments
 (0)