-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Error index test integration needs to be more robust #34588
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
We've been plauged today with problems related to the error index tests. Today the way these tests work are:
tmp/directory.error_index_generatorprogram runs, processing this diagnostic information and generatingerror-index.mdThis setup is brittle for a few reasons:
The compiler should not jettison json files out the back when compiling and instead the error index generator should process the diagnostics directly. This sidesteps sequencing problems, stale problems, etc, and should be more robust.