Skip to content
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

Not possible to waive test results on Bodhi updates created from sidetags #2546

Closed
nforro opened this issue Sep 25, 2024 · 7 comments
Closed
Assignees
Labels
area/fedora Related to Fedora ecosystem complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.

Comments

@nforro
Copy link
Member

nforro commented Sep 25, 2024

It's possible for users to waive failed tests on regular Bodhi updates created by Packit, but it's not possible to do that on updates created from sidetags, only the owner (creator) of a sidetag can do it. Clearly the waiving permissions are set up differently for these two cases, though I haven't been able to find any info on this.
This is a blocker for podman releases.

We need to either convince the responsible people/teams to change the permissions, or implement some mechanism that would allow users to ask Packit to waive the results while not allowing misuse.

@nforro nforro added the discuss discuss To be discussed within a team (usually on the so-called Architecture meeting next Thursday) label Sep 25, 2024
@mfocko mfocko added kind/bug Something isn't working. area/fedora Related to Fedora ecosystem impact/low This issue impacts only a few users. gain/high This brings a lot of value to (not strictly a lot of) users. complexity/single-task Regular task, should be done within days. labels Sep 26, 2024
@mfocko mfocko moved this from new to priority-backlog in Packit Kanban Board Sep 26, 2024
@mfocko
Copy link
Member

mfocko commented Sep 26, 2024

Maybe mention the waiving in the role rotation card for the Community Shepherd, also reach out to the Bodhi maintainers.

@lbarcziova lbarcziova removed the discuss discuss To be discussed within a team (usually on the so-called Architecture meeting next Thursday) label Oct 3, 2024
@lbarcziova lbarcziova moved this from priority-backlog to refined in Packit Kanban Board Oct 3, 2024
@nforro
Copy link
Member Author

nforro commented Oct 3, 2024

Waiving permissions are handled in waiverdb, however this gets blocked in Bodhi, apparently waiving is considered editing an update. It could be possible to waive the tests directly using waiverdb-cli and overcome this Bodhi obstruction, however it's undocumented and I haven't been able to test it.

@nforro
Copy link
Member Author

nforro commented Oct 3, 2024

I spent so much time on this already that I might just take it 🙂

@nforro nforro self-assigned this Oct 3, 2024
@nforro nforro moved this from refined to in-progress in Packit Kanban Board Oct 3, 2024
@nforro
Copy link
Member Author

nforro commented Oct 3, 2024

It looks like fedora-infra/bodhi#4014 is the reason why it was implemented in this way - previously, only maintainters of all builds in the sidetag were able to edit the update. But now only sidetag creator can edit it and not the maintainers, so I would say it's a bug. I'll try to propose a PR to fix it.

@nforro
Copy link
Member Author

nforro commented Oct 15, 2024

Here is Bodhi PR: fedora-infra/bodhi#5764

@nforro nforro added the blocked We are blocked! label Oct 17, 2024
@nforro
Copy link
Member Author

nforro commented Oct 20, 2024

The PR has been merged, now we need to wait for the next Bodhi release.

@nforro nforro removed the blocked We are blocked! label Nov 5, 2024
@nforro
Copy link
Member Author

nforro commented Nov 11, 2024

I can confirm that sidetag updates where packit/packit-stg is the creator of the sidetag can now be edited by maintainers of all packages in the update, and it should be the same for waiving.

@nforro nforro closed this as completed Nov 11, 2024
@github-project-automation github-project-automation bot moved this from in-progress to done in Packit Kanban Board Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/fedora Related to Fedora ecosystem complexity/single-task Regular task, should be done within days. gain/high This brings a lot of value to (not strictly a lot of) users. impact/low This issue impacts only a few users. kind/bug Something isn't working.
Projects
Archived in project
Development

No branches or pull requests

3 participants