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

rootlessport: use two different channels #6036

Merged

Conversation

giuseppe
Copy link
Member

The same channel is written to by two different goroutines.

Use a different channel for each of them so to avoid writing to a closed channel.

Closes: #6018

Signed-off-by: Giuseppe Scrivano <[email protected]>
The same channel is written to by two different goroutines.

Use a different channel for each of them so to avoid writing to a
closed channel.

Closes: containers#6018

Signed-off-by: Giuseppe Scrivano <[email protected]>
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 29, 2020
@rhatdan
Copy link
Member

rhatdan commented Apr 29, 2020

LGTM

1 similar comment
@mheon
Copy link
Member

mheon commented Apr 29, 2020

LGTM

@mheon
Copy link
Member

mheon commented Apr 29, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2020
@openshift-merge-robot openshift-merge-robot merged commit 6246165 into containers:master Apr 29, 2020
@mheon
Copy link
Member

mheon commented Apr 29, 2020

Can we get a backport to v1.9?

@giuseppe
Copy link
Member Author

Can we get a backport to v1.9?

yes I am going to backport it.

Does the /cherry-pick command work in this repo?

/cherry-pick 1.9

@giuseppe
Copy link
Member Author

no it doesn't, so here it is the PR: #6040

@rhatdan
Copy link
Member

rhatdan commented Apr 29, 2020

@cevich Any chance we can get /cherry-pick?

@cevich
Copy link
Member

cevich commented May 4, 2020

@cevich Any chance we can get /cherry-pick?

Hrmmm, not that I know of (by any bot we're currently using). A Github Action could maybe do it but it's not something I've researched. I could guess, but what is the desired behavior when commenting that with a tag or ref?

@rhatdan
Copy link
Member

rhatdan commented May 4, 2020

In the PR that is being merged into master, we do a
/cherry-pick v1.9
And the tool would attempt to apply the same PR to v1.9 and open a github PR with it.

@rhatdan
Copy link
Member

rhatdan commented May 4, 2020

CRI-O has this capabillity

@cevich
Copy link
Member

cevich commented May 4, 2020

oh! okay, that's a helpful hint, I'll go look there.

@haircommander
Copy link
Collaborator

it's prow magic. I couldn't find a knob to tune in github.com/openshift/release, but I'd guess it's there

@cevich
Copy link
Member

cevich commented May 5, 2020

Thanks @haircommander I poked around a bit for a Github Action that could replicate this functionality, but haven't found any which don't also require fussing with javascript.

The 'do stuff to code, and open a PR' is actually the easy thing to hand-code. The synchronize and responding to comments part is the challenging part - mostly from a 'avoid doing bad/wrong things' perspective.

@cevich
Copy link
Member

cevich commented May 5, 2020

@rhatdan I'll poke around more as time permits, but this is pretty low on my priority list. My assumption is "nice to have feature" but also "rarely used". If that's wrong, I can make it a higher priority.

@rhatdan
Copy link
Member

rhatdan commented May 6, 2020

I will let @haircommander and @giuseppe comment on that.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

containers-rootlessport dumps core
7 participants