GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Remove temp clone dir after writing a repository by gauron99 · Pull Request #4053 · knative/func

Conversation

@gauron99

@gauron99 gauron99 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

/kind cleanup

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dsimansk reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@gauron99
Remove temp clone dir after writing a repository
bcaddd7
Repository.Write clones remote repos into a directory from os.MkdirTemp and
copies it to the destination, but never removed the directory. Every
'func repository add' left a full clone under the system temp dir. Defer
os.RemoveAll so the clone is removed on both success and failure.
@knative-prow knative-prow Bot added the kind/cleanup Cleanup label Sep 17, 2026
@knative-prow
knative-prow Bot requested review from dsimansk and jrangelramos September 17, 2026 06:34
@knative-prow knative-prow Bot added approved 🤖 PR has been approved by an approver from all required OWNERS files. size/XS 🤖 PR changes 0-9 lines, ignoring generated files. labels Sep 17, 2026
@codecov

codecov Bot commented Sep 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.75%. Comparing base (7273bc4) to head (bcaddd7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4053   +/-   ##
=======================================
  Coverage   56.74%   56.75%           
=======================================
  Files         218      218           
  Lines       25993    25994    +1     
=======================================
+ Hits        14751    14753    +2     
+ Misses       9900     9899    -1     
  Partials     1342     1342           
Flag Coverage Δ
e2e 31.21% <0.00%> (-0.01%) ⬇️
e2e go 27.28% <0.00%> (-0.01%) ⬇️
e2e node 23.88% <0.00%> (-0.01%) ⬇️
e2e python 28.28% <0.00%> (+<0.01%) ⬆️
e2e quarkus 23.99% <0.00%> (-0.01%) ⬇️
e2e rust 23.48% <0.00%> (+<0.01%) ⬆️
e2e springboot 22.27% <0.00%> (-0.02%) ⬇️
e2e typescript 23.98% <0.00%> (-0.01%) ⬇️
e2e-config-ci 25.05% <0.00%> (-0.01%) ⬇️
integration 15.34% <0.00%> (-0.01%) ⬇️
unit macos-14 47.17% <100.00%> (+<0.01%) ⬆️
unit macos-latest 47.17% <100.00%> (+<0.01%) ⬆️
unit ubuntu-24.04-arm 47.44% <100.00%> (+<0.01%) ⬆️
unit ubuntu-latest 47.94% <100.00%> (+<0.01%) ⬆️
unit windows-latest 46.90% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dsimansk

dsimansk commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

/approve
/lgtm

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot assigned dsimansk Sep 17, 2026
@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Sep 17, 2026
@knative-prow

knative-prow Bot commented Sep 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dsimansk, gauron99

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [dsimansk,gauron99]

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow
knative-prow Bot merged commit f65c523 into main Sep 17, 2026
72 of 73 checks passed

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@dsimansk dsimansk Awaiting requested review from dsimansk
@jrangelramos jrangelramos Awaiting requested review from jrangelramos

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dsimansk dsimansk

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. kind/cleanup Cleanup lgtm 🤖 PR is ready to be merged. size/XS 🤖 PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@gauron99 @dsimansk
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.