Conversation
|
As you can see, the existing format failures caused the PR checks to fail. |
|
Something of note: the binaries built by the CI don't have any webui files bundled, so can't be used in the same way as the manually-built binaries attached to previous releases. Also, despite there being a codepath (here) for having no bundled files, it's not possible to reach because of how the web state is instantiated (here). In my opinion, the choice of whether to bundle files at build time should handled by conditional compilation, defaulting to false. This would fit with the idea of using some kind of launcher to start the client going forward, which could use something like #138 to provide the webui files. At the current position in the project, I don't think I should just go and decide something like that, so I'm leaving this as a question for the dev team to answer. |
Bash-09
left a comment
There was a problem hiding this comment.
Artifact uploads were initially only for main to prevent merge requests uploading a bunch of artifacts and using up our free-tier storage limit, but then I think there was some update to the Rust ci pipeline thingy that was being used that broke them. Anyways, probably doesn't really matter since I doubt there's enough activity to reach the free limit, but it would be preferable to just do checks on MRs and uploads on main.
|
All the docs I can find read to me like public repositories have no limit on Actions minutes or storage, only private repos count towards any usage limitations. Without that limitation I think uploading artifacts for PRs makes sense. I don't see any reason not to, and it could come in handy. What do you think? Should I do anything regarding not bundling UI? I could probably call the Regarding clippy: I'll add those as I see that you used |
I seem to remember there being limits on repositories of free organizations, but I can't be bothered to find it again. Might have been on some CI pricing page. Regardless, it probably won't be an issue for us anyways so I'm not gonna make a fuss about it.
I wouldn't bother for now. It wasn't there previously so there is no loss. Plus with the dynamic web serving, a user can always grab the UI files separately and still use them without having to compile anything (assuming the UI build is available)
Yep sounds reasonable.
Yeah that was just what I happened to use, doesn't matter to me. |
v(e.g.v1.0.0) will create a draft release if the build succeeds, with the artifacts uploaded to the release automatically