It would be nice to have automated PRs to update f1_keywords for the undocumented messages in both C# and VB.
It would also be good to have a CI check that fails on duplicate f1 (this can happen when a new documented error message PR forgets to remove the f1_keyword from the undocumented page).
This could be somewhat hard, but sometimes Roslyn updates the text for error message, it would be nice if an automation can submit PRs with the updated text messages.
For that to be done, the bot will need to do the following for each article:
Compare the retrieved message with the first paragraph in the doc article.
Comparing will need to track {some_number} (e.g, {0}) in the retrieved error message and assume anything in place of it in the article as valid.
If the comparison implied they're not equivalent, update it. The updates will need to be manually reviewed/edited due to the existence of {0}, {1}, etc.
This is partially dependent on https://github.com/dotnet/docs/issues/20935
It would be nice to have automated PRs to update f1_keywords for the undocumented messages in both C# and VB.
It would also be good to have a CI check that fails on duplicate f1 (this can happen when a new documented error message PR forgets to remove the f1_keyword from the undocumented page).
This could be somewhat hard, but sometimes Roslyn updates the text for error message, it would be nice if an automation can submit PRs with the updated text messages.
For that to be done, the bot will need to do the following for each article:
{some_number}
(e.g,{0}
) in the retrieved error message and assume anything in place of it in the article as valid.Note that the second point about duplicate f1 won't be needed if https://github.com/dotnet/docs/issues/20198#issuecomment-683167066 was done.