-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporal per stream resets #13990
Merged
Merged
Temporal per stream resets #13990
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
fcef5bb
remove reset flags from workflow state + refactor
lmossman 02a49ae
bring back cancelledForReset, since we need to distinguish between th…
lmossman be5e2df
delete reset job streams on cancel or success
lmossman 44c9516
extract isResetJob to method
lmossman 2ca63a8
merge with master
lmossman 840be33
set sync modes on streams in reset job correctly
lmossman be5a3dd
format
lmossman e9fec17
Add test for getAllStreamsForConnection
alovew b4514d2
fix tests
lmossman 77dc4f4
update more tests
lmossman 4e671d2
add StreamResetActivityTests
alovew fe6268f
fix tests for default job creator
lmossman 1c349b3
remove outdated comment
lmossman 7344761
remove debug lines
lmossman 343d339
remove unused enum value
lmossman 98650f6
fix tests
alovew 9656438
fix constant equals ordering
lmossman d182a07
make job mock not static
lmossman 0a1d7fe
DRY and add comments
lmossman 985efa8
add comment about deleted streams
lmossman eebcfc9
Remove io.airbyte.config.StreamDescriptor
alovew bde575c
regisster stream reset activity impl
lmossman 45b6285
refetch connection workflow when checking job id, since it may have b…
lmossman 1e4b69c
only cancel if workflow is running, to allow reset signal to always s…
lmossman 0a617ae
fix reset signal to use new doneWaiting workflow state prop
lmossman 85047f0
try to fix tests
lmossman 703dce1
fix reset cancel case
lmossman a8a9d76
add acceptance test for resetting while sync is running
lmossman 09b9621
format
lmossman 8cc4fcd
fix new acceptance test
lmossman b1ee243
lower sleep on test
lmossman 42a4ddc
raise sleep
lmossman e9d2ca3
increase sleep and timeout, and remove repeated test
lmossman 573a0b4
merge with master
lmossman 82a7c3b
use CatalogHelpers to extract stream descriptors
lmossman f58a3b6
raise sleep and timeout to prevent transient failures
lmossman 2e4db98
merge with master again
lmossman a94977a
format
lmossman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
16 changes: 0 additions & 16 deletions
16
airbyte-config/config-models/src/main/resources/types/StreamDescriptor.yaml
This file was deleted.
Oops, something went wrong.
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I don't want to block this review for this but this and this is not applicable to this review because it is already using the jupiter assertions.
AssertJ is makes would make it easier to understand such a test and would give you a meaningful diff. It would look like: