@lostgradient/weft 0.19.0 → 0.20.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.
@@ -1859,6 +1859,1340 @@
1859
1859
  }
1860
1860
  }
1861
1861
  },
1862
+ {
1863
+ "name": "weft.tasks.get",
1864
+ "kind": "unary",
1865
+ "summary": "Get one task's full durable ledger state",
1866
+ "tags": ["Observability"],
1867
+ "destructive": false,
1868
+ "access": {
1869
+ "kind": "scoped",
1870
+ "scopes": ["system:read"]
1871
+ },
1872
+ "transports": {
1873
+ "http": true,
1874
+ "jsonRpcHttp": true,
1875
+ "jsonRpcWebSocket": true,
1876
+ "jsonRpcStdio": true
1877
+ },
1878
+ "producibleFaults": ["NotFound"],
1879
+ "inputSchema": {
1880
+ "additionalProperties": false,
1881
+ "properties": {
1882
+ "operationId": {
1883
+ "minLength": 1,
1884
+ "type": "string"
1885
+ }
1886
+ },
1887
+ "required": ["operationId"],
1888
+ "type": "object"
1889
+ },
1890
+ "outputSchema": {
1891
+ "oneOf": [
1892
+ {
1893
+ "additionalProperties": false,
1894
+ "properties": {
1895
+ "activityName": {
1896
+ "type": "string"
1897
+ },
1898
+ "attempt": {
1899
+ "maximum": 9007199254740991,
1900
+ "minimum": 0,
1901
+ "type": "integer"
1902
+ },
1903
+ "availableAt": {
1904
+ "type": "number"
1905
+ },
1906
+ "createdAt": {
1907
+ "type": "number"
1908
+ },
1909
+ "executionRequirement": {
1910
+ "additionalProperties": false,
1911
+ "properties": {
1912
+ "activityContractHash": {
1913
+ "type": "string"
1914
+ },
1915
+ "artifactDigest": {
1916
+ "type": "string"
1917
+ },
1918
+ "buildId": {
1919
+ "type": "string"
1920
+ },
1921
+ "deploymentName": {
1922
+ "type": "string"
1923
+ },
1924
+ "workflowRevision": {
1925
+ "type": "string"
1926
+ }
1927
+ },
1928
+ "type": "object"
1929
+ },
1930
+ "fairShareKey": {
1931
+ "type": "string"
1932
+ },
1933
+ "firstQueuedAt": {
1934
+ "type": "number"
1935
+ },
1936
+ "headerKeys": {
1937
+ "items": {
1938
+ "type": "string"
1939
+ },
1940
+ "type": "array"
1941
+ },
1942
+ "lastDispatchedAt": {
1943
+ "type": "number"
1944
+ },
1945
+ "lastQueuedAt": {
1946
+ "type": "number"
1947
+ },
1948
+ "lastRequeueReason": {
1949
+ "type": "string"
1950
+ },
1951
+ "operationId": {
1952
+ "type": "string"
1953
+ },
1954
+ "priority": {
1955
+ "type": "number"
1956
+ },
1957
+ "queue": {
1958
+ "type": "string"
1959
+ },
1960
+ "requeueCount": {
1961
+ "maximum": 9007199254740991,
1962
+ "minimum": 0,
1963
+ "type": "integer"
1964
+ },
1965
+ "retryCount": {
1966
+ "maximum": 9007199254740991,
1967
+ "minimum": 0,
1968
+ "type": "integer"
1969
+ },
1970
+ "retryPolicy": {
1971
+ "additionalProperties": false,
1972
+ "properties": {
1973
+ "backoffMultiplier": {
1974
+ "type": "number"
1975
+ },
1976
+ "initialBackoff": {
1977
+ "anyOf": [
1978
+ {
1979
+ "type": "number"
1980
+ },
1981
+ {
1982
+ "type": "string"
1983
+ }
1984
+ ]
1985
+ },
1986
+ "maxAttempts": {
1987
+ "type": "number"
1988
+ },
1989
+ "maxBackoff": {
1990
+ "anyOf": [
1991
+ {
1992
+ "type": "number"
1993
+ },
1994
+ {
1995
+ "type": "string"
1996
+ }
1997
+ ]
1998
+ },
1999
+ "nonRetryableErrors": {
2000
+ "items": {
2001
+ "type": "string"
2002
+ },
2003
+ "type": "array"
2004
+ }
2005
+ },
2006
+ "required": ["maxAttempts", "initialBackoff", "backoffMultiplier", "maxBackoff"],
2007
+ "type": "object"
2008
+ },
2009
+ "scheduleToCloseDeadline": {
2010
+ "type": "number"
2011
+ },
2012
+ "startedAt": {
2013
+ "type": "number"
2014
+ },
2015
+ "state": {
2016
+ "const": "queued",
2017
+ "type": "string"
2018
+ },
2019
+ "stickyWorkflowId": {
2020
+ "type": "string"
2021
+ },
2022
+ "visibilityTimeoutMilliseconds": {
2023
+ "type": "number"
2024
+ },
2025
+ "workflowExecutionToken": {
2026
+ "type": "string"
2027
+ },
2028
+ "workflowId": {
2029
+ "type": "string"
2030
+ },
2031
+ "workflowType": {
2032
+ "type": "string"
2033
+ }
2034
+ },
2035
+ "required": [
2036
+ "operationId",
2037
+ "workflowType",
2038
+ "activityName",
2039
+ "queue",
2040
+ "headerKeys",
2041
+ "visibilityTimeoutMilliseconds",
2042
+ "createdAt",
2043
+ "attempt",
2044
+ "retryCount",
2045
+ "requeueCount",
2046
+ "state",
2047
+ "availableAt",
2048
+ "firstQueuedAt",
2049
+ "lastQueuedAt"
2050
+ ],
2051
+ "type": "object"
2052
+ },
2053
+ {
2054
+ "additionalProperties": false,
2055
+ "properties": {
2056
+ "activityName": {
2057
+ "type": "string"
2058
+ },
2059
+ "attempt": {
2060
+ "maximum": 9007199254740991,
2061
+ "minimum": 0,
2062
+ "type": "integer"
2063
+ },
2064
+ "createdAt": {
2065
+ "type": "number"
2066
+ },
2067
+ "executionRequirement": {
2068
+ "additionalProperties": false,
2069
+ "properties": {
2070
+ "activityContractHash": {
2071
+ "type": "string"
2072
+ },
2073
+ "artifactDigest": {
2074
+ "type": "string"
2075
+ },
2076
+ "buildId": {
2077
+ "type": "string"
2078
+ },
2079
+ "deploymentName": {
2080
+ "type": "string"
2081
+ },
2082
+ "workflowRevision": {
2083
+ "type": "string"
2084
+ }
2085
+ },
2086
+ "type": "object"
2087
+ },
2088
+ "fairShareKey": {
2089
+ "type": "string"
2090
+ },
2091
+ "firstQueuedAt": {
2092
+ "type": "number"
2093
+ },
2094
+ "headerKeys": {
2095
+ "items": {
2096
+ "type": "string"
2097
+ },
2098
+ "type": "array"
2099
+ },
2100
+ "lastHeartbeatAt": {
2101
+ "type": "number"
2102
+ },
2103
+ "lastQueuedAt": {
2104
+ "type": "number"
2105
+ },
2106
+ "lastRequeueReason": {
2107
+ "type": "string"
2108
+ },
2109
+ "leaseDeadline": {
2110
+ "type": "number"
2111
+ },
2112
+ "operationId": {
2113
+ "type": "string"
2114
+ },
2115
+ "priority": {
2116
+ "type": "number"
2117
+ },
2118
+ "queue": {
2119
+ "type": "string"
2120
+ },
2121
+ "requeueCount": {
2122
+ "maximum": 9007199254740991,
2123
+ "minimum": 0,
2124
+ "type": "integer"
2125
+ },
2126
+ "retryCount": {
2127
+ "maximum": 9007199254740991,
2128
+ "minimum": 0,
2129
+ "type": "integer"
2130
+ },
2131
+ "retryPolicy": {
2132
+ "additionalProperties": false,
2133
+ "properties": {
2134
+ "backoffMultiplier": {
2135
+ "type": "number"
2136
+ },
2137
+ "initialBackoff": {
2138
+ "anyOf": [
2139
+ {
2140
+ "type": "number"
2141
+ },
2142
+ {
2143
+ "type": "string"
2144
+ }
2145
+ ]
2146
+ },
2147
+ "maxAttempts": {
2148
+ "type": "number"
2149
+ },
2150
+ "maxBackoff": {
2151
+ "anyOf": [
2152
+ {
2153
+ "type": "number"
2154
+ },
2155
+ {
2156
+ "type": "string"
2157
+ }
2158
+ ]
2159
+ },
2160
+ "nonRetryableErrors": {
2161
+ "items": {
2162
+ "type": "string"
2163
+ },
2164
+ "type": "array"
2165
+ }
2166
+ },
2167
+ "required": ["maxAttempts", "initialBackoff", "backoffMultiplier", "maxBackoff"],
2168
+ "type": "object"
2169
+ },
2170
+ "scheduleToCloseDeadline": {
2171
+ "type": "number"
2172
+ },
2173
+ "startedAt": {
2174
+ "type": "number"
2175
+ },
2176
+ "state": {
2177
+ "const": "leased",
2178
+ "type": "string"
2179
+ },
2180
+ "stickyWorkflowId": {
2181
+ "type": "string"
2182
+ },
2183
+ "visibilityTimeoutMilliseconds": {
2184
+ "type": "number"
2185
+ },
2186
+ "workflowExecutionToken": {
2187
+ "type": "string"
2188
+ },
2189
+ "workflowId": {
2190
+ "type": "string"
2191
+ },
2192
+ "workflowType": {
2193
+ "type": "string"
2194
+ }
2195
+ },
2196
+ "required": [
2197
+ "operationId",
2198
+ "workflowType",
2199
+ "activityName",
2200
+ "queue",
2201
+ "headerKeys",
2202
+ "visibilityTimeoutMilliseconds",
2203
+ "createdAt",
2204
+ "attempt",
2205
+ "retryCount",
2206
+ "requeueCount",
2207
+ "state",
2208
+ "leaseDeadline",
2209
+ "firstQueuedAt",
2210
+ "lastQueuedAt",
2211
+ "startedAt",
2212
+ "lastHeartbeatAt"
2213
+ ],
2214
+ "type": "object"
2215
+ },
2216
+ {
2217
+ "additionalProperties": false,
2218
+ "properties": {
2219
+ "activityName": {
2220
+ "type": "string"
2221
+ },
2222
+ "attempt": {
2223
+ "maximum": 9007199254740991,
2224
+ "minimum": 0,
2225
+ "type": "integer"
2226
+ },
2227
+ "createdAt": {
2228
+ "type": "number"
2229
+ },
2230
+ "executionRequirement": {
2231
+ "additionalProperties": false,
2232
+ "properties": {
2233
+ "activityContractHash": {
2234
+ "type": "string"
2235
+ },
2236
+ "artifactDigest": {
2237
+ "type": "string"
2238
+ },
2239
+ "buildId": {
2240
+ "type": "string"
2241
+ },
2242
+ "deploymentName": {
2243
+ "type": "string"
2244
+ },
2245
+ "workflowRevision": {
2246
+ "type": "string"
2247
+ }
2248
+ },
2249
+ "type": "object"
2250
+ },
2251
+ "fairShareKey": {
2252
+ "type": "string"
2253
+ },
2254
+ "firstQueuedAt": {
2255
+ "type": "number"
2256
+ },
2257
+ "headerKeys": {
2258
+ "items": {
2259
+ "type": "string"
2260
+ },
2261
+ "type": "array"
2262
+ },
2263
+ "lastHeartbeatAt": {
2264
+ "type": "number"
2265
+ },
2266
+ "lastQueuedAt": {
2267
+ "type": "number"
2268
+ },
2269
+ "lastRequeueReason": {
2270
+ "type": "string"
2271
+ },
2272
+ "leaseDeadline": {
2273
+ "type": "number"
2274
+ },
2275
+ "operationId": {
2276
+ "type": "string"
2277
+ },
2278
+ "pendingStatus": {
2279
+ "enum": ["completed", "failed"],
2280
+ "type": "string"
2281
+ },
2282
+ "priority": {
2283
+ "type": "number"
2284
+ },
2285
+ "queue": {
2286
+ "type": "string"
2287
+ },
2288
+ "requeueCount": {
2289
+ "maximum": 9007199254740991,
2290
+ "minimum": 0,
2291
+ "type": "integer"
2292
+ },
2293
+ "resultDigest": {
2294
+ "type": "string"
2295
+ },
2296
+ "retryCount": {
2297
+ "maximum": 9007199254740991,
2298
+ "minimum": 0,
2299
+ "type": "integer"
2300
+ },
2301
+ "retryPolicy": {
2302
+ "additionalProperties": false,
2303
+ "properties": {
2304
+ "backoffMultiplier": {
2305
+ "type": "number"
2306
+ },
2307
+ "initialBackoff": {
2308
+ "anyOf": [
2309
+ {
2310
+ "type": "number"
2311
+ },
2312
+ {
2313
+ "type": "string"
2314
+ }
2315
+ ]
2316
+ },
2317
+ "maxAttempts": {
2318
+ "type": "number"
2319
+ },
2320
+ "maxBackoff": {
2321
+ "anyOf": [
2322
+ {
2323
+ "type": "number"
2324
+ },
2325
+ {
2326
+ "type": "string"
2327
+ }
2328
+ ]
2329
+ },
2330
+ "nonRetryableErrors": {
2331
+ "items": {
2332
+ "type": "string"
2333
+ },
2334
+ "type": "array"
2335
+ }
2336
+ },
2337
+ "required": ["maxAttempts", "initialBackoff", "backoffMultiplier", "maxBackoff"],
2338
+ "type": "object"
2339
+ },
2340
+ "scheduleToCloseDeadline": {
2341
+ "type": "number"
2342
+ },
2343
+ "startedAt": {
2344
+ "type": "number"
2345
+ },
2346
+ "state": {
2347
+ "const": "completing",
2348
+ "type": "string"
2349
+ },
2350
+ "stickyWorkflowId": {
2351
+ "type": "string"
2352
+ },
2353
+ "visibilityTimeoutMilliseconds": {
2354
+ "type": "number"
2355
+ },
2356
+ "workflowExecutionToken": {
2357
+ "type": "string"
2358
+ },
2359
+ "workflowId": {
2360
+ "type": "string"
2361
+ },
2362
+ "workflowType": {
2363
+ "type": "string"
2364
+ }
2365
+ },
2366
+ "required": [
2367
+ "operationId",
2368
+ "workflowType",
2369
+ "activityName",
2370
+ "queue",
2371
+ "headerKeys",
2372
+ "visibilityTimeoutMilliseconds",
2373
+ "createdAt",
2374
+ "attempt",
2375
+ "retryCount",
2376
+ "requeueCount",
2377
+ "state",
2378
+ "leaseDeadline",
2379
+ "firstQueuedAt",
2380
+ "lastQueuedAt",
2381
+ "startedAt",
2382
+ "lastHeartbeatAt",
2383
+ "pendingStatus",
2384
+ "resultDigest"
2385
+ ],
2386
+ "type": "object"
2387
+ },
2388
+ {
2389
+ "additionalProperties": false,
2390
+ "properties": {
2391
+ "activityName": {
2392
+ "type": "string"
2393
+ },
2394
+ "attempt": {
2395
+ "maximum": 9007199254740991,
2396
+ "minimum": 0,
2397
+ "type": "integer"
2398
+ },
2399
+ "cancellationReason": {
2400
+ "type": "string"
2401
+ },
2402
+ "cancellationRequestedAt": {
2403
+ "type": "number"
2404
+ },
2405
+ "createdAt": {
2406
+ "type": "number"
2407
+ },
2408
+ "executionRequirement": {
2409
+ "additionalProperties": false,
2410
+ "properties": {
2411
+ "activityContractHash": {
2412
+ "type": "string"
2413
+ },
2414
+ "artifactDigest": {
2415
+ "type": "string"
2416
+ },
2417
+ "buildId": {
2418
+ "type": "string"
2419
+ },
2420
+ "deploymentName": {
2421
+ "type": "string"
2422
+ },
2423
+ "workflowRevision": {
2424
+ "type": "string"
2425
+ }
2426
+ },
2427
+ "type": "object"
2428
+ },
2429
+ "fairShareKey": {
2430
+ "type": "string"
2431
+ },
2432
+ "firstQueuedAt": {
2433
+ "type": "number"
2434
+ },
2435
+ "headerKeys": {
2436
+ "items": {
2437
+ "type": "string"
2438
+ },
2439
+ "type": "array"
2440
+ },
2441
+ "lastHeartbeatAt": {
2442
+ "type": "number"
2443
+ },
2444
+ "lastQueuedAt": {
2445
+ "type": "number"
2446
+ },
2447
+ "lastRequeueReason": {
2448
+ "type": "string"
2449
+ },
2450
+ "leaseDeadline": {
2451
+ "type": "number"
2452
+ },
2453
+ "operationId": {
2454
+ "type": "string"
2455
+ },
2456
+ "priority": {
2457
+ "type": "number"
2458
+ },
2459
+ "queue": {
2460
+ "type": "string"
2461
+ },
2462
+ "requeueCount": {
2463
+ "maximum": 9007199254740991,
2464
+ "minimum": 0,
2465
+ "type": "integer"
2466
+ },
2467
+ "retryCount": {
2468
+ "maximum": 9007199254740991,
2469
+ "minimum": 0,
2470
+ "type": "integer"
2471
+ },
2472
+ "retryPolicy": {
2473
+ "additionalProperties": false,
2474
+ "properties": {
2475
+ "backoffMultiplier": {
2476
+ "type": "number"
2477
+ },
2478
+ "initialBackoff": {
2479
+ "anyOf": [
2480
+ {
2481
+ "type": "number"
2482
+ },
2483
+ {
2484
+ "type": "string"
2485
+ }
2486
+ ]
2487
+ },
2488
+ "maxAttempts": {
2489
+ "type": "number"
2490
+ },
2491
+ "maxBackoff": {
2492
+ "anyOf": [
2493
+ {
2494
+ "type": "number"
2495
+ },
2496
+ {
2497
+ "type": "string"
2498
+ }
2499
+ ]
2500
+ },
2501
+ "nonRetryableErrors": {
2502
+ "items": {
2503
+ "type": "string"
2504
+ },
2505
+ "type": "array"
2506
+ }
2507
+ },
2508
+ "required": ["maxAttempts", "initialBackoff", "backoffMultiplier", "maxBackoff"],
2509
+ "type": "object"
2510
+ },
2511
+ "scheduleToCloseDeadline": {
2512
+ "type": "number"
2513
+ },
2514
+ "startedAt": {
2515
+ "type": "number"
2516
+ },
2517
+ "state": {
2518
+ "const": "cancelling",
2519
+ "type": "string"
2520
+ },
2521
+ "stickyWorkflowId": {
2522
+ "type": "string"
2523
+ },
2524
+ "visibilityTimeoutMilliseconds": {
2525
+ "type": "number"
2526
+ },
2527
+ "workflowExecutionToken": {
2528
+ "type": "string"
2529
+ },
2530
+ "workflowId": {
2531
+ "type": "string"
2532
+ },
2533
+ "workflowType": {
2534
+ "type": "string"
2535
+ }
2536
+ },
2537
+ "required": [
2538
+ "operationId",
2539
+ "workflowType",
2540
+ "activityName",
2541
+ "queue",
2542
+ "headerKeys",
2543
+ "visibilityTimeoutMilliseconds",
2544
+ "createdAt",
2545
+ "attempt",
2546
+ "retryCount",
2547
+ "requeueCount",
2548
+ "state",
2549
+ "leaseDeadline",
2550
+ "firstQueuedAt",
2551
+ "lastQueuedAt",
2552
+ "startedAt",
2553
+ "lastHeartbeatAt",
2554
+ "cancellationReason",
2555
+ "cancellationRequestedAt"
2556
+ ],
2557
+ "type": "object"
2558
+ },
2559
+ {
2560
+ "oneOf": [
2561
+ {
2562
+ "additionalProperties": false,
2563
+ "properties": {
2564
+ "activityName": {
2565
+ "type": "string"
2566
+ },
2567
+ "adopted": {
2568
+ "type": "boolean"
2569
+ },
2570
+ "adoptedAt": {
2571
+ "type": "number"
2572
+ },
2573
+ "attempt": {
2574
+ "maximum": 9007199254740991,
2575
+ "minimum": 0,
2576
+ "type": "integer"
2577
+ },
2578
+ "createdAt": {
2579
+ "type": "number"
2580
+ },
2581
+ "disposition": {
2582
+ "const": "resolved",
2583
+ "type": "string"
2584
+ },
2585
+ "error": {
2586
+ "type": "string"
2587
+ },
2588
+ "executionRequirement": {
2589
+ "additionalProperties": false,
2590
+ "properties": {
2591
+ "activityContractHash": {
2592
+ "type": "string"
2593
+ },
2594
+ "artifactDigest": {
2595
+ "type": "string"
2596
+ },
2597
+ "buildId": {
2598
+ "type": "string"
2599
+ },
2600
+ "deploymentName": {
2601
+ "type": "string"
2602
+ },
2603
+ "workflowRevision": {
2604
+ "type": "string"
2605
+ }
2606
+ },
2607
+ "type": "object"
2608
+ },
2609
+ "fairShareKey": {
2610
+ "type": "string"
2611
+ },
2612
+ "headerKeys": {
2613
+ "items": {
2614
+ "type": "string"
2615
+ },
2616
+ "type": "array"
2617
+ },
2618
+ "operationId": {
2619
+ "type": "string"
2620
+ },
2621
+ "priority": {
2622
+ "type": "number"
2623
+ },
2624
+ "queue": {
2625
+ "type": "string"
2626
+ },
2627
+ "resultDigest": {
2628
+ "type": "string"
2629
+ },
2630
+ "resultStatus": {
2631
+ "enum": ["completed", "failed"],
2632
+ "type": "string"
2633
+ },
2634
+ "retryPolicy": {
2635
+ "additionalProperties": false,
2636
+ "properties": {
2637
+ "backoffMultiplier": {
2638
+ "type": "number"
2639
+ },
2640
+ "initialBackoff": {
2641
+ "anyOf": [
2642
+ {
2643
+ "type": "number"
2644
+ },
2645
+ {
2646
+ "type": "string"
2647
+ }
2648
+ ]
2649
+ },
2650
+ "maxAttempts": {
2651
+ "type": "number"
2652
+ },
2653
+ "maxBackoff": {
2654
+ "anyOf": [
2655
+ {
2656
+ "type": "number"
2657
+ },
2658
+ {
2659
+ "type": "string"
2660
+ }
2661
+ ]
2662
+ },
2663
+ "nonRetryableErrors": {
2664
+ "items": {
2665
+ "type": "string"
2666
+ },
2667
+ "type": "array"
2668
+ }
2669
+ },
2670
+ "required": [
2671
+ "maxAttempts",
2672
+ "initialBackoff",
2673
+ "backoffMultiplier",
2674
+ "maxBackoff"
2675
+ ],
2676
+ "type": "object"
2677
+ },
2678
+ "scheduleToCloseDeadline": {
2679
+ "type": "number"
2680
+ },
2681
+ "state": {
2682
+ "const": "terminal",
2683
+ "type": "string"
2684
+ },
2685
+ "stickyWorkflowId": {
2686
+ "type": "string"
2687
+ },
2688
+ "terminalAt": {
2689
+ "type": "number"
2690
+ },
2691
+ "visibilityTimeoutMilliseconds": {
2692
+ "type": "number"
2693
+ },
2694
+ "workflowExecutionToken": {
2695
+ "type": "string"
2696
+ },
2697
+ "workflowId": {
2698
+ "type": "string"
2699
+ },
2700
+ "workflowType": {
2701
+ "type": "string"
2702
+ }
2703
+ },
2704
+ "required": [
2705
+ "operationId",
2706
+ "workflowType",
2707
+ "activityName",
2708
+ "queue",
2709
+ "headerKeys",
2710
+ "visibilityTimeoutMilliseconds",
2711
+ "createdAt",
2712
+ "attempt",
2713
+ "state",
2714
+ "terminalAt",
2715
+ "adopted",
2716
+ "disposition",
2717
+ "resultDigest",
2718
+ "resultStatus"
2719
+ ],
2720
+ "type": "object"
2721
+ },
2722
+ {
2723
+ "additionalProperties": false,
2724
+ "properties": {
2725
+ "activityName": {
2726
+ "type": "string"
2727
+ },
2728
+ "adopted": {
2729
+ "type": "boolean"
2730
+ },
2731
+ "adoptedAt": {
2732
+ "type": "number"
2733
+ },
2734
+ "attempt": {
2735
+ "maximum": 9007199254740991,
2736
+ "minimum": 0,
2737
+ "type": "integer"
2738
+ },
2739
+ "cancellationReason": {
2740
+ "type": "string"
2741
+ },
2742
+ "createdAt": {
2743
+ "type": "number"
2744
+ },
2745
+ "disposition": {
2746
+ "const": "cancelled",
2747
+ "type": "string"
2748
+ },
2749
+ "executionRequirement": {
2750
+ "additionalProperties": false,
2751
+ "properties": {
2752
+ "activityContractHash": {
2753
+ "type": "string"
2754
+ },
2755
+ "artifactDigest": {
2756
+ "type": "string"
2757
+ },
2758
+ "buildId": {
2759
+ "type": "string"
2760
+ },
2761
+ "deploymentName": {
2762
+ "type": "string"
2763
+ },
2764
+ "workflowRevision": {
2765
+ "type": "string"
2766
+ }
2767
+ },
2768
+ "type": "object"
2769
+ },
2770
+ "fairShareKey": {
2771
+ "type": "string"
2772
+ },
2773
+ "headerKeys": {
2774
+ "items": {
2775
+ "type": "string"
2776
+ },
2777
+ "type": "array"
2778
+ },
2779
+ "operationId": {
2780
+ "type": "string"
2781
+ },
2782
+ "priority": {
2783
+ "type": "number"
2784
+ },
2785
+ "queue": {
2786
+ "type": "string"
2787
+ },
2788
+ "retryPolicy": {
2789
+ "additionalProperties": false,
2790
+ "properties": {
2791
+ "backoffMultiplier": {
2792
+ "type": "number"
2793
+ },
2794
+ "initialBackoff": {
2795
+ "anyOf": [
2796
+ {
2797
+ "type": "number"
2798
+ },
2799
+ {
2800
+ "type": "string"
2801
+ }
2802
+ ]
2803
+ },
2804
+ "maxAttempts": {
2805
+ "type": "number"
2806
+ },
2807
+ "maxBackoff": {
2808
+ "anyOf": [
2809
+ {
2810
+ "type": "number"
2811
+ },
2812
+ {
2813
+ "type": "string"
2814
+ }
2815
+ ]
2816
+ },
2817
+ "nonRetryableErrors": {
2818
+ "items": {
2819
+ "type": "string"
2820
+ },
2821
+ "type": "array"
2822
+ }
2823
+ },
2824
+ "required": [
2825
+ "maxAttempts",
2826
+ "initialBackoff",
2827
+ "backoffMultiplier",
2828
+ "maxBackoff"
2829
+ ],
2830
+ "type": "object"
2831
+ },
2832
+ "scheduleToCloseDeadline": {
2833
+ "type": "number"
2834
+ },
2835
+ "state": {
2836
+ "const": "terminal",
2837
+ "type": "string"
2838
+ },
2839
+ "stickyWorkflowId": {
2840
+ "type": "string"
2841
+ },
2842
+ "terminalAt": {
2843
+ "type": "number"
2844
+ },
2845
+ "visibilityTimeoutMilliseconds": {
2846
+ "type": "number"
2847
+ },
2848
+ "workflowExecutionToken": {
2849
+ "type": "string"
2850
+ },
2851
+ "workflowId": {
2852
+ "type": "string"
2853
+ },
2854
+ "workflowType": {
2855
+ "type": "string"
2856
+ }
2857
+ },
2858
+ "required": [
2859
+ "operationId",
2860
+ "workflowType",
2861
+ "activityName",
2862
+ "queue",
2863
+ "headerKeys",
2864
+ "visibilityTimeoutMilliseconds",
2865
+ "createdAt",
2866
+ "attempt",
2867
+ "state",
2868
+ "terminalAt",
2869
+ "adopted",
2870
+ "disposition",
2871
+ "cancellationReason"
2872
+ ],
2873
+ "type": "object"
2874
+ },
2875
+ {
2876
+ "additionalProperties": false,
2877
+ "properties": {
2878
+ "activityName": {
2879
+ "type": "string"
2880
+ },
2881
+ "adopted": {
2882
+ "type": "boolean"
2883
+ },
2884
+ "adoptedAt": {
2885
+ "type": "number"
2886
+ },
2887
+ "attempt": {
2888
+ "maximum": 9007199254740991,
2889
+ "minimum": 0,
2890
+ "type": "integer"
2891
+ },
2892
+ "createdAt": {
2893
+ "type": "number"
2894
+ },
2895
+ "disposition": {
2896
+ "const": "retryExhausted",
2897
+ "type": "string"
2898
+ },
2899
+ "error": {
2900
+ "type": "string"
2901
+ },
2902
+ "executionRequirement": {
2903
+ "additionalProperties": false,
2904
+ "properties": {
2905
+ "activityContractHash": {
2906
+ "type": "string"
2907
+ },
2908
+ "artifactDigest": {
2909
+ "type": "string"
2910
+ },
2911
+ "buildId": {
2912
+ "type": "string"
2913
+ },
2914
+ "deploymentName": {
2915
+ "type": "string"
2916
+ },
2917
+ "workflowRevision": {
2918
+ "type": "string"
2919
+ }
2920
+ },
2921
+ "type": "object"
2922
+ },
2923
+ "fairShareKey": {
2924
+ "type": "string"
2925
+ },
2926
+ "headerKeys": {
2927
+ "items": {
2928
+ "type": "string"
2929
+ },
2930
+ "type": "array"
2931
+ },
2932
+ "operationId": {
2933
+ "type": "string"
2934
+ },
2935
+ "priority": {
2936
+ "type": "number"
2937
+ },
2938
+ "queue": {
2939
+ "type": "string"
2940
+ },
2941
+ "retryPolicy": {
2942
+ "additionalProperties": false,
2943
+ "properties": {
2944
+ "backoffMultiplier": {
2945
+ "type": "number"
2946
+ },
2947
+ "initialBackoff": {
2948
+ "anyOf": [
2949
+ {
2950
+ "type": "number"
2951
+ },
2952
+ {
2953
+ "type": "string"
2954
+ }
2955
+ ]
2956
+ },
2957
+ "maxAttempts": {
2958
+ "type": "number"
2959
+ },
2960
+ "maxBackoff": {
2961
+ "anyOf": [
2962
+ {
2963
+ "type": "number"
2964
+ },
2965
+ {
2966
+ "type": "string"
2967
+ }
2968
+ ]
2969
+ },
2970
+ "nonRetryableErrors": {
2971
+ "items": {
2972
+ "type": "string"
2973
+ },
2974
+ "type": "array"
2975
+ }
2976
+ },
2977
+ "required": [
2978
+ "maxAttempts",
2979
+ "initialBackoff",
2980
+ "backoffMultiplier",
2981
+ "maxBackoff"
2982
+ ],
2983
+ "type": "object"
2984
+ },
2985
+ "scheduleToCloseDeadline": {
2986
+ "type": "number"
2987
+ },
2988
+ "state": {
2989
+ "const": "terminal",
2990
+ "type": "string"
2991
+ },
2992
+ "stickyWorkflowId": {
2993
+ "type": "string"
2994
+ },
2995
+ "terminalAt": {
2996
+ "type": "number"
2997
+ },
2998
+ "visibilityTimeoutMilliseconds": {
2999
+ "type": "number"
3000
+ },
3001
+ "workflowExecutionToken": {
3002
+ "type": "string"
3003
+ },
3004
+ "workflowId": {
3005
+ "type": "string"
3006
+ },
3007
+ "workflowType": {
3008
+ "type": "string"
3009
+ }
3010
+ },
3011
+ "required": [
3012
+ "operationId",
3013
+ "workflowType",
3014
+ "activityName",
3015
+ "queue",
3016
+ "headerKeys",
3017
+ "visibilityTimeoutMilliseconds",
3018
+ "createdAt",
3019
+ "attempt",
3020
+ "state",
3021
+ "terminalAt",
3022
+ "adopted",
3023
+ "disposition",
3024
+ "error"
3025
+ ],
3026
+ "type": "object"
3027
+ }
3028
+ ]
3029
+ },
3030
+ {
3031
+ "additionalProperties": false,
3032
+ "properties": {
3033
+ "activityName": {
3034
+ "type": "string"
3035
+ },
3036
+ "attempt": {
3037
+ "maximum": 9007199254740991,
3038
+ "minimum": 0,
3039
+ "type": "integer"
3040
+ },
3041
+ "createdAt": {
3042
+ "type": "number"
3043
+ },
3044
+ "deadLetteredAt": {
3045
+ "type": "number"
3046
+ },
3047
+ "error": {
3048
+ "type": "string"
3049
+ },
3050
+ "executionRequirement": {
3051
+ "additionalProperties": false,
3052
+ "properties": {
3053
+ "activityContractHash": {
3054
+ "type": "string"
3055
+ },
3056
+ "artifactDigest": {
3057
+ "type": "string"
3058
+ },
3059
+ "buildId": {
3060
+ "type": "string"
3061
+ },
3062
+ "deploymentName": {
3063
+ "type": "string"
3064
+ },
3065
+ "workflowRevision": {
3066
+ "type": "string"
3067
+ }
3068
+ },
3069
+ "type": "object"
3070
+ },
3071
+ "fairShareKey": {
3072
+ "type": "string"
3073
+ },
3074
+ "headerKeys": {
3075
+ "items": {
3076
+ "type": "string"
3077
+ },
3078
+ "type": "array"
3079
+ },
3080
+ "lastRequeueReason": {
3081
+ "type": "string"
3082
+ },
3083
+ "operationId": {
3084
+ "type": "string"
3085
+ },
3086
+ "pendingStatus": {
3087
+ "enum": ["completed", "failed"],
3088
+ "type": "string"
3089
+ },
3090
+ "persistenceFailureReason": {
3091
+ "type": "string"
3092
+ },
3093
+ "priority": {
3094
+ "type": "number"
3095
+ },
3096
+ "queue": {
3097
+ "type": "string"
3098
+ },
3099
+ "requeueCount": {
3100
+ "maximum": 9007199254740991,
3101
+ "minimum": 0,
3102
+ "type": "integer"
3103
+ },
3104
+ "resultDigest": {
3105
+ "type": "string"
3106
+ },
3107
+ "retryCount": {
3108
+ "maximum": 9007199254740991,
3109
+ "minimum": 0,
3110
+ "type": "integer"
3111
+ },
3112
+ "retryPolicy": {
3113
+ "additionalProperties": false,
3114
+ "properties": {
3115
+ "backoffMultiplier": {
3116
+ "type": "number"
3117
+ },
3118
+ "initialBackoff": {
3119
+ "anyOf": [
3120
+ {
3121
+ "type": "number"
3122
+ },
3123
+ {
3124
+ "type": "string"
3125
+ }
3126
+ ]
3127
+ },
3128
+ "maxAttempts": {
3129
+ "type": "number"
3130
+ },
3131
+ "maxBackoff": {
3132
+ "anyOf": [
3133
+ {
3134
+ "type": "number"
3135
+ },
3136
+ {
3137
+ "type": "string"
3138
+ }
3139
+ ]
3140
+ },
3141
+ "nonRetryableErrors": {
3142
+ "items": {
3143
+ "type": "string"
3144
+ },
3145
+ "type": "array"
3146
+ }
3147
+ },
3148
+ "required": ["maxAttempts", "initialBackoff", "backoffMultiplier", "maxBackoff"],
3149
+ "type": "object"
3150
+ },
3151
+ "scheduleToCloseDeadline": {
3152
+ "type": "number"
3153
+ },
3154
+ "state": {
3155
+ "const": "deadLettered",
3156
+ "type": "string"
3157
+ },
3158
+ "stickyWorkflowId": {
3159
+ "type": "string"
3160
+ },
3161
+ "visibilityTimeoutMilliseconds": {
3162
+ "type": "number"
3163
+ },
3164
+ "workflowExecutionToken": {
3165
+ "type": "string"
3166
+ },
3167
+ "workflowId": {
3168
+ "type": "string"
3169
+ },
3170
+ "workflowType": {
3171
+ "type": "string"
3172
+ }
3173
+ },
3174
+ "required": [
3175
+ "operationId",
3176
+ "workflowType",
3177
+ "activityName",
3178
+ "queue",
3179
+ "headerKeys",
3180
+ "visibilityTimeoutMilliseconds",
3181
+ "createdAt",
3182
+ "attempt",
3183
+ "retryCount",
3184
+ "requeueCount",
3185
+ "state",
3186
+ "pendingStatus",
3187
+ "resultDigest",
3188
+ "deadLetteredAt",
3189
+ "persistenceFailureReason"
3190
+ ],
3191
+ "type": "object"
3192
+ }
3193
+ ]
3194
+ }
3195
+ },
1862
3196
  {
1863
3197
  "name": "weft.updates.result.get",
1864
3198
  "kind": "unary",