-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build failure reasons for synchronous jobs (check/spec/discover) (#14715
) * demo for surfacing synchronous job failures * add missing changes for StandardDiscoverCatalogOutput impl * extract trace message failure reason for discover job * move to using a single pojo to represent synchronous job outputs * format * handle new output type in check before sync * re-genericize DefaultSynchronousSchedulerClient.execute * fix failing tests * fix failing scheduler client tests * get spec returns failure reason from trace message * build failure reason from trace message for check job * type safety * only consider error-type trace messages * add more tests * just use nulls * this was removed but incorrectly re-added when merging master into the branch * check output version for workflow replay support * refactor trace message finding to util method * additionalProperties: true * add versioning for CheckConnectionWorkflow * update comment
- Loading branch information
1 parent
36c659d
commit 198e580
Showing
35 changed files
with
826 additions
and
161 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
airbyte-config/config-models/src/main/resources/types/ConnectorJobOutput.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/ConnectorJobOutput.yaml | ||
title: ConnectorJobOutput | ||
description: connector command job output | ||
type: object | ||
additionalProperties: true | ||
required: | ||
- outputType | ||
properties: | ||
outputType: | ||
type: string | ||
enum: | ||
- checkConnection | ||
- discoverCatalog | ||
- spec | ||
checkConnection: | ||
"$ref": StandardCheckConnectionOutput.yaml | ||
discoverCatalog: | ||
existingJavaType: io.airbyte.protocol.models.AirbyteCatalog | ||
spec: | ||
existingJavaType: io.airbyte.protocol.models.ConnectorSpecification | ||
failureReason: | ||
"$ref": FailureReason.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.