Hello, everybody! Is it correct statement after <h...
# contributing-to-airbyte
o
Hello, everybody! Is it correct statement after https://github.com/airbytehq/airbyte/pull/7501/files was merged we should bump connector version
airbyte-config/init/src/main/resources/seed/destination_specs.yaml
or here
airbyte-config/init/src/main/resources/seed/source_specs.yaml
as well? Thanks.
u
I mean, the case, when we update connector
u
u
maybe worth adjusting further the docs here: https://github.com/airbytehq/airbyte/pull/7589
o
So, this will come as additional step?
u
I don’t know, @Lake Mossman will be able to better answer…
o
ok, thanks
u
@Davin Chia (Airbyte)
o
Are you familiar with this mechanism of autogenerating the
seed/*_specs.yaml
? Should the updated version of the connector be
/published
beforehand? What about the new connectors?
o
You have to publish the new image, then rerun the build after that so the spec is added to the platform connector cache. So there is an extra step for ya guys
u
I asked Sherif where to update publishing docs and didn’t get a reply. Looks like Chris already has a PR open!
u
Lake (who is already tagged here), can you add to that PR when you get up?
u
I see, my understanding of this was correct I guess)
u
ok, I’ll update my teammates about this
u
I never doubted you sasha 🙂
o
great, thank you
Hello @Davin Chia (Airbyte) I develop the new connector https://github.com/airbytehq/airbyte/pull/7407 it looks like I need to “/publish” it for tests passed - OK can I publish it ?
u
I see that from now we need to publish connectors which still on review stage to make tests passed ok
u
if the connector tests are passing and the PR has been approved than yes, please publish it
u
in this case, I don’t think the connector has been approved yet, so we should not publish it
u
it is okay if the build isn’t passing for now since you can still test your change via the /test command
u
Lake, affecting the connector teams is what I was slightly worried about. I think we should only run the spec check in the platform build. The connector build is untouched for a connector dev to develop on. They have to make sure the platform build passes still, so it should overall be ok
o
By the way what if /test command fails due to e.g.
Exception in thread "main" java.lang.RuntimeException: Failed to fetch valid spec file for docker image airbyte/source-mysql:0.4.9 from GCS bucket io-airbyte-cloud-spec-cache
? To fix that I need to publish the connector. However, I don’t have guarantees, integration tests passed and build is successful, etc.
for me it looks like chicken or egg problem my new connector cannot pass tests for now because of this error
Copy code
Error: Exception in thread "main" java.lang.RuntimeException: Failed to fetch valid spec file for docker image airbyte/source-youtube-analytics:0.1.0 from GCS bucket io-airbyte-cloud-spec-cache
and as I understand to overcome this error I need to publish my connector image
u
oh is it failing?
u
yep)
u
okay give me a few mins
u
does also this block /test commands?
o
u
hm yes, it seems “/test” not blocked
u
great, is it okay if we work off /test for the time being? we can figure this out when Lake gets up tomorrow
o
I just try to clarify for myself how to move forward my PR because some Airbyte CI stages are become RED for now
u
Thank you!
u
Hello all, sorry for all of the friction this has caused! I am going to revert my change while we figure out the best way to move forward with this