-
Notifications
You must be signed in to change notification settings - Fork 13.4k
tests/ui
: A New Order [1/N]
#141793
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
tests/ui
: A New Order [1/N]
#141793
Conversation
pls make sure that these commits get squashed b/c we really don't need a more than one commit for every file move, since they seem to me pretty self-descriptive :> (edit: didn't read the "also should say that im going to squash it after agreement on changes" -- thanks for mentioning it, sorry for the ping!) |
@compiler-errors sure, i will squash them as soon as the review is done |
Some meta remarks before I look at the actual changes since you said
During review time, it's fine to not have so many intermediate commits, but a good granularity I find is one commit for each test (say
You can also put a
Note Intermediate commits are intended to help review, but will be squashed prior to merge. What I try to do with my PR descriptions is to keep it focused about the proposed changes itself, and then leave (meta) discussions to the comments.
You don't really need to if the changes are self-explanatory (say in commit messages or is clear from test comments). I would highlight stuff that the reviewer should pay extra attention to. Of course, backlinking to #133895 is fine.
We don't really have requirements on PR title as long as it's not completely misleading or whatever. If you'd like to use that for your series of PRs, I have no objections to that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have some suggestions
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
@jieyouxu would it fine if i make this changes in one commit? or it still better to keep in separate commits is there a strategy to find a related issue for a test? |
If I were writing this PR, I would use interactive rebase to restructure my commits to one per test (during review time, prior to merge). But if that's not something you're familiar with, I don't mind if you just squash everything into one commit, as I've seen the correspondence now.
Yes, |
@jieyouxu: In general if this is going to be major ongoing work to add descriptions to test file, I'd pretty strongly prefer if we don't have hundreds of single file commits in the commit history just for cosmetic changes to tests. We have quite a few tests in the repo as I think we all know 😹. |
Oh to clarify, I do not mean to merge a bunch of per-test commits. I only mean during review, as trying to identify the correspondence between moved and changed tests is a PITA. I was going to ask to squash before merge. This is what I meant by
|
Ah, (side note maybe it's not actually worth having the convo here then) that seems like a bit of work for the author of the PR 💀 but up to the author I guess! |
@jieyouxu well, i updated everything, if it's good to you, i can squash into one commit then |
tests/ui
tests/ui
: A New Order [1/N]
BTW you can resolve my review comments if you have addressed them 😁 |
In any case, this seems fine now, please squash and we can send it off to the queue. |
@rustbot ready |
Thanks |
Rollup of 8 pull requests Successful merges: - #140787 (Note expr being cast when encounter NonScalar cast error) - #141112 (std: note that `std::str::from_utf8*` functions are aliases to `<str>::from_utf8*` methods) - #141646 (Document what `distcheck` is intended to exercise) - #141740 (Hir item kind field order) - #141793 (`tests/ui`: A New Order [1/N]) - #141805 (Update `compiler-builtins` to 0.1.160) - #141815 (Enable non-leaf Frame Pointers for mingw-w64 Arm64 Windows) - #141819 (Fixes for building windows-gnullvm hosts) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #141793 - Kivooeo:test-reform, r=jieyouxu `tests/ui`: A New Order [1/N] not sure if i should say something about changes here, just part of #133895 but this is my very first time doing something like this, id love to keep contributing in this area later on, so any feedback is appreciated also should say that im going to squash it after agreement on changes r? `@jieyouxu` mind if i name this PR series like "`tests/ui`: A New Order [N/N]", im not sure if it fits the project tone, so id like your approval first — but i think it sounds really neat (Star Wars reference) this could be a first part :)
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#140787 (Note expr being cast when encounter NonScalar cast error) - rust-lang#141112 (std: note that `std::str::from_utf8*` functions are aliases to `<str>::from_utf8*` methods) - rust-lang#141646 (Document what `distcheck` is intended to exercise) - rust-lang#141740 (Hir item kind field order) - rust-lang#141793 (`tests/ui`: A New Order [1/N]) - rust-lang#141805 (Update `compiler-builtins` to 0.1.160) - rust-lang#141815 (Enable non-leaf Frame Pointers for mingw-w64 Arm64 Windows) - rust-lang#141819 (Fixes for building windows-gnullvm hosts) r? `@ghost` `@rustbot` modify labels: rollup
not sure if i should say something about changes here, just part of #133895
but this is my very first time doing something like this, id love to keep contributing in this area later on, so any feedback is appreciated
also should say that im going to squash it after agreement on changes
r? @jieyouxu
mind if i name this PR series like "
tests/ui
: A New Order [N/N]", im not sure if it fits the project tone, so id like your approval first — but i think it sounds really neat (Star Wars reference)this could be a first part :)