cmd: subscribe silently ignores malformed --filter values
Maintainers usually reply within 5 days
@axhatggg is already working on this.
Since Sep 2, 2026.
Assessment
This issue has not been assessed yet.
Description
Problem
func subscribe --filter expects filters in key=value form, but malformed values are currently printed and ignored instead of returning an error.
For example:
func subscribe --filter badfilter
prints Invalid pair: badfilter, continues, and can still write subscription config without the intended filter.
Expected behavior
Malformed filters should fail before func.yaml is changed. Valid values containing = should still be preserved, for example --filter foo=bar=baz should store key foo with value bar=baz.
Suggested fix
Return an error for missing = or an empty key, and add regression tests for malformed filters and values containing =.
- Dominant language
- Go
- Stars
- 365
- Forks
- 223
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from knative/func
-
lifecycle/stale
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
knative/func#3924 · 1 comment ·
Maintainers usually reply within 5 days
-
lifecycle/stale
Difficulty 1/5 Under an hour Newbie friendliness 88/100
knative/func#3902 · 1 comment ·
Maintainers usually reply within 5 days
-
setServiceOptions: %f format produces invalid autoscaling annotation values with trailing zerosOpenlifecycle/stale
Difficulty 1/5 Under an hour Newbie friendliness 90/100
knative/func#3901 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 5 days
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
knative/func#3704 · 1 comment ·
Maintainers usually reply within 5 days
Similar issues
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
needs-triage sig/api-machinery
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes/kubernetes#142651 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kubernetes-sigs/kueue#16649 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day