-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Auto-Disable Failing Connections feature (#11099)
* Add Disable Failing Connections feature * Rename and cleanup * list jobs based off connection id * Move variables to env config and update unit tests * Fix env flag name * Fix missing name changes * Add comments to unit test * Address PR comments * Support multiple config types * Update unit tests * Remove the attemptId notion in the connectionManagerWorkflow (#10780) This is removing the attemptId from the create attempt activity to replace it with the attemptNumber. This will be modified in the workflow in a later commit. * Revert "Remove the attemptId notion in the connectionManagerWorkflow (#10780)" (#11057) This reverts commit 99338c8. * Revert "Revert "Remove the attemptId notion in the connectionManagerWorkflow (#10780)" (#11057)" (#11073) This reverts commit 892dc7e. * Revert "Revert "Revert "Remove the attemptId notion in the connectionManagerWorkflow (#10780)" (#11057)" (#11073)" (#11081) This reverts commit e27bb74. * Add Disable Failing Connections feature * Rename and cleanup * Fix rebase * only disable if first job is older than max days * Return boolean for activity * Return boolean for activity * Add unit tests for ConnectionManagerWorkflow * Utilize object output for activity and ignore non success or failed runs * Utilize object output for activity and ignore non success or failed runs Co-authored-by: Benoit Moriceau <benoit@airbyte.io>
- Loading branch information
1 parent
672b347
commit f4bb7b2
Showing
15 changed files
with
703 additions
and
10 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -91,3 +91,4 @@ MAX_DISCOVER_WORKERS=5 | |
|
||
### FEATURE FLAGS ### | ||
NEW_SCHEDULER=false | ||
AUTO_DISABLE_FAILING_CONNECTIONS=false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,6 @@ public interface FeatureFlags { | |
|
||
boolean usesNewScheduler(); | ||
|
||
boolean autoDisablesFailingConnections(); | ||
|
||
} |
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.