-
-
Notifications
You must be signed in to change notification settings - Fork 5
Select update channels #43
base: main
Are you sure you want to change the base?
Conversation
…eat/select-update-channels
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.
There is a bug in the manager code for this:
https://github.com/runcitadel/manager/blob/3205e4c096a806f1afd87fdf4a4eb4e33b83b152/routes/v2/system.ts#L154
ctx.body.channel
should be ctx.request.body.channel
But after fixing this the endpoint still returns error 404, even though it seems to work otherwise. I'll do another test run when fixed.
As a suggestion it would be better if we could merge "per feature" instead of backend first and then frontend like we did for this feature. Would enable us to test E2E and more easily find bugs. We probably would catch any major bugs in pre-release testing anyway but I think it would avoid us having to do too many reviews and jumping from repo to repo. |
Switching works now but there are still some issues:
|
runcitadel/core@15138ab should fix this.
I'll debug that, thanks for letting me know!
👍 |
This works now if the modal is closed with the close button but still broken when closing with a click outside the modal. It still doesn't actually switch the branch or does the update as far as I can see, it only writes the env var. The dashboard reloads once, is unresponsive, then reloads again and asks for login. Nothing seems to have changed though. Tested with this branch and the |
It is only supposed to make updates from the branch available, not actually install them. |
I'll try to fix that too, thanks! |
I find that confusing. How can I actually switch the branch then from the UI? I'd have to wait until a new update comes out on that branch? We should at least make it clear to the user that that is what is happening. But imo just auto-install the update. Also switching to Core LN doesn't work because the env has the wrong name: |
Depends on runcitadel/manager#122