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 — ci: set retention-days on platform binary artifacts in build job by Ankitsinghsisodya · Pull Request #3556 · knative/func

Conversation

@Ankitsinghsisodya

@Ankitsinghsisodya Ankitsinghsisodya commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #3555

Summary

  • The build job uploads 7 cross-platform binaries with no retention-days setting, causing them to use GitHub's default 90-day retention.
  • Cluster-log artifacts in the same file already use retention-days: 7.
  • This PR adds retention-days: 30 to all 7 binary artifact upload steps (darwin/amd64, darwin/arm64, linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, windows/amd64) to align retention policy and prevent unbounded storage accumulation.

Test plan

  • Verify .github/workflows/functions.yaml build job now has retention-days: 30 on all 7 actions/upload-artifact@v4 steps.
  • Confirm no other artifact upload steps were unintentionally modified.

Sorry, something went wrong.

Uh oh!

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

All reactions
Copilot AI review requested due to automatic review settings April 1, 2026 08:20
@knative-prow
knative-prow Bot requested review from dsimansk and jrangelramos April 1, 2026 08:20
@knative-prow knative-prow Bot added the size/S 🤖 PR changes 10-29 lines, ignoring generated files. label Apr 1, 2026
@knative-prow

knative-prow Bot commented Apr 1, 2026

Copy link
Copy Markdown

Hi @Ankitsinghsisodya. Thanks for your PR.

I'm waiting for a knative 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.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

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.

Details

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@knative-prow knative-prow Bot added the needs-ok-to-test 🤖 Needs an org member to approve testing label Apr 1, 2026
Copilot AI reviewed Apr 1, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions workflows to reduce long-term artifact storage by setting explicit retention on cross-platform binary artifacts, and also adjusts disk-space management steps in CI jobs.

Changes:

  • Set retention-days: 30 for all 7 platform binary uploads in the functions.yaml build job.
  • Replace/add disk cleanup steps using endersonmenezes/free-disk-space@v3 in CI workflows.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/functions.yaml Adds retention-days: 30 to binary artifacts in build; also adds a disk cleanup step to the Podman E2E job.
.github/workflows/test-podman-next.yaml Replaces manual removal of preinstalled software with a free-disk-space action step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread .github/workflows/test-podman-next.yaml Resolved

Uh oh!

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

Comment thread .github/workflows/functions.yaml Resolved

Uh oh!

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

@Ankitsinghsisodya
ci: set retention-days on platform binary artifacts in build job
4b5658f
The seven cross-platform binaries were using GitHub's default 90-day
retention. Cluster-log artifacts in the same file already use 7 days.
Setting 30 days on binaries aligns retention with a reasonable policy
and prevents unbounded storage accumulation.
@knative-prow knative-prow Bot added size/XS 🤖 PR changes 0-9 lines, ignoring generated files. and removed size/S 🤖 PR changes 10-29 lines, ignoring generated files. labels Apr 1, 2026
@codecov

codecov Bot commented Apr 1, 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.23%. Comparing base (e92b074) to head (4b5658f).
⚠️ Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3556      +/-   ##
==========================================
+ Coverage   55.52%   56.23%   +0.70%     
==========================================
  Files         180      180              
  Lines       20465    20465              
==========================================
+ Hits        11363    11508     +145     
+ Misses       7902     7757     -145     
  Partials     1200     1200              
Flag Coverage Δ
e2e 36.12% <ø> (-4.06%) ⬇️
e2e go 32.55% <ø> (ø)
e2e node 28.34% <ø> (-0.02%) ⬇️
e2e python 32.91% <ø> (ø)
e2e quarkus 28.50% <ø> (+0.02%) ⬆️
e2e rust 27.92% <ø> (ø)
e2e springboot 26.38% <ø> (+0.02%) ⬆️
e2e typescript 28.47% <ø> (ø)
e2e-config-ci 18.14% <ø> (ø)
integration 17.42% <ø> (+0.01%) ⬆️
unit macos-14 43.37% <ø> (ø)
unit macos-latest 43.37% <ø> (ø)
unit ubuntu-24.04-arm 43.55% <ø> (-0.02%) ⬇️
unit ubuntu-latest 44.25% <ø> (ø)
unit windows-latest 43.39% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

lkingland
lkingland approved these changes Apr 14, 2026
View reviewed changes

@lkingland lkingland left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Sorry, something went wrong.

Uh oh!

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

All reactions
@knative-prow knative-prow Bot assigned lkingland Apr 14, 2026
@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Apr 14, 2026
@knative-prow

knative-prow Bot commented Apr 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ankitsinghsisodya, lkingland

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 [lkingland]

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 added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Apr 14, 2026
@knative-prow
knative-prow Bot merged commit 9d28e3b into knative:main Apr 14, 2026
37 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

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@lkingland lkingland lkingland approved these changes
@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

@lkingland lkingland

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. lgtm 🤖 PR is ready to be merged. needs-ok-to-test 🤖 Needs an org member to approve testing 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.

ci: platform binary artifacts in build job missing retention-days

Uh oh!

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

3 participants

@Ankitsinghsisodya @lkingland
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 01402775 — 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.