Skip to content
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

CI is not able to catch some breaking errors #818

Closed
bugadani opened this issue Sep 26, 2023 · 3 comments
Closed

CI is not able to catch some breaking errors #818

bugadani opened this issue Sep 26, 2023 · 3 comments
Labels
CI Continuous integration/deployment

Comments

@bugadani
Copy link
Contributor

In the past week, the following build errors have been introduced with green CI:

I can't explain the first one. I can compile examples locally even with defmt enabled and that shouldn't currently be possible - my pet project breaks "as expected".

For the second one, it looks like cargo check is insufficient to detect some errors.

@bugadani bugadani changed the title CI is not able to catch breaking errors CI is not able to catch some breaking errors Sep 26, 2023
@bugadani
Copy link
Contributor Author

I guess technically this will be helped by #809 ...

@jessebraham
Copy link
Member

Just a couple random comments for background:

  • We used cargo check before because the only linker errors that really happened previously were due to the image formats, and we had explicit cargo build checks for these. I think it might be time to just use cargo build everywhere now, though, given that there are plenty of other sources of linker errors.
  • CI has long been a thorn in my side, and we have re-written it a couple times now. Maybe we need to spend some time thinking about how we can improve this process and make it less prone to human error and bitrot

@jessebraham jessebraham added the CI Continuous integration/deployment label Sep 26, 2023
@jessebraham
Copy link
Member

We have completely reworked our CI workflow at this point, and while there are still some lingering issues I think most/all of them have their own issues. So, I hope this has been mostly resolved in the meantime, and I'm going to go ahead and close it.

As usual, if you feel this is the wrong thing to do then please feel free to re-open this issue or create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration/deployment
Projects
Archived in project
Development

No branches or pull requests

2 participants