@lostgradient/weft 0.18.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.
- package/README.md +3 -1
- package/dist/cli/conformance.js +14 -18
- package/dist/cli/generated/operation-catalog.snapshot.json +1597 -21
- package/dist/cli/generated/operation-client.generated.d.ts +37 -6
- package/dist/cli/generated/operation-client.generated.js +6 -0
- package/dist/core/context/child-workflow-pipe.d.ts +1 -1
- package/dist/core/context/child-workflow-pipe.js +1 -1
- package/dist/core/engine/construction.d.ts +2 -0
- package/dist/core/engine/construction.js +3 -0
- package/dist/core/engine/index.js +1 -0
- package/dist/core/engine/listing.d.ts +1 -0
- package/dist/core/engine/listing.js +6 -4
- package/dist/core/weft-error.d.ts +1 -1
- package/dist/core/weft-error.js +2 -1
- package/dist/core/worker-execution-dispatcher.d.ts +8 -0
- package/dist/core/worker-execution-dispatcher.js +4 -0
- package/dist/core/worker-execution-strategy-options.d.ts +16 -0
- package/dist/core/worker-execution-strategy.js +71 -89
- package/dist/core/worker-fault-handling.d.ts +45 -0
- package/dist/core/worker-fault-handling.js +88 -0
- package/dist/core/worker-protocol.d.ts +18 -1
- package/dist/core/worker-protocol.js +1 -1
- package/dist/core/worker-realm-readiness.d.ts +78 -0
- package/dist/core/worker-realm-readiness.js +127 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +28 -1
- package/dist/json-schema.js +1 -1
- package/dist/runtime/portable.d.ts +14 -0
- package/dist/runtime/portable.js +10 -0
- package/dist/server/index.d.ts +71 -8
- package/dist/server/index.js +7 -3
- package/dist/server/operations/get-task-detail-schema.d.ts +341 -0
- package/dist/server/operations/get-task-detail-schema.js +118 -0
- package/dist/server/operations/get-task-detail.d.ts +346 -0
- package/dist/server/operations/get-task-detail.js +215 -0
- package/dist/server/operations/get-task-diagnostics.d.ts +43 -18
- package/dist/server/operations/get-task-diagnostics.js +87 -126
- package/dist/server/operations/get-worker-diagnostics.d.ts +177 -0
- package/dist/server/operations/get-worker-diagnostics.js +117 -0
- package/dist/server/operations/list-worker-registration-rejections.d.ts +79 -0
- package/dist/server/operations/list-worker-registration-rejections.js +60 -0
- package/dist/server/operations/list-workers.js +1 -3
- package/dist/server/operations/static-registrations.js +8 -20
- package/dist/server/rest-bindings.js +31 -2
- package/dist/server/runtime/authentication-bridge.js +6 -14
- package/dist/server/runtime/context.d.ts +23 -0
- package/dist/server/runtime/task-dispatch.d.ts +7 -1
- package/dist/server/runtime/task-dispatch.js +126 -55
- package/dist/server/runtime/task-ledger-completion.d.ts +68 -0
- package/dist/server/runtime/task-ledger-completion.js +72 -0
- package/dist/server/runtime/task-ledger-recovery.d.ts +55 -0
- package/dist/server/runtime/task-ledger-recovery.js +73 -0
- package/dist/server/runtime/task-ledger-runtime.d.ts +64 -0
- package/dist/server/runtime/task-ledger-runtime.js +34 -0
- package/dist/server/runtime/task-metrics.d.ts +6 -4
- package/dist/server/runtime/task-polling.d.ts +14 -12
- package/dist/server/runtime/task-polling.js +106 -82
- package/dist/server/runtime/task-reconciliation.d.ts +35 -8
- package/dist/server/runtime/task-reconciliation.js +75 -74
- package/dist/server/runtime/task-result-resolution.d.ts +2 -10
- package/dist/server/runtime/task-result-resolution.js +0 -67
- package/dist/server/runtime/task-result-view.d.ts +82 -0
- package/dist/server/runtime/task-result-view.js +48 -0
- package/dist/server/runtime/websocket-worker-messaging.d.ts +16 -0
- package/dist/server/runtime/websocket-worker-messaging.js +32 -0
- package/dist/server/runtime/websocket-worker-registration.d.ts +41 -0
- package/dist/server/runtime/websocket-worker-registration.js +134 -0
- package/dist/server/runtime/websocket-worker.d.ts +0 -1
- package/dist/server/runtime/websocket-worker.js +64 -116
- package/dist/server/serve-internals.d.ts +9 -6
- package/dist/server/serve-internals.js +14 -40
- package/dist/server/task-ledger-codec.d.ts +40 -0
- package/dist/server/task-ledger-codec.js +195 -0
- package/dist/server/task-ledger-keys.d.ts +13 -0
- package/dist/server/task-ledger-keys.js +5 -0
- package/dist/server/task-ledger-limits.d.ts +34 -0
- package/dist/server/task-ledger-limits.js +5 -0
- package/dist/server/task-ledger-transition-helpers.d.ts +38 -0
- package/dist/server/task-ledger-transition-helpers.js +42 -0
- package/dist/server/task-ledger-transitions-cancellation.d.ts +31 -0
- package/dist/server/task-ledger-transitions-cancellation.js +73 -0
- package/dist/server/task-ledger-transitions.d.ts +129 -0
- package/dist/server/task-ledger-transitions.js +162 -0
- package/dist/server/task-ledger-types.d.ts +220 -0
- package/dist/server/task-ledger-types.js +1 -0
- package/dist/server/task-ledger.d.ts +17 -0
- package/dist/server/task-ledger.js +24 -0
- package/dist/server/task-state.d.ts +25 -152
- package/dist/server/task-state.js +0 -188
- package/dist/server/worker-admission-policy.d.ts +70 -0
- package/dist/server/worker-admission-policy.js +0 -0
- package/dist/storage/compressed-storage.js +1 -1
- package/dist/storage/index.d.ts +0 -2
- package/dist/storage/interface.d.ts +0 -2
- package/dist/storage/interface.js +1 -1
- package/dist/storage/lmdb.js +1 -1
- package/dist/storage/memory.js +1 -1
- package/dist/storage/neon.js +1 -1
- package/dist/storage/postgres.js +1 -1
- package/dist/storage/resolve.js +1 -1
- package/dist/storage/scoped-storage.js +1 -1
- package/dist/storage/testing.js +1 -1
- package/dist/storage/turso.js +1 -1
- package/dist/storage/web-extension.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/web-extension.js +1 -1
- package/dist/worker/index.d.ts +2 -0
- package/dist/worker/index.js +30 -4
- package/dist/worker/manifest/canonical-json.d.ts +20 -0
- package/dist/worker/manifest/canonical-json.js +13 -0
- package/dist/worker/manifest/capabilities.d.ts +24 -0
- package/dist/worker/manifest/capabilities.js +74 -0
- package/dist/worker/manifest/content-digest.d.ts +20 -0
- package/dist/worker/manifest/content-digest.js +13 -0
- package/dist/worker/manifest/declared-shape-digest.d.ts +14 -0
- package/dist/worker/manifest/declared-shape-digest.js +4 -0
- package/dist/worker/manifest/digest.d.ts +82 -0
- package/dist/worker/manifest/digest.js +9 -0
- package/dist/worker/manifest/execution-identity.d.ts +92 -0
- package/dist/worker/manifest/execution-identity.js +36 -0
- package/dist/worker/manifest/failure.d.ts +59 -0
- package/dist/worker/manifest/failure.js +4 -0
- package/dist/worker/manifest/index.d.ts +22 -0
- package/dist/worker/manifest/index.js +23 -0
- package/dist/worker/manifest/internal-realm.d.ts +50 -0
- package/dist/worker/manifest/internal-realm.js +39 -0
- package/dist/worker/manifest/is-record.d.ts +12 -0
- package/dist/worker/manifest/is-record.js +6 -0
- package/dist/worker/manifest/json-scan.d.ts +26 -0
- package/dist/worker/manifest/json-scan.js +88 -0
- package/dist/worker/manifest/limits.d.ts +138 -0
- package/dist/worker/manifest/limits.js +1 -0
- package/dist/worker/manifest/normalize.d.ts +63 -0
- package/dist/worker/manifest/normalize.js +73 -0
- package/dist/worker/manifest/parse-json.d.ts +24 -0
- package/dist/worker/manifest/parse-json.js +15 -0
- package/dist/worker/manifest/parse.d.ts +86 -0
- package/dist/worker/manifest/parse.js +188 -0
- package/dist/worker/manifest/registry-contract-builder.d.ts +120 -0
- package/dist/worker/manifest/registry-contract-builder.js +65 -0
- package/dist/worker/manifest/types.d.ts +263 -0
- package/dist/worker/manifest/types.js +1 -0
- package/dist/worker/manifest/utf8.d.ts +13 -0
- package/dist/worker/manifest/utf8.js +7 -0
- package/dist/worker/options.d.ts +55 -8
- package/dist/worker/options.js +65 -9
- package/dist/worker/protocol-internals.d.ts +1 -2
- package/dist/worker/protocol-internals.js +0 -5
- package/dist/worker/protocol-messages.d.ts +33 -17
- package/dist/worker/protocol-schemas.d.ts +36 -74
- package/dist/worker/protocol-schemas.js +25 -18
- package/dist/worker/protocol-version.d.ts +18 -14
- package/dist/worker/protocol-version.js +1 -1
- package/dist/worker/protocol.js +1 -1
- package/dist/worker/registry/deployment-consistency.d.ts +78 -0
- package/dist/worker/registry/deployment-consistency.js +27 -0
- package/dist/worker/registry/drain.d.ts +14 -0
- package/dist/worker/registry/drain.js +24 -0
- package/dist/worker/registry/rejections.d.ts +31 -0
- package/dist/worker/registry/rejections.js +10 -0
- package/dist/worker/registry/summary.d.ts +0 -3
- package/dist/worker/registry/summary.js +2 -5
- package/dist/worker/registry/types.d.ts +10 -3
- package/dist/worker/registry.d.ts +47 -2
- package/dist/worker/registry.js +45 -32
- package/dist/workers/workflow-worker-entry.d.ts +12 -7
- package/dist/workers/workflow-worker-entry.js +9 -2
- package/package.json +3 -3
- package/dist/server/task-resolved-record.d.ts +0 -12
- package/dist/server/task-resolved-record.js +0 -35
|
@@ -1708,7 +1708,6 @@
|
|
|
1708
1708
|
"type": "string"
|
|
1709
1709
|
},
|
|
1710
1710
|
"lastRequeueReason": {
|
|
1711
|
-
"enum": ["visibility-timeout", "worker-disconnect"],
|
|
1712
1711
|
"type": "string"
|
|
1713
1712
|
},
|
|
1714
1713
|
"operationId": {
|
|
@@ -1822,7 +1821,7 @@
|
|
|
1822
1821
|
"jsonRpcWebSocket": false,
|
|
1823
1822
|
"jsonRpcStdio": false
|
|
1824
1823
|
},
|
|
1825
|
-
"producibleFaults": [],
|
|
1824
|
+
"producibleFaults": ["NotFound"],
|
|
1826
1825
|
"inputSchema": {
|
|
1827
1826
|
"additionalProperties": false,
|
|
1828
1827
|
"properties": {
|
|
@@ -1853,11 +1852,1345 @@
|
|
|
1853
1852
|
"kind": "path",
|
|
1854
1853
|
"pathParam": "operationId"
|
|
1855
1854
|
}
|
|
1856
|
-
},
|
|
1857
|
-
"success": {
|
|
1858
|
-
"kind": "json",
|
|
1859
|
-
"status": 200
|
|
1860
|
-
}
|
|
1855
|
+
},
|
|
1856
|
+
"success": {
|
|
1857
|
+
"kind": "json",
|
|
1858
|
+
"status": 200
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
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
|
+
]
|
|
1861
3194
|
}
|
|
1862
3195
|
},
|
|
1863
3196
|
{
|
|
@@ -2056,6 +3389,185 @@
|
|
|
2056
3389
|
]
|
|
2057
3390
|
}
|
|
2058
3391
|
},
|
|
3392
|
+
{
|
|
3393
|
+
"name": "weft.workers.diagnostics",
|
|
3394
|
+
"kind": "unary",
|
|
3395
|
+
"summary": "Get bounded instance and deployment-version diagnostics for one connected worker",
|
|
3396
|
+
"description": "Report one connected worker's identity split into two parts: `instance` (this live connection — queue, health, connection timestamps) and `deploymentVersion` (the artifact it loaded — SDK/runtime identity, manifest digest, and every advertised workflow's version, revision, and contract hash). Returns `worker: null` when the workerId is not currently connected. Excludes capabilities and raw payload schemas.",
|
|
3397
|
+
"tags": ["Observability"],
|
|
3398
|
+
"destructive": false,
|
|
3399
|
+
"access": {
|
|
3400
|
+
"kind": "scoped",
|
|
3401
|
+
"scopes": ["system:read"]
|
|
3402
|
+
},
|
|
3403
|
+
"transports": {
|
|
3404
|
+
"http": true,
|
|
3405
|
+
"jsonRpcHttp": true,
|
|
3406
|
+
"jsonRpcWebSocket": true,
|
|
3407
|
+
"jsonRpcStdio": true
|
|
3408
|
+
},
|
|
3409
|
+
"producibleFaults": [],
|
|
3410
|
+
"inputSchema": {
|
|
3411
|
+
"additionalProperties": false,
|
|
3412
|
+
"properties": {
|
|
3413
|
+
"workerId": {
|
|
3414
|
+
"minLength": 1,
|
|
3415
|
+
"type": "string"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
"required": ["workerId"],
|
|
3419
|
+
"type": "object"
|
|
3420
|
+
},
|
|
3421
|
+
"outputSchema": {
|
|
3422
|
+
"additionalProperties": false,
|
|
3423
|
+
"properties": {
|
|
3424
|
+
"worker": {
|
|
3425
|
+
"anyOf": [
|
|
3426
|
+
{
|
|
3427
|
+
"additionalProperties": false,
|
|
3428
|
+
"properties": {
|
|
3429
|
+
"deploymentVersion": {
|
|
3430
|
+
"additionalProperties": false,
|
|
3431
|
+
"properties": {
|
|
3432
|
+
"artifactDigest": {
|
|
3433
|
+
"type": "string"
|
|
3434
|
+
},
|
|
3435
|
+
"buildId": {
|
|
3436
|
+
"type": "string"
|
|
3437
|
+
},
|
|
3438
|
+
"deploymentName": {
|
|
3439
|
+
"type": "string"
|
|
3440
|
+
},
|
|
3441
|
+
"manifestDigest": {
|
|
3442
|
+
"type": "string"
|
|
3443
|
+
},
|
|
3444
|
+
"manifestVersion": {
|
|
3445
|
+
"type": "number"
|
|
3446
|
+
},
|
|
3447
|
+
"protocolVersion": {
|
|
3448
|
+
"type": "number"
|
|
3449
|
+
},
|
|
3450
|
+
"runtimeName": {
|
|
3451
|
+
"type": "string"
|
|
3452
|
+
},
|
|
3453
|
+
"runtimeVersion": {
|
|
3454
|
+
"type": "string"
|
|
3455
|
+
},
|
|
3456
|
+
"sdkVersion": {
|
|
3457
|
+
"type": "string"
|
|
3458
|
+
},
|
|
3459
|
+
"workflows": {
|
|
3460
|
+
"additionalProperties": {
|
|
3461
|
+
"additionalProperties": false,
|
|
3462
|
+
"properties": {
|
|
3463
|
+
"activities": {
|
|
3464
|
+
"additionalProperties": {
|
|
3465
|
+
"additionalProperties": false,
|
|
3466
|
+
"properties": {
|
|
3467
|
+
"contractHash": {
|
|
3468
|
+
"type": "string"
|
|
3469
|
+
},
|
|
3470
|
+
"implementationRevision": {
|
|
3471
|
+
"type": "string"
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"required": ["contractHash", "implementationRevision"],
|
|
3475
|
+
"type": "object"
|
|
3476
|
+
},
|
|
3477
|
+
"propertyNames": {
|
|
3478
|
+
"type": "string"
|
|
3479
|
+
},
|
|
3480
|
+
"type": "object"
|
|
3481
|
+
},
|
|
3482
|
+
"contractHash": {
|
|
3483
|
+
"type": "string"
|
|
3484
|
+
},
|
|
3485
|
+
"workflowRevision": {
|
|
3486
|
+
"type": "string"
|
|
3487
|
+
},
|
|
3488
|
+
"workflowVersion": {
|
|
3489
|
+
"type": "string"
|
|
3490
|
+
}
|
|
3491
|
+
},
|
|
3492
|
+
"required": [
|
|
3493
|
+
"workflowVersion",
|
|
3494
|
+
"workflowRevision",
|
|
3495
|
+
"contractHash",
|
|
3496
|
+
"activities"
|
|
3497
|
+
],
|
|
3498
|
+
"type": "object"
|
|
3499
|
+
},
|
|
3500
|
+
"propertyNames": {
|
|
3501
|
+
"type": "string"
|
|
3502
|
+
},
|
|
3503
|
+
"type": "object"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
"required": [
|
|
3507
|
+
"deploymentName",
|
|
3508
|
+
"buildId",
|
|
3509
|
+
"artifactDigest",
|
|
3510
|
+
"runtimeName",
|
|
3511
|
+
"runtimeVersion",
|
|
3512
|
+
"sdkVersion",
|
|
3513
|
+
"manifestVersion",
|
|
3514
|
+
"protocolVersion",
|
|
3515
|
+
"manifestDigest",
|
|
3516
|
+
"workflows"
|
|
3517
|
+
],
|
|
3518
|
+
"type": "object"
|
|
3519
|
+
},
|
|
3520
|
+
"instance": {
|
|
3521
|
+
"additionalProperties": false,
|
|
3522
|
+
"properties": {
|
|
3523
|
+
"connectedAt": {
|
|
3524
|
+
"type": "number"
|
|
3525
|
+
},
|
|
3526
|
+
"health": {
|
|
3527
|
+
"enum": ["active", "draining", "drained"],
|
|
3528
|
+
"type": "string"
|
|
3529
|
+
},
|
|
3530
|
+
"heartbeatAgeMs": {
|
|
3531
|
+
"type": "number"
|
|
3532
|
+
},
|
|
3533
|
+
"lastHeartbeatAt": {
|
|
3534
|
+
"type": "number"
|
|
3535
|
+
},
|
|
3536
|
+
"queue": {
|
|
3537
|
+
"type": "string"
|
|
3538
|
+
},
|
|
3539
|
+
"startedAt": {
|
|
3540
|
+
"type": "number"
|
|
3541
|
+
},
|
|
3542
|
+
"workerId": {
|
|
3543
|
+
"type": "string"
|
|
3544
|
+
}
|
|
3545
|
+
},
|
|
3546
|
+
"required": [
|
|
3547
|
+
"workerId",
|
|
3548
|
+
"queue",
|
|
3549
|
+
"health",
|
|
3550
|
+
"connectedAt",
|
|
3551
|
+
"startedAt",
|
|
3552
|
+
"lastHeartbeatAt",
|
|
3553
|
+
"heartbeatAgeMs"
|
|
3554
|
+
],
|
|
3555
|
+
"type": "object"
|
|
3556
|
+
}
|
|
3557
|
+
},
|
|
3558
|
+
"required": ["instance", "deploymentVersion"],
|
|
3559
|
+
"type": "object"
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
"type": "null"
|
|
3563
|
+
}
|
|
3564
|
+
]
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3567
|
+
"required": ["worker"],
|
|
3568
|
+
"type": "object"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
2059
3571
|
{
|
|
2060
3572
|
"name": "weft.workers.drain",
|
|
2061
3573
|
"kind": "unary",
|
|
@@ -2235,16 +3747,6 @@
|
|
|
2235
3747
|
"drainingWorkers": {
|
|
2236
3748
|
"type": "number"
|
|
2237
3749
|
},
|
|
2238
|
-
"gitSha": {
|
|
2239
|
-
"anyOf": [
|
|
2240
|
-
{
|
|
2241
|
-
"type": "string"
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"type": "null"
|
|
2245
|
-
}
|
|
2246
|
-
]
|
|
2247
|
-
},
|
|
2248
3750
|
"health": {
|
|
2249
3751
|
"enum": ["active", "draining", "drained"],
|
|
2250
3752
|
"type": "string"
|
|
@@ -2280,7 +3782,6 @@
|
|
|
2280
3782
|
"deploymentName",
|
|
2281
3783
|
"buildId",
|
|
2282
3784
|
"runtimeVersion",
|
|
2283
|
-
"gitSha",
|
|
2284
3785
|
"health",
|
|
2285
3786
|
"workers",
|
|
2286
3787
|
"activeWorkers",
|
|
@@ -2327,9 +3828,6 @@
|
|
|
2327
3828
|
"deploymentName": {
|
|
2328
3829
|
"type": "string"
|
|
2329
3830
|
},
|
|
2330
|
-
"gitSha": {
|
|
2331
|
-
"type": "string"
|
|
2332
|
-
},
|
|
2333
3831
|
"health": {
|
|
2334
3832
|
"enum": ["active", "draining", "drained"],
|
|
2335
3833
|
"type": "string"
|
|
@@ -2383,6 +3881,84 @@
|
|
|
2383
3881
|
"type": "object"
|
|
2384
3882
|
}
|
|
2385
3883
|
},
|
|
3884
|
+
{
|
|
3885
|
+
"name": "weft.workers.rejections",
|
|
3886
|
+
"kind": "unary",
|
|
3887
|
+
"summary": "List recently declined worker registration attempts",
|
|
3888
|
+
"description": "Bounded, most-recent-first log of declined `register` attempts: rejection code, attempted workerId when known, and whatever deployment/queue identity had already been parsed by the time the rejecting gate ran. No free-text message and no manifest content.",
|
|
3889
|
+
"tags": ["Observability"],
|
|
3890
|
+
"destructive": false,
|
|
3891
|
+
"access": {
|
|
3892
|
+
"kind": "scoped",
|
|
3893
|
+
"scopes": ["system:read"]
|
|
3894
|
+
},
|
|
3895
|
+
"transports": {
|
|
3896
|
+
"http": true,
|
|
3897
|
+
"jsonRpcHttp": true,
|
|
3898
|
+
"jsonRpcWebSocket": true,
|
|
3899
|
+
"jsonRpcStdio": true
|
|
3900
|
+
},
|
|
3901
|
+
"producibleFaults": [],
|
|
3902
|
+
"inputSchema": {
|
|
3903
|
+
"additionalProperties": false,
|
|
3904
|
+
"properties": {
|
|
3905
|
+
"limit": {
|
|
3906
|
+
"default": 20,
|
|
3907
|
+
"maximum": 100,
|
|
3908
|
+
"minimum": 1,
|
|
3909
|
+
"type": "integer"
|
|
3910
|
+
}
|
|
3911
|
+
},
|
|
3912
|
+
"required": ["limit"],
|
|
3913
|
+
"type": "object"
|
|
3914
|
+
},
|
|
3915
|
+
"outputSchema": {
|
|
3916
|
+
"additionalProperties": false,
|
|
3917
|
+
"properties": {
|
|
3918
|
+
"items": {
|
|
3919
|
+
"items": {
|
|
3920
|
+
"additionalProperties": false,
|
|
3921
|
+
"properties": {
|
|
3922
|
+
"buildId": {
|
|
3923
|
+
"type": "string"
|
|
3924
|
+
},
|
|
3925
|
+
"code": {
|
|
3926
|
+
"enum": [
|
|
3927
|
+
"invalid_registration",
|
|
3928
|
+
"unsupported_protocol_version",
|
|
3929
|
+
"deployment_conflict",
|
|
3930
|
+
"registration_rejected"
|
|
3931
|
+
],
|
|
3932
|
+
"type": "string"
|
|
3933
|
+
},
|
|
3934
|
+
"deploymentName": {
|
|
3935
|
+
"type": "string"
|
|
3936
|
+
},
|
|
3937
|
+
"queue": {
|
|
3938
|
+
"type": "string"
|
|
3939
|
+
},
|
|
3940
|
+
"rejectedAt": {
|
|
3941
|
+
"type": "number"
|
|
3942
|
+
},
|
|
3943
|
+
"workerId": {
|
|
3944
|
+
"type": "string"
|
|
3945
|
+
}
|
|
3946
|
+
},
|
|
3947
|
+
"required": ["code", "rejectedAt"],
|
|
3948
|
+
"type": "object"
|
|
3949
|
+
},
|
|
3950
|
+
"type": "array"
|
|
3951
|
+
},
|
|
3952
|
+
"limit": {
|
|
3953
|
+
"maximum": 100,
|
|
3954
|
+
"minimum": 1,
|
|
3955
|
+
"type": "integer"
|
|
3956
|
+
}
|
|
3957
|
+
},
|
|
3958
|
+
"required": ["items", "limit"],
|
|
3959
|
+
"type": "object"
|
|
3960
|
+
}
|
|
3961
|
+
},
|
|
2386
3962
|
{
|
|
2387
3963
|
"name": "weft.workers.resume",
|
|
2388
3964
|
"kind": "unary",
|