eas-cli 26.0.0 → 27.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +216 -146
  2. package/build/build/build.js +6 -0
  3. package/build/build/errors.d.ts +2 -0
  4. package/build/build/errors.js +4 -1
  5. package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
  6. package/build/build/utils/expoTokenRole.d.ts +4 -0
  7. package/build/build/utils/expoTokenRole.js +14 -0
  8. package/build/commandUtils/EasCommand.js +3 -3
  9. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
  10. package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
  11. package/build/commandUtils/workflow/referencedFiles.js +63 -0
  12. package/build/commandUtils/workflow/types.d.ts +1 -1
  13. package/build/commandUtils/workflow/utils.js +34 -5
  14. package/build/commands/account/login.js +6 -0
  15. package/build/commands/account/view.d.ts +0 -7
  16. package/build/commands/account/view.js +4 -74
  17. package/build/commands/simulator/control.js +41 -6
  18. package/build/commands/simulator/logs.d.ts +22 -0
  19. package/build/commands/simulator/logs.js +188 -0
  20. package/build/commands/workflow/cancel.js +9 -20
  21. package/build/commands/workflow/run.js +9 -0
  22. package/build/commands/workflow/runs.js +1 -1
  23. package/build/graphql/generated.d.ts +294 -5
  24. package/build/graphql/generated.js +25 -4
  25. package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
  26. package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
  27. package/build/graphql/queries/WorkflowRunQuery.js +6 -0
  28. package/build/graphql/types/WorkflowRun.js +1 -0
  29. package/build/help.js +13 -6
  30. package/build/log.d.ts +2 -0
  31. package/build/log.js +10 -0
  32. package/build/project/projectStatus.js +1 -0
  33. package/build/simulator/artifacts.d.ts +9 -0
  34. package/build/simulator/artifacts.js +97 -0
  35. package/build/simulator/download.d.ts +2 -0
  36. package/build/simulator/download.js +57 -0
  37. package/build/simulator/events.js +2 -10
  38. package/build/simulator/preview.d.ts +26 -0
  39. package/build/simulator/preview.js +156 -0
  40. package/build/simulator/utils.d.ts +5 -0
  41. package/build/simulator/utils.js +42 -0
  42. package/build/user/accountPermissions.d.ts +11 -0
  43. package/build/user/accountPermissions.js +89 -0
  44. package/oclif.manifest.json +544 -396
  45. package/package.json +6 -6
@@ -237,8 +237,7 @@ export type Account = {
237
237
  * Whether the account turned on environment variable protection. When protection is on,
238
238
  * reading, using, creating, changing, or deleting an environment variable whose environments are
239
239
  * exclusively production needs the PUBLISH_PROTECTED permission, whatever its visibility, in
240
- * every project of the account. Expo can also turn protection on for an account; this field
241
- * does not show that.
240
+ * every project of the account.
242
241
  */
243
242
  environmentVariableProtectionEnabled: Scalars['Boolean']['output'];
244
243
  /** Environment variables for an account */
@@ -992,6 +991,7 @@ export type ActivityTimelineProjectActivity = {
992
991
  };
993
992
  export declare enum ActivityTimelineProjectActivityType {
994
993
  Build = "BUILD",
994
+ DeviceRunSession = "DEVICE_RUN_SESSION",
995
995
  Submission = "SUBMISSION",
996
996
  Update = "UPDATE",
997
997
  Worker = "WORKER",
@@ -2145,11 +2145,13 @@ export type AppObserve = {
2145
2145
  * @deprecated Use overview.stability instead.
2146
2146
  */
2147
2147
  overviewStability: AppObserveOverviewStability;
2148
- /** One session's metrics and logs for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2148
+ /** One session's metrics, logs and spans for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2149
2149
  session: AppObserveSession;
2150
2150
  /** @deprecated Use metrics.timeSeries instead. */
2151
2151
  timeSeries: AppObserveTimeSeries;
2152
2152
  totalEventCount: Scalars['Int']['output'];
2153
+ /** Trace spans: today the HTTP request spans recorded with the SDK's networkTraces option (ENG-28448). */
2154
+ traces: AppObserveTraces;
2153
2155
  /**
2154
2156
  * Approximate count of unique users (`eas_client_id`) with at least one
2155
2157
  * supported-metric event in `[startTime, endTime)`. Uses a ClickHouse
@@ -3418,6 +3420,8 @@ export type AppObserveSession = {
3418
3420
  logs: AppObserveLogConnection;
3419
3421
  /** Metric samples in the session. */
3420
3422
  metrics: AppObserveMetricConnection;
3423
+ /** Trace spans in the session. Defaults to oldest first. */
3424
+ spans: AppObserveSpanConnection;
3421
3425
  };
3422
3426
  export type AppObserveSession_LogsArgs = {
3423
3427
  after?: InputMaybe<Scalars['String']['input']>;
@@ -3433,6 +3437,177 @@ export type AppObserveSession_MetricsArgs = {
3433
3437
  last?: InputMaybe<Scalars['Int']['input']>;
3434
3438
  orderBy?: InputMaybe<AppObserveMetricsListOrderBy>;
3435
3439
  };
3440
+ export type AppObserveSession_SpansArgs = {
3441
+ after?: InputMaybe<Scalars['String']['input']>;
3442
+ filter?: InputMaybe<AppObserveSessionSpanFilter>;
3443
+ first?: InputMaybe<Scalars['Int']['input']>;
3444
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3445
+ };
3446
+ /** Filters for the spans of one session. The session already bounds the query. */
3447
+ export type AppObserveSessionSpanFilter = {
3448
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3449
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3450
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3451
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3452
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3453
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3454
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3455
+ };
3456
+ export type AppObserveSpan = {
3457
+ __typename?: 'AppObserveSpan';
3458
+ appBuildNumber: Scalars['String']['output'];
3459
+ appEasBuildId?: Maybe<Scalars['String']['output']>;
3460
+ appIdentifier: Scalars['String']['output'];
3461
+ appUpdateId?: Maybe<Scalars['String']['output']>;
3462
+ appVersion: Scalars['String']['output'];
3463
+ /** Span attributes other than those extracted to dedicated fields. */
3464
+ attributes: Array<AppObserveEventProperty>;
3465
+ clientVersion?: Maybe<Scalars['String']['output']>;
3466
+ countryCode?: Maybe<Scalars['String']['output']>;
3467
+ deviceLanguageTag?: Maybe<Scalars['String']['output']>;
3468
+ deviceModel: Scalars['String']['output'];
3469
+ deviceOs: Scalars['String']['output'];
3470
+ deviceOsVersion: Scalars['String']['output'];
3471
+ droppedAttributesCount: Scalars['Int']['output'];
3472
+ droppedEventsCount: Scalars['Int']['output'];
3473
+ /** Span links are not stored; this counts the links received. */
3474
+ droppedLinksCount: Scalars['Int']['output'];
3475
+ /** Keeps sub-millisecond precision. */
3476
+ durationMs: Scalars['Float']['output'];
3477
+ easClientId: Scalars['String']['output'];
3478
+ endTimestamp: Scalars['DateTime']['output'];
3479
+ environment?: Maybe<Scalars['String']['output']>;
3480
+ events: Array<AppObserveSpanEvent>;
3481
+ expoSdkVersion?: Maybe<Scalars['String']['output']>;
3482
+ /** Null when the span is not an HTTP request span. */
3483
+ http?: Maybe<AppObserveSpanHttp>;
3484
+ id: Scalars['ID']['output'];
3485
+ ingestedAt?: Maybe<Scalars['DateTime']['output']>;
3486
+ kind: AppObserveSpanKind;
3487
+ /** Per the producer's semantic conventions: the HTTP method for request spans. */
3488
+ name: Scalars['String']['output'];
3489
+ /** Null for a root span. */
3490
+ parentSpanId?: Maybe<Scalars['String']['output']>;
3491
+ reactNativeVersion?: Maybe<Scalars['String']['output']>;
3492
+ sessionId?: Maybe<Scalars['String']['output']>;
3493
+ spanId: Scalars['String']['output'];
3494
+ startTimestamp: Scalars['DateTime']['output'];
3495
+ statusCode: AppObserveSpanStatusCode;
3496
+ statusMessage?: Maybe<Scalars['String']['output']>;
3497
+ traceId: Scalars['String']['output'];
3498
+ };
3499
+ export type AppObserveSpanAttributeFilter = {
3500
+ key: Scalars['String']['input'];
3501
+ value: Scalars['String']['input'];
3502
+ };
3503
+ export type AppObserveSpanConnection = {
3504
+ __typename?: 'AppObserveSpanConnection';
3505
+ edges: Array<AppObserveSpanEdge>;
3506
+ pageInfo: PageInfo;
3507
+ };
3508
+ export type AppObserveSpanEdge = {
3509
+ __typename?: 'AppObserveSpanEdge';
3510
+ cursor: Scalars['String']['output'];
3511
+ node: AppObserveSpan;
3512
+ };
3513
+ export type AppObserveSpanEvent = {
3514
+ __typename?: 'AppObserveSpanEvent';
3515
+ /** The event's attributes as a JSON object. */
3516
+ attributes: Scalars['JSON']['output'];
3517
+ name: Scalars['String']['output'];
3518
+ timestamp: Scalars['DateTime']['output'];
3519
+ };
3520
+ /** HTTP request fields of a span, from the OpenTelemetry HTTP client semantic conventions. */
3521
+ export type AppObserveSpanHttp = {
3522
+ __typename?: 'AppObserveSpanHttp';
3523
+ /** Set when the request failed before a response: an NSURLError code on iOS, an exception class on Android. */
3524
+ errorType?: Maybe<Scalars['String']['output']>;
3525
+ method?: Maybe<Scalars['String']['output']>;
3526
+ protocolVersion?: Maybe<Scalars['String']['output']>;
3527
+ /** On-the-wire bytes including headers. */
3528
+ requestSize?: Maybe<Scalars['Int']['output']>;
3529
+ responseSize?: Maybe<Scalars['Int']['output']>;
3530
+ /** Null when the request got no response. */
3531
+ statusCode?: Maybe<Scalars['Int']['output']>;
3532
+ /** Credentials and signing query parameters are redacted at ingestion. */
3533
+ urlFull?: Maybe<Scalars['String']['output']>;
3534
+ urlHost?: Maybe<Scalars['String']['output']>;
3535
+ };
3536
+ export declare enum AppObserveSpanKind {
3537
+ Client = "CLIENT",
3538
+ Consumer = "CONSUMER",
3539
+ Internal = "INTERNAL",
3540
+ Producer = "PRODUCER",
3541
+ Server = "SERVER",
3542
+ Unspecified = "UNSPECIFIED"
3543
+ }
3544
+ export type AppObserveSpanListFilter = {
3545
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3546
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3547
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3548
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3549
+ /** At most 5. Matches spans whose attribute has exactly this value. */
3550
+ attributeFilters?: InputMaybe<Array<AppObserveSpanAttributeFilter>>;
3551
+ easClientId?: InputMaybe<Scalars['String']['input']>;
3552
+ endTime: Scalars['DateTime']['input'];
3553
+ environment?: InputMaybe<Scalars['String']['input']>;
3554
+ /** HTTP request spans to any of these hosts. */
3555
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3556
+ /** HTTP request spans with any of these response status codes. */
3557
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3558
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3559
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3560
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3561
+ /** Span names, such as GET or POST. The cheapest filter: span name is in the table's sort key. */
3562
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3563
+ /** Filter to these platforms. */
3564
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3565
+ /** Only spans with no parent. */
3566
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3567
+ sessionId?: InputMaybe<Scalars['String']['input']>;
3568
+ startTime: Scalars['DateTime']['input'];
3569
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3570
+ /** 32-character hex trace id. */
3571
+ traceId?: InputMaybe<Scalars['String']['input']>;
3572
+ };
3573
+ export type AppObserveSpanListOrderBy = {
3574
+ direction: AppObserveOrderDirection;
3575
+ field: AppObserveSpanListOrderByField;
3576
+ };
3577
+ export declare enum AppObserveSpanListOrderByField {
3578
+ StartTimestamp = "START_TIMESTAMP"
3579
+ }
3580
+ export type AppObserveSpanName = {
3581
+ __typename?: 'AppObserveSpanName';
3582
+ count: Scalars['Int']['output'];
3583
+ kind: AppObserveSpanKind;
3584
+ name: Scalars['String']['output'];
3585
+ };
3586
+ export type AppObserveSpanNames = {
3587
+ __typename?: 'AppObserveSpanNames';
3588
+ /** True when more names exist than were returned (top-N truncation). */
3589
+ isTruncated: Scalars['Boolean']['output'];
3590
+ names: Array<AppObserveSpanName>;
3591
+ };
3592
+ export type AppObserveSpanNamesInput = {
3593
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3594
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3595
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3596
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3597
+ endTime: Scalars['DateTime']['input'];
3598
+ environment?: InputMaybe<Scalars['String']['input']>;
3599
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3600
+ /** Maximum names to return, 1 to 500. Defaults to 100. */
3601
+ limit?: InputMaybe<Scalars['Int']['input']>;
3602
+ /** Filter to these platforms. */
3603
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3604
+ startTime: Scalars['DateTime']['input'];
3605
+ };
3606
+ export declare enum AppObserveSpanStatusCode {
3607
+ Error = "ERROR",
3608
+ Ok = "OK",
3609
+ Unset = "UNSET"
3610
+ }
3436
3611
  /** Stability-tile filters. No release filters: the tiles always span all versions. */
3437
3612
  export type AppObserveStabilityInput = {
3438
3613
  /** Series bucket size. Defaults to one day. */
@@ -3491,6 +3666,60 @@ export type AppObserveTimeSeriesStatistics = {
3491
3666
  p90?: Maybe<Scalars['Float']['output']>;
3492
3667
  p99?: Maybe<Scalars['Float']['output']>;
3493
3668
  };
3669
+ export type AppObserveTrace = {
3670
+ __typename?: 'AppObserveTrace';
3671
+ id: Scalars['ID']['output'];
3672
+ /** True when the trace has more spans than were returned. */
3673
+ isTruncated: Scalars['Boolean']['output'];
3674
+ /** Oldest first. The root span, when present, is the one with no parent. */
3675
+ spans: Array<AppObserveSpan>;
3676
+ };
3677
+ /**
3678
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3679
+ * API is generic so other span producers can be added without a schema change.
3680
+ */
3681
+ export type AppObserveTraces = {
3682
+ __typename?: 'AppObserveTraces';
3683
+ /** Distinct span names and kinds with counts over the time range, most frequent first. */
3684
+ names: AppObserveSpanNames;
3685
+ /** A single span by id. Null when missing or aged out of retention. */
3686
+ span?: Maybe<AppObserveSpan>;
3687
+ /** Individual spans. Defaults to newest first. */
3688
+ spans: AppObserveSpanConnection;
3689
+ /** All spans of one trace by its 32-character hex trace id. Null when unknown or aged out of retention. */
3690
+ trace?: Maybe<AppObserveTrace>;
3691
+ };
3692
+ /**
3693
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3694
+ * API is generic so other span producers can be added without a schema change.
3695
+ */
3696
+ export type AppObserveTraces_NamesArgs = {
3697
+ input: AppObserveSpanNamesInput;
3698
+ };
3699
+ /**
3700
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3701
+ * API is generic so other span producers can be added without a schema change.
3702
+ */
3703
+ export type AppObserveTraces_SpanArgs = {
3704
+ id: Scalars['ID']['input'];
3705
+ };
3706
+ /**
3707
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3708
+ * API is generic so other span producers can be added without a schema change.
3709
+ */
3710
+ export type AppObserveTraces_SpansArgs = {
3711
+ after?: InputMaybe<Scalars['String']['input']>;
3712
+ filter: AppObserveSpanListFilter;
3713
+ first?: InputMaybe<Scalars['Int']['input']>;
3714
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3715
+ };
3716
+ /**
3717
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3718
+ * API is generic so other span producers can be added without a schema change.
3719
+ */
3720
+ export type AppObserveTraces_TraceArgs = {
3721
+ id: Scalars['ID']['input'];
3722
+ };
3494
3723
  export type AppObserveUpdate = {
3495
3724
  __typename?: 'AppObserveUpdate';
3496
3725
  appUpdateId: Scalars['String']['output'];
@@ -6118,8 +6347,10 @@ export type DeploymentsMutation_DeleteWorkerDeploymentByIdentifierArgs = {
6118
6347
  appId: Scalars['ID']['input'];
6119
6348
  deploymentIdentifier: Scalars['ID']['input'];
6120
6349
  };
6121
- export type DeviceRunSession = {
6350
+ export type DeviceRunSession = ActivityTimelineProjectActivity & {
6122
6351
  __typename?: 'DeviceRunSession';
6352
+ activityTimestamp: Scalars['DateTime']['output'];
6353
+ actor?: Maybe<Actor>;
6123
6354
  app: App;
6124
6355
  /**
6125
6356
  * Direct application archive URL installed and launched for this session. Null when
@@ -11883,6 +12114,13 @@ export type WorkflowJob = {
11883
12114
  __typename?: 'WorkflowJob';
11884
12115
  allDeviceTestCaseResults: Array<WorkflowDeviceTestCaseResult>;
11885
12116
  approvals: Array<WorkflowJobApproval>;
12117
+ /**
12118
+ * The workflow run started by a WORKFLOW_CALL job. Null for other job types, while the
12119
+ * called run is not created yet, and for a failed call that never started a run. A call
12120
+ * job copied by "re-run from failed jobs" resolves to the called run of the attempt it
12121
+ * was copied from.
12122
+ */
12123
+ childWorkflowRun?: Maybe<WorkflowRun>;
11886
12124
  createdAt: Scalars['DateTime']['output'];
11887
12125
  credentialsAppleDeviceRegistrationRequest?: Maybe<AppleDeviceRegistrationRequest>;
11888
12126
  /**
@@ -11998,6 +12236,7 @@ export declare enum WorkflowJobType {
11998
12236
  Custom = "CUSTOM",
11999
12237
  Deploy = "DEPLOY",
12000
12238
  Doc = "DOC",
12239
+ Email = "EMAIL",
12001
12240
  Fingerprint = "FINGERPRINT",
12002
12241
  GetBuild = "GET_BUILD",
12003
12242
  GithubComment = "GITHUB_COMMENT",
@@ -12036,6 +12275,10 @@ export type WorkflowQuery_ByAppIdAndFileNameArgs = {
12036
12275
  export type WorkflowQuery_ByIdArgs = {
12037
12276
  workflowId: Scalars['ID']['input'];
12038
12277
  };
12278
+ export type WorkflowReferencedFileInput = {
12279
+ fileName: Scalars['String']['input'];
12280
+ yamlConfig: Scalars['String']['input'];
12281
+ };
12039
12282
  export type WorkflowRevision = {
12040
12283
  __typename?: 'WorkflowRevision';
12041
12284
  blobSha: Scalars['String']['output'];
@@ -12053,6 +12296,12 @@ export type WorkflowRevisionEdge = {
12053
12296
  };
12054
12297
  export type WorkflowRevisionInput = {
12055
12298
  fileName: Scalars['String']['input'];
12299
+ /**
12300
+ * Other workflow files of the project that `uses` jobs reference, by bare file name.
12301
+ * Required when the workflow has `uses` jobs. Every uploaded file is stored as a
12302
+ * revision and pinned on the run, whether or not a job calls it.
12303
+ */
12304
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12056
12305
  yamlConfig: Scalars['String']['input'];
12057
12306
  };
12058
12307
  export type WorkflowRevisionMutation = {
@@ -12072,6 +12321,7 @@ export type WorkflowRevisionMutation_GetWorkflowRevisionsFromGitRefArgs = {
12072
12321
  };
12073
12322
  export type WorkflowRevisionMutation_ValidateWorkflowYamlConfigArgs = {
12074
12323
  appId: Scalars['ID']['input'];
12324
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12075
12325
  yamlConfig: Scalars['String']['input'];
12076
12326
  };
12077
12327
  export type WorkflowRevisionQuery = {
@@ -12091,6 +12341,12 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12091
12341
  activityTimestamp: Scalars['DateTime']['output'];
12092
12342
  actor?: Maybe<Actor>;
12093
12343
  app: App;
12344
+ /**
12345
+ * The run currently holding the concurrency group this run is waiting for.
12346
+ * Null for runs that are not waiting, and briefly null while the group's
12347
+ * next run is being promoted.
12348
+ */
12349
+ blockingWorkflowRun?: Maybe<WorkflowRun>;
12094
12350
  /**
12095
12351
  * Why the server canceled this run. Null for manually canceled runs and for
12096
12352
  * runs canceled before the reason was recorded.
@@ -12110,6 +12366,11 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12110
12366
  jobs: Array<WorkflowJob>;
12111
12367
  /** Snapshot of the workflow's name at run creation. */
12112
12368
  name: Scalars['String']['output'];
12369
+ /**
12370
+ * The WORKFLOW_CALL job of another run that started this run. Null for runs started by
12371
+ * a trigger, a manual dispatch or a retry. Called runs are omitted from run lists.
12372
+ */
12373
+ parentWorkflowJob?: Maybe<WorkflowJob>;
12113
12374
  pullRequestNumber?: Maybe<Scalars['Int']['output']>;
12114
12375
  requestedGitRef?: Maybe<Scalars['String']['output']>;
12115
12376
  retriedWorkflowRun?: Maybe<WorkflowRun>;
@@ -12124,7 +12385,7 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12124
12385
  workflow: Workflow;
12125
12386
  workflowRevision?: Maybe<WorkflowRevision>;
12126
12387
  };
12127
- export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonWorkflowCall;
12388
+ export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonConcurrencyGroupQueueFull | WorkflowRunCancelReasonConcurrencyGroupReplaced | WorkflowRunCancelReasonWorkflowCall;
12128
12389
  export type WorkflowRunCancelReasonConcurrencyGroup = {
12129
12390
  __typename?: 'WorkflowRunCancelReasonConcurrencyGroup';
12130
12391
  /**
@@ -12133,6 +12394,22 @@ export type WorkflowRunCancelReasonConcurrencyGroup = {
12133
12394
  */
12134
12395
  cancelingWorkflowRun?: Maybe<WorkflowRun>;
12135
12396
  };
12397
+ export type WorkflowRunCancelReasonConcurrencyGroupQueueFull = {
12398
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupQueueFull';
12399
+ /**
12400
+ * The waiting-run capacity the concurrency group's queue was at when this
12401
+ * run arrived.
12402
+ */
12403
+ maximumWaitingRuns: Scalars['Int']['output'];
12404
+ };
12405
+ export type WorkflowRunCancelReasonConcurrencyGroupReplaced = {
12406
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupReplaced';
12407
+ /**
12408
+ * The newer run that took this run's place in the concurrency group's waiting
12409
+ * slot. Null if that run no longer exists.
12410
+ */
12411
+ replacingWorkflowRun?: Maybe<WorkflowRun>;
12412
+ };
12136
12413
  export type WorkflowRunCancelReasonWorkflowCall = {
12137
12414
  __typename?: 'WorkflowRunCancelReasonWorkflowCall';
12138
12415
  /**
@@ -17657,6 +17934,7 @@ export type GetOrCreateWorkflowRevisionFromGitRefMutation = {
17657
17934
  export type ValidateWorkflowYamlConfigMutationVariables = Exact<{
17658
17935
  appId: Scalars['ID']['input'];
17659
17936
  yamlConfig: Scalars['String']['input'];
17937
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput> | WorkflowReferencedFileInput>;
17660
17938
  }>;
17661
17939
  export type ValidateWorkflowYamlConfigMutation = {
17662
17940
  __typename?: 'RootMutation';
@@ -18291,6 +18569,7 @@ export type AppByIdWorkflowRunsFilteredByStatusQuery = {
18291
18569
  triggeringSchedule?: string | null;
18292
18570
  createdAt: any;
18293
18571
  updatedAt: any;
18572
+ finalizedAt?: any | null;
18294
18573
  actor?: {
18295
18574
  __typename: 'PartnerActor';
18296
18575
  id: string;
@@ -22609,6 +22888,13 @@ export type WorkflowRunByIdWithJobsQuery = {
22609
22888
  triggeringSchedule?: string | null;
22610
22889
  createdAt: any;
22611
22890
  updatedAt: any;
22891
+ finalizedAt?: any | null;
22892
+ blockingWorkflowRun?: {
22893
+ __typename?: 'WorkflowRun';
22894
+ id: string;
22895
+ name: string;
22896
+ status: WorkflowRunStatus;
22897
+ } | null;
22612
22898
  workflow: {
22613
22899
  __typename?: 'Workflow';
22614
22900
  id: string;
@@ -22618,6 +22904,7 @@ export type WorkflowRunByIdWithJobsQuery = {
22618
22904
  __typename?: 'App';
22619
22905
  id: string;
22620
22906
  name: string;
22907
+ slug: string;
22621
22908
  ownerAccount: {
22622
22909
  __typename?: 'Account';
22623
22910
  id: string;
@@ -22805,6 +23092,7 @@ export type WorkflowRunsForAppIdFileNameAndStatusQuery = {
22805
23092
  triggeringSchedule?: string | null;
22806
23093
  createdAt: any;
22807
23094
  updatedAt: any;
23095
+ finalizedAt?: any | null;
22808
23096
  actor?: {
22809
23097
  __typename: 'PartnerActor';
22810
23098
  id: string;
@@ -24566,6 +24854,7 @@ export type WorkflowRunFragment = {
24566
24854
  triggeringSchedule?: string | null;
24567
24855
  createdAt: any;
24568
24856
  updatedAt: any;
24857
+ finalizedAt?: any | null;
24569
24858
  actor?: {
24570
24859
  __typename: 'PartnerActor';
24571
24860
  id: string;
@@ -6,10 +6,10 @@
6
6
  * For more info and docs, visit https://graphql-code-generator.com/
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppStoreConnectBuildUploadState = exports.AppStoreConnectBuildProcessingState = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUserEventNamesOrderByField = exports.AppObserveUserEventListOrderByField = exports.AppObserveUserEventBreakdownDimension = exports.AppObserveUpdatesOrderByField = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveOrderDirection = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveMetricsListOrderByField = exports.AppObserveLogsOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorOccurrencesOrderByField = exports.AppObserveErrorKind = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.AgentProviderConnectionStatus = exports.AgentProviderConnectionAuthorizationStatus = exports.AgentProvider = exports.AgentKind = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = exports.AccessTokenScopeType = void 0;
10
- exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.ExitInterviewOutcome = exports.ExitInterviewMessageRole = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DeviceRunSessionResourceClass = exports.DeviceRunSessionRequestOrigin = exports.DeviceRunSessionEgress = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = void 0;
11
- exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TurtleSshTargetType = exports.TargetEntityMutationType = exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SourceMapSourceType = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.JobExpoTokenRole = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = void 0;
12
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = void 0;
9
+ exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppStoreConnectBuildUploadState = exports.AppStoreConnectBuildProcessingState = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUserEventNamesOrderByField = exports.AppObserveUserEventListOrderByField = exports.AppObserveUserEventBreakdownDimension = exports.AppObserveUpdatesOrderByField = exports.AppObserveSpanStatusCode = exports.AppObserveSpanListOrderByField = exports.AppObserveSpanKind = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveOrderDirection = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveMetricsListOrderByField = exports.AppObserveLogsOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorOccurrencesOrderByField = exports.AppObserveErrorKind = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.AgentProviderConnectionStatus = exports.AgentProviderConnectionAuthorizationStatus = exports.AgentProvider = exports.AgentKind = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = exports.AccessTokenScopeType = void 0;
10
+ exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.ExitInterviewOutcome = exports.ExitInterviewMessageRole = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DeviceRunSessionResourceClass = exports.DeviceRunSessionRequestOrigin = exports.DeviceRunSessionEgress = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = void 0;
11
+ exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TurtleSshTargetType = exports.TargetEntityMutationType = exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SourceMapSourceType = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.JobExpoTokenRole = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = void 0;
12
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = void 0;
13
13
  var AccessTokenScopeType;
14
14
  (function (AccessTokenScopeType) {
15
15
  /** One account, named by accountID, narrowed to the scope's permissions. */
@@ -49,6 +49,7 @@ var AccountUploadSessionType;
49
49
  var ActivityTimelineProjectActivityType;
50
50
  (function (ActivityTimelineProjectActivityType) {
51
51
  ActivityTimelineProjectActivityType["Build"] = "BUILD";
52
+ ActivityTimelineProjectActivityType["DeviceRunSession"] = "DEVICE_RUN_SESSION";
52
53
  ActivityTimelineProjectActivityType["Submission"] = "SUBMISSION";
53
54
  ActivityTimelineProjectActivityType["Update"] = "UPDATE";
54
55
  ActivityTimelineProjectActivityType["Worker"] = "WORKER";
@@ -193,6 +194,25 @@ var AppObservePropertyType;
193
194
  AppObservePropertyType["Number"] = "NUMBER";
194
195
  AppObservePropertyType["String"] = "STRING";
195
196
  })(AppObservePropertyType || (exports.AppObservePropertyType = AppObservePropertyType = {}));
197
+ var AppObserveSpanKind;
198
+ (function (AppObserveSpanKind) {
199
+ AppObserveSpanKind["Client"] = "CLIENT";
200
+ AppObserveSpanKind["Consumer"] = "CONSUMER";
201
+ AppObserveSpanKind["Internal"] = "INTERNAL";
202
+ AppObserveSpanKind["Producer"] = "PRODUCER";
203
+ AppObserveSpanKind["Server"] = "SERVER";
204
+ AppObserveSpanKind["Unspecified"] = "UNSPECIFIED";
205
+ })(AppObserveSpanKind || (exports.AppObserveSpanKind = AppObserveSpanKind = {}));
206
+ var AppObserveSpanListOrderByField;
207
+ (function (AppObserveSpanListOrderByField) {
208
+ AppObserveSpanListOrderByField["StartTimestamp"] = "START_TIMESTAMP";
209
+ })(AppObserveSpanListOrderByField || (exports.AppObserveSpanListOrderByField = AppObserveSpanListOrderByField = {}));
210
+ var AppObserveSpanStatusCode;
211
+ (function (AppObserveSpanStatusCode) {
212
+ AppObserveSpanStatusCode["Error"] = "ERROR";
213
+ AppObserveSpanStatusCode["Ok"] = "OK";
214
+ AppObserveSpanStatusCode["Unset"] = "UNSET";
215
+ })(AppObserveSpanStatusCode || (exports.AppObserveSpanStatusCode = AppObserveSpanStatusCode = {}));
196
216
  var AppObserveUpdatesOrderByField;
197
217
  (function (AppObserveUpdatesOrderByField) {
198
218
  AppObserveUpdatesOrderByField["DownloadCount"] = "DOWNLOAD_COUNT";
@@ -1321,6 +1341,7 @@ var WorkflowJobType;
1321
1341
  WorkflowJobType["Custom"] = "CUSTOM";
1322
1342
  WorkflowJobType["Deploy"] = "DEPLOY";
1323
1343
  WorkflowJobType["Doc"] = "DOC";
1344
+ WorkflowJobType["Email"] = "EMAIL";
1324
1345
  WorkflowJobType["Fingerprint"] = "FINGERPRINT";
1325
1346
  WorkflowJobType["GetBuild"] = "GET_BUILD";
1326
1347
  WorkflowJobType["GithubComment"] = "GITHUB_COMMENT";
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
3
- import { WorkflowRevision } from '../generated';
3
+ import { WorkflowReferencedFileInput, WorkflowRevision } from '../generated';
4
4
  export declare namespace WorkflowRevisionMutation {
5
5
  const ValidationErrorExtensionZ: z.ZodObject<{
6
6
  errorCode: z.ZodLiteral<"VALIDATION_ERROR">;
@@ -14,8 +14,9 @@ export declare namespace WorkflowRevisionMutation {
14
14
  fileName: string;
15
15
  gitRef: string;
16
16
  }): Promise<WorkflowRevision | undefined>;
17
- function validateWorkflowYamlConfigAsync(graphqlClient: ExpoGraphqlClient, { appId, yamlConfig, }: {
17
+ function validateWorkflowYamlConfigAsync(graphqlClient: ExpoGraphqlClient, { appId, yamlConfig, referencedFiles, }: {
18
18
  appId: string;
19
19
  yamlConfig: string;
20
+ referencedFiles?: WorkflowReferencedFileInput[];
20
21
  }): Promise<void>;
21
22
  }
@@ -41,17 +41,26 @@ var WorkflowRevisionMutation;
41
41
  undefined);
42
42
  }
43
43
  WorkflowRevisionMutation.getOrCreateWorkflowRevisionFromGitRefAsync = getOrCreateWorkflowRevisionFromGitRefAsync;
44
- async function validateWorkflowYamlConfigAsync(graphqlClient, { appId, yamlConfig, }) {
44
+ async function validateWorkflowYamlConfigAsync(graphqlClient, { appId, yamlConfig, referencedFiles, }) {
45
45
  await (0, client_1.withErrorHandlingAsync)(graphqlClient
46
46
  .mutation((0, graphql_tag_1.default) `
47
- mutation ValidateWorkflowYamlConfig($appId: ID!, $yamlConfig: String!) {
47
+ mutation ValidateWorkflowYamlConfig(
48
+ $appId: ID!
49
+ $yamlConfig: String!
50
+ $referencedFiles: [WorkflowReferencedFileInput!]
51
+ ) {
48
52
  workflowRevision {
49
- validateWorkflowYamlConfig(appId: $appId, yamlConfig: $yamlConfig)
53
+ validateWorkflowYamlConfig(
54
+ appId: $appId
55
+ yamlConfig: $yamlConfig
56
+ referencedFiles: $referencedFiles
57
+ )
50
58
  }
51
59
  }
52
60
  `, {
53
61
  appId,
54
62
  yamlConfig,
63
+ referencedFiles,
55
64
  })
56
65
  .toPromise());
57
66
  }
@@ -70,11 +70,17 @@ exports.WorkflowRunQuery = {
70
70
  workflowRuns {
71
71
  byId(workflowRunId: $workflowRunId) {
72
72
  id
73
+ blockingWorkflowRun {
74
+ id
75
+ name
76
+ status
77
+ }
73
78
  workflow {
74
79
  id
75
80
  app {
76
81
  id
77
82
  name
83
+ slug
78
84
  ownerAccount {
79
85
  id
80
86
  name
@@ -25,6 +25,7 @@ exports.WorkflowRunFragmentNode = (0, graphql_tag_1.default) `
25
25
  triggeringSchedule
26
26
  createdAt
27
27
  updatedAt
28
+ finalizedAt
28
29
  errors {
29
30
  title
30
31
  message
package/build/help.js CHANGED
@@ -40,13 +40,20 @@ class EasHelp extends core_1.Help {
40
40
  const [command, ...args] = argv;
41
41
  if (command === 'simulator:control' || command === 'sim:control') {
42
42
  const { default: SimulatorControl } = await Promise.resolve().then(() => __importStar(require('./commands/simulator/control')));
43
- const parsed = await core_1.Parser.parse(args, {
44
- args: SimulatorControl.args,
45
- flags: SimulatorControl.flags,
46
- strict: false,
47
- });
43
+ let parsed;
44
+ try {
45
+ parsed = await core_1.Parser.parse(args, {
46
+ args: SimulatorControl.args,
47
+ flags: SimulatorControl.flags,
48
+ strict: false,
49
+ });
50
+ }
51
+ catch {
52
+ await super.showHelp(argv);
53
+ return;
54
+ }
48
55
  if (parsed.args.action && parsed.flags.help) {
49
- await SimulatorControl.run(args, this.config);
56
+ await this.config.runCommand('simulator:control', args);
50
57
  return;
51
58
  }
52
59
  }
package/build/log.d.ts CHANGED
@@ -10,6 +10,8 @@ export default class Log {
10
10
  */
11
11
  static markFreshLine(): void;
12
12
  static error(...args: any[]): void;
13
+ static errorToStderr(...args: any[]): void;
14
+ static warnToStderr(...args: any[]): void;
13
15
  static warn(...args: any[]): void;
14
16
  static debug(...args: any[]): void;
15
17
  static gray(...args: any[]): void;
package/build/log.js CHANGED
@@ -34,6 +34,16 @@ class Log {
34
34
  static error(...args) {
35
35
  Log.consoleLog(...Log.withTextColor(args, chalk_1.default.red));
36
36
  }
37
+ static errorToStderr(...args) {
38
+ Log.updateIsLastLineNewLine(args);
39
+ // eslint-disable-next-line no-console
40
+ console.error(...Log.withTextColor(args, chalk_1.default.stderr.red));
41
+ }
42
+ static warnToStderr(...args) {
43
+ Log.updateIsLastLineNewLine(args);
44
+ // eslint-disable-next-line no-console
45
+ console.error(...Log.withTextColor(args, chalk_1.default.stderr.yellow));
46
+ }
37
47
  static warn(...args) {
38
48
  Log.consoleLog(...Log.withTextColor(args, chalk_1.default.yellow));
39
49
  }