-
Notifications
You must be signed in to change notification settings - Fork 595
Start basic docs for pre-stabilization CI job #2899
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
Merged
+58
−0
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Pre-stabilization testing of new solver and polonius alpha on CI | ||
|
|
||
| We want to improve the continuous test coverage of next solver and polonius | ||
| alpha with a goal to stabilize them in 2026. To achieve this, we need to ensure | ||
| these unstable features are well tested and continuously well tested so they do | ||
| not regress. | ||
|
|
||
| This calls for a dedicated CI job [`x86_64-gnu-pre-stabilization`] which is | ||
| blocking in PR CI and thus also Merge CI to catch regressions. | ||
|
|
||
| For more context, see: | ||
|
|
||
| * [MCP 996: Test new solver and polonius alpha on CI](https://github.com/rust-lang/compiler-team/issues/996) | ||
| * Tracking issue: <https://github.com/rust-lang/rust/issues/157780> | ||
|
|
||
| ## What is tested | ||
|
|
||
| * For next solver: | ||
| * We want to ensure that we can build the stage 2 compiler and standard | ||
| library with next solver. | ||
| * (Later) we also want to ensure that we can bootstrap a full toolchain with | ||
| the next solver. | ||
| * For polonius alpha: | ||
| * We wil run the UI test suite under polonius [compare | ||
| mode](./compiletest.md#compare-modes), against the stage 2 compiler/std | ||
| built with next solver as aforementioned. | ||
|
|
||
| > **Note** | ||
| > | ||
| > Initially, we may test only up to `--stage=1`, but the plan is to expand up to | ||
| > stage 2. | ||
| > | ||
| > To reproduce failures locally: | ||
| > | ||
| > ```console | ||
| > $ RUSTFLAGS_NOT_BOOTSTRAP="-Znext-solver=globally" ../x build library --stage 1 | ||
| > ``` | ||
| > | ||
| > ```console | ||
| > $ RUSTFLAGS_NOT_BOOTSTRAP="-Znext-solver=globally" ../x test tests/ui --compare-mode polonius --stage 1 | ||
| > ``` | ||
|
|
||
| ## What failures and remedies might be specific to this combination? | ||
|
|
||
| * This may yield new errors when using unstable features in the standard library | ||
| or the compiler. | ||
| * This may sometimes require blessing new tests, or in rare cases, adding test | ||
| annotations or revisions. | ||
|
|
||
| ## Point of contact | ||
|
|
||
| If you have questions or need advice on a test failure in this job, please open | ||
| a new topic in [t-compiler zulip | ||
| channel](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler). | ||
|
|
||
|
|
||
| [`x86_64-gnu-pre-stabilization`]: https://github.com/rust-lang/rust/pull/157322 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.