Skip to content

Conversation

@Molter73
Copy link
Collaborator

@Molter73 Molter73 commented Jan 12, 2026

Description

After hitting a small problem with MintMaker not being able to install the version of the rust compiler we were enforcing, we have decided to take a chance and start using the stable version of the toolchain as default. The stable version of the toolchain will be used in CI for building, testing and linting, as well as for building the upstream image.

Since future releases of rust may break compilation of our code in unexpected ways (new linting, more strict lifetime enforcement, etc..), the existing CI pipeline has been extended to run using the nightly toolchain. This toolchain is 2 minor versions ahead of the latest stable release, so it should give us enough time to sort any issues that may arise before the breaking change gets stabilized.

The release process documentation has been updated to pin the rust version on release branches and disable cargo updates from MintMaker, since these will break the same way they are broken now on main.

No changes are needed on the konflux Containerfile, because the version used for those builds are already handled via the RPM lockfile.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

CI should be enough.

@Molter73 Molter73 force-pushed the mauro/feat/use-stable-toolchain branch 2 times, most recently from 781a324 to 3638e78 Compare January 12, 2026 12:11
@Molter73
Copy link
Collaborator Author

I'll need to update the required CI jobs before we can merge this PR, will do so after I get an approval.

After hitting a small problem with MintMaker not being able to install
the version of the rust compiler we were enforcing, we have decided to
take a chance and start using the stable version of the toolchain as
default. The stable version of the toolchain will be used in CI for
building, testing and linting, as well as for building the upstream
image.

Since future releases of rust may break compilation of our code in
unexpected ways (new linting, more strict lifetime enforcement, etc..),
the existing CI pipeline has been extended to run using the nightly
toolchain. This toolchain is 2 minor versions ahead of the latest stable
release, so it should give us enough time to sort any issues that may
arise before the breaking change gets stabilized.

The release process documentation has been updated to pin the rust
version on release branches and disable cargo updates from MintMaker,
since these will break the same way they are broken now on main.

No changes are needed on the konflux Containerfile, because the version
used for those builds are already handled via the RPM lockfile.
@Molter73 Molter73 force-pushed the mauro/feat/use-stable-toolchain branch from 3638e78 to fe163c1 Compare January 12, 2026 13:46
@Molter73 Molter73 marked this pull request as ready for review January 12, 2026 13:49
Copy link
Contributor

@ovalenti ovalenti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read through the modifications proposed, and it all seemed fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants