-
Notifications
You must be signed in to change notification settings - Fork 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
Adds a new string cloumn to configs for cron #12416
Conversation
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.
Regarding tests, I usually find that test on migration are not the most useful. Usually some tests are added later on data access pattern on the table. Those tests would also implicitly test that the migration works correctly.
...va/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java
Outdated
Show resolved
Hide resolved
...va/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java
Outdated
Show resolved
Hide resolved
...va/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java
Outdated
Show resolved
Hide resolved
7743156
to
7cb6428
Compare
closes #11418 i'm new to this task in Java please be brutal
7cb6428
to
6e747c9
Compare
@davinchia I'm getting a pretty weird error on my branch when I try to run I'll look into the gradle now, but I'm getting rate limit errors on my docker hub account trying to compile the jooq. this error loops a few times a second (explaining the rate limit part anyway) at java.lang.Thread.run(Thread.java:833) [?:?]
2022-05-17 21:59:51 WARN o.t.i.RemoteDockerImage(resolve):104 - Retrying pull for image: testcontainers/ryuk:0.3.3 (118s remaining)
2022-05-17 21:59:51 ERROR c.g.d.a.a.ResultCallbackTemplate(onError):52 - Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.3\": toomanyrequests: too many failed login attempts for username or IP address"}
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247) ~[testcontainers-1.17.1.jar:?]
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269) ~[testcontainers-1.17.1.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
2022-05-17 21:59:51 WARN o.t.i.RemoteDockerImage(resolve):104 - Retrying pull for image: testcontainers/ryuk:0.3.3 (118s remaining)
2022-05-17 21:59:52 ERROR c.g.d.a.a.ResultCallbackTemplate(onError):52 - Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.3\": toomanyrequests: too many failed login attempts for username or IP address"}
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247) ~[testcontainers-1.17.1.jar:?]
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269) ~[testcontainers-1.17.1.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
2022-05-17 21:59:52 WARN o.t.i.RemoteDockerImage(resolve):104 - Retrying pull for image: testcontainers/ryuk:0.3.3 (117s remaining)
2022-05-17 21:59:52 ERROR c.g.d.a.a.ResultCallbackTemplate(onError):52 - Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"Head \"https://registry-1.docker.io/v2/testcontainers/ryuk/manifests/0.3.3\": toomanyrequests: too many failed login attempts for username or IP address"}
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247) ~[testcontainers-1.17.1.jar:?]
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269) ~[testcontainers-1.17.1.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
2022-05-17 21:59:52 WARN o.t.i.RemoteDockerImage(resolve):104 - Retrying pull for image: testcontainers/ryuk:0.3.3 (117s remaining) as to the code itself, I expect it to compile correctly but I cannot verify that running the jooq command because of docker |
@supertopher I think that might just be your local. This is what I get when I try to run this:
|
outdated by newer commits and work with Davin
* Adds a new string cloumn to configs for cron closes #11418 i'm new to this task in Java please be brutal * Adds airbyte header * WIP * Rebase a week of commits * WIP for davin * deps update * Reorganize code for better readability. Also add a schema. * Update tests. * Correct bad test. * Adds note for testing version change * formatting change Co-authored-by: Davin Chia <davinchia@gmail.com>
Adds a new string cloumn to configs for cron
closes #11418
feedback very welcome nits included
What
Adds the column using generators
Unsure if we expect testing for these. Peter's PR certainly has tests but I thought I would ask the room here