-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Revert "workflows/eval: Add the eval summary as a comment" #361388
Conversation
This reverts commit 38003ce.
Ideally it should only output one comment and then modify it continuously. The position it appears should be relatively high so will not be folded by GitHub. |
Eval summary
|
It only updates the last comment already. Still when I open a pull request, I will now always get a notification even if no human has responded to my PR. |
That's already the case, IIUC.
Yeah, I suggested to put it before requesting reviews via OWNERS in #361061 (comment). |
Yeah. Annoying. Is there any way to have the bot post the eval results into the PR description / body, maybe replacing a special placeholder in the template? |
Don't think github actions have currently permissions to do that. |
|
Ok. Maybe you can try this in a follow up pull request. |
Are you still receiving notifications about those edits or do those happen "silently"? |
No notifications. For reference https://stackoverflow.com/questions/38986589/does-github-send-a-notification-when-an-issue-comment-is-edited
|
Perhaps we can create a commit status instead, I think that's also what ofborg does: https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#create-a-commit-status |
I think the idea here is to make the number of rebuilt packages easier to see. The data is already available in the summary page for the eval jobs, so arguably a commit status... would not be any more visible than that? |
I've made a version that add the eval summary to the
Demo azuwis#15 I think it's pretty elegant, no notifications, occupy only a little space. Before opening a PR, I'd like to know what you think. |
@azuwis I'm not a huge fan, because at least in a lot of my PRs I completely remove the checkmarks and rewrite appropriate ones myself, and I don't really want CI to mess with that, especially when rebuild count is irrelevant anyways. Also it just seems conceptually wrong, the comment is user-written and not meant for CI output. I'm also concerned on what happens when a user updates the description around the same time as CI, that seems reconcilable, but that shouldn't even be a concern imo.
It takes two button presses to get to the summary page (the first one gets you to the details page, and then finding where the summary is is not obvious), while with a commit status it would be a single click that can lead to any page. And people are already used to that from ofborg. |
Good idea, implemented in #361973 |
This reverts commit 38003ce.
I am already overwhelmed with github notifications and this makes the situation even worse.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.