-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
libzfs: write_inuse_diffs_one: format strerror() with "%s" #12197
Conversation
@tonynguien you merged #12072, could I convince you to fast-track this? CI refusing to build literally anything based on |
That's odd, I wonder why it passed all the CI before being pulled. My apologies for the inconvenience. edit: Yeah, this is somewhat odd, nothing is jumping out at me as different between the two runs... |
Fixes: 50353db ("Let zfs diff be more permissive") Ref: https://github.com/nabijaczleweli/zfs/runs/2749781519?check_suite_focus=true#step:6:1425 Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
96e5277
to
b643b27
Compare
Looking at the source branch for the PR, it looks like it was based on |
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 for catching this right away, let me verify it locally then get it merged to keep the CI happy.
I wonder if Github has any way to express the idea of checking whether a PR is based against a sufficiently recent version of the branch (beyond just "yup it merges cleanly") - I don't see an obvious one. Maybe if you can trigger a check nightly on all open PRs, it would be good enough? (Or I guess you could trigger it on every push to the main branch if it's cheap enough...) Just a thought. |
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 for jumping on this quickly.
@rincebrain there is a GitHub feature for this called "Require branches to be up to date before merging" which does close to what we want. But my understanding it it's very strict, so PRs would always need to be against the HEAD commit. Which clearly isn't ideal when there are a large number of PRs open. But we could always give it a try and see if it really does behave that way. |
Oof, the behavior as described seems like a nightmare for a project with any nontrivial flow of PRs. Maybe I'll go try learning GH actions on a toy project and see how easily it can be made to do what I described... |
Thankfully we don't run in to things like this that often since normally the PRs are pretty current, and things don't change that fast. It's just that lately @nabijaczleweli has been raising the bar for many of the automated checks (which is great!). |
Fixes 50353db ("Let zfs diff be more permissive") which accidentally introduced a build warning. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#12197
Fixes 50353db ("Let zfs diff be more permissive") which accidentally introduced a build warning. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#12197
Fixes 50353db ("Let zfs diff be more permissive") which accidentally introduced a build warning. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#12197
Motivation and Context
Introduced in 50353db, breaks CI for every child: https://github.com/nabijaczleweli/zfs/runs/2749781519?check_suite_focus=true#step:6:1425
Description
"%s"
How Has This Been Tested?
No longer makes the warning for me locally
Types of changes
Checklist:
Signed-off-by
.