-
Notifications
You must be signed in to change notification settings - Fork 947
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
Remove more internal uses of IDs #3 #5883
Conversation
…in_pipeline_statistics_query`
all relevant inner errors already print the label of the buffers
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
Hmm even more conflicts with #5884, still haven't recovered from the last. Well, I guess I'll have to suck it up; that pr is still incomplete as there's a bunch of tests missing. Edit: while I don't have time for a full review right now, skimming this some more it doesn't look all that bad since the core areas touched are different - good the the command arcanization thing went in before! I love the work you're doing here, more than willing to redo my draft on top! |
Sorry for the conflicts, I can help rebase, just let me know. |
The reason I extracted the code from passes was because
PassErrorScope
isCopy
and I wanted to replace all the resources referenced by ids in its variants withResourceErrorIdent
s which is notCopy
. After going through all the work to do that, I realized I could remove the ids from all variants anyway because the inner error types already containedResourceErrorIdent
's where relevant; or if they didn't I added them. I think we should still land the code extractions since we can now deduplicate some of the code; it also removes the need to keep calling.map_pass_err()
everywhere.Part of #5121.
PR doesn't need to be squashed, each commit builds by itself.