Abra fails to deploy recipes with no published versions #476

Closed
opened 2023-07-31 18:06:16 +00:00 by decentral1se · 2 comments
Owner

image

(EDIT: asking fedi friends if this can be moved to the critical fixes budget)

![image](/attachments/e251e558-4af5-4186-b535-3a277e53b154) (EDIT: asking fedi friends if this can be moved to the [critical fixes budget](https://git.coopcloud.tech/coop-cloud/organising/projects/24))
decentral1se added the
bug
label 2023-07-31 18:06:16 +00:00
decentral1se added the
abra
label 2023-08-01 17:45:42 +00:00
Author
Owner

I managed to track this down to e76ed771df @moritz which I then later tried to tweak with 0582147874 due to the number of issues people were running into re: #432. However, I realise that < 0.7.x abra used to do this for deploying a new recipe with no released versions:

WARN[0007] no versions detected, using latest commit
WARN[0007] no published release discovered for bonfire
... deploy overview...
...deploy...

But now it errors out when there are missing tags even when the version is the latest hash (fresh recipe). It used to be a Warn but now it is an Error... I could change this back to a warning but then I perhaps break kadabra 😬 Do you know if you need this to definitely be an error?

I have a diff that preserves the current erroring functionality and allows deploying a fresh recipe. Let me know if this works? I'm hesitant to make the change (risk of more regressions...) but we can try to do more manual testing? (automated test suite One Day ™️)

coop-cloud/abra#335

I managed to track this down to https://git.coopcloud.tech/coop-cloud/abra/commit/e76ed771df45cad6c095d3f319ae2acbf04b3165 @moritz which I then later tried to tweak with https://git.coopcloud.tech/coop-cloud/abra/commit/0582147874efe82e3609bc2786b3ea2d68a6a8ff due to the number of issues people were running into re: https://git.coopcloud.tech/coop-cloud/organising/issues/432. However, I realise that < 0.7.x `abra` used to do this for deploying a new recipe with no released versions: ``` WARN[0007] no versions detected, using latest commit WARN[0007] no published release discovered for bonfire ... deploy overview... ...deploy... ``` But now it errors out when there are missing tags even when the version is the latest hash (fresh recipe). It used to be a `Warn` but now it is an `Error`... I could change this back to a warning but then I perhaps break `kadabra` 😬 Do you know if you need this to definitely be an error? I have a diff that preserves the current erroring functionality and allows deploying a fresh recipe. Let me know if this works? I'm hesitant to make the change (risk of more regressions...) but we can try to do more manual testing? (automated test suite One Day ™️) https://git.coopcloud.tech/coop-cloud/abra/pulls/335
decentral1se added this to the Critical fixes project 2023-08-02 15:57:22 +00:00
Author
Owner

Please re-open if stuff is broke!

Please re-open if stuff is broke!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#476
No description provided.