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

[3.5] fix(defrag): close temp file in case of error #18854

Open
wants to merge 1 commit into
base: release-3.5
Choose a base branch
from

Conversation

ghouscht
Copy link
Contributor

@ghouscht ghouscht commented Nov 8, 2024

@k8s-ci-robot
Copy link

Hi @ghouscht. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ghouscht
Copy link
Contributor Author

ghouscht commented Nov 8, 2024

/assign @ahrtr

Should I prepare a changelog entry as well?

@ahrtr
Copy link
Member

ahrtr commented Nov 8, 2024

/ok-to-test

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, ghouscht

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

@ahrtr
Copy link
Member

ahrtr commented Nov 8, 2024

PLease also update the changelog for both. 3.5 and 3.4, thx

@mmorel-35
Copy link
Contributor

This will make go vet fail and is already causing trouble on main https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/etcd-io_etcd/18821/pull-etcd-verify/1854634839446130688#1:build-log.txt%3A838

@ghouscht ghouscht force-pushed the backport-defrag-close-temp-3.5 branch from 655e1a1 to b2ba488 Compare November 8, 2024 11:39
@ghouscht
Copy link
Contributor Author

ghouscht commented Nov 8, 2024

This will make go vet fail and is already causing trouble on main https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/etcd-io_etcd/18821/pull-etcd-verify/1854634839446130688#1:build-log.txt%3A838

Thank you for raising this. Strange that it wasn't noticed by the checks that were run against the PR where this was added to main. I submitted #18857 to fix this in main and adapted this and the 3.4 backport PRs.

@ahrtr
Copy link
Member

ahrtr commented Nov 8, 2024

Strange that it wasn't noticed by the checks that were run against the PR where this was added to main.

Right. It's the problem. Any idea why it wasn't detected on the PR? One possible reason was that you did not rebase your PR; in other words, your PR was based on the commit before the lint was enabled.

@ghouscht
Copy link
Contributor Author

ghouscht commented Nov 8, 2024

Strange that it wasn't noticed by the checks that were run against the PR where this was added to main.

Right. It's the problem. Any idea why it wasn't detected on the PR? One possible reason was that you did not rebase your PR; in other words, your PR was based on the commit before the lint was enabled.

Hmm I try to keep my for up-to-date so I don't think this was the issue. However the PR (#18851) had no ok-to-test label so that most likely explains this.

@ahrtr
Copy link
Member

ahrtr commented Nov 8, 2024

the PR (#18851) had no ok-to-test label so that most likely explains this.

Right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants