Skip to content

fix(list): populate RUNTIME column in func list - #4010

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
pmeida:fix/list-runtime-column
Aug 14, 2026
Merged

fix(list): populate RUNTIME column in func list#4010
knative-prow[bot] merged 1 commit into
knative:mainfrom
pmeida:fix/list-runtime-column

Conversation

@pmeida

@pmeida pmeida commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Fix func list always showing an empty RUNTIME column for all deployers (Knative, k8s, KEDA)

/kind bug

Fixes #4009

Release Note

`func list` now correctly displays the runtime (e.g. `go`, `node`, `python`) in the RUNTIME column for functions deployed via the Knative, k8s, and KEDA deployers.

Docs


The RUNTIME column in `func list` was always empty. Each lister
(Knative, k8s, KEDA) had `runtimeLabel := ""` hardcoded and never
read from the deployed resource.

The `function.knative.dev/runtime` label is already set on all
deployed resources via GenerateCommonLabels at deploy time, so
the fix is to read it back from the resource's labels in each
lister.

Issue knative#4009
@knative-prow knative-prow Bot added the kind/bug Bugs label Aug 14, 2026
@knative-prow knative-prow Bot added size/S 🤖 PR changes 10-29 lines, ignoring generated files. needs-ok-to-test 🤖 Needs an org member to approve testing labels Aug 14, 2026
@knative-prow

knative-prow Bot commented Aug 14, 2026

Copy link
Copy Markdown

Hi @pmeida. 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.

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.

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.

@pmeida
pmeida marked this pull request as draft August 14, 2026 14:59
@knative-prow knative-prow Bot added the do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. label Aug 14, 2026
@pmeida
pmeida marked this pull request as ready for review August 14, 2026 15:00
@knative-prow knative-prow Bot removed the do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. label Aug 14, 2026
@pmeida pmeida changed the title fix: populate RUNTIME column in func list fix(list): populate RUNTIME column in func list Aug 14, 2026
@matejvasek

Copy link
Copy Markdown
Contributor

/approve
/lgtm

@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Aug 14, 2026
@knative-prow

knative-prow Bot commented Aug 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matejvasek, pmeida

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:

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

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Aug 14, 2026
@matejvasek
matejvasek requested a review from gauron99 August 14, 2026 15:43
@knative-prow
knative-prow Bot merged commit 904d21e into knative:main Aug 14, 2026
68 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. kind/bug Bugs lgtm 🤖 PR is ready to be merged. needs-ok-to-test 🤖 Needs an org member to approve testing size/S 🤖 PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

func list: RUNTIME column always empty

2 participants