GeezerVison is showing github.com — mcp: change DeleteInput.All from *string to *bool by Elvand-Lie · Pull Request #3710 · knative/func
Conversation
Elvand-Lie
commented
May 12, 2026
•
edited by gauron99
Loading
Uh oh!
There was an error while loading. Please reload this page.
The All field in DeleteInput was typed as *string but the underlying func delete --all CLI flag is boolean. This caused the JSON schema to present a string field to MCP clients instead of a boolean, and passed the flag as --all true (two separate args) instead of --all.
Change All to *bool and use appendBoolFlag instead of appendStringFlag.
Changes
- Change
DeleteInput.All from *string to *bool
- Switch from
appendStringFlag to appendBoolFlag for the --all flag
Fixes #3706
Release Note
Docs
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The All field in DeleteInput was typed as *string but the underlying func delete --all CLI flag is boolean. This caused the JSON schema to present a string field to MCP clients instead of a boolean, and passed the flag as --all true (two separate args) instead of --all.
Change All to *bool and use appendBoolFlag instead of appendStringFlag.
Signed-off-by: [email protected] <[email protected]>
|
Hi @Elvand-Lie. 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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
May 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.90%. Comparing base (2b6fb02) to head (eda7327).
⚠️ Report is 8 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #3710 +/- ##
==========================================
- Coverage 56.91% 56.90% -0.01%
==========================================
Files 181 181
Lines 20928 20928
==========================================
- Hits 11912 11910 -2
- Misses 7808 7810 +2
Partials 1208 1208
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
/ok-to-test
/lgtm
/approve
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Elvand-Lie, 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:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
dsimansk
Awaiting requested review from dsimansk
Uh oh!
There was an error while loading. Please reload this page.
Labels
approved
🤖 PR has been approved by an approver from all required OWNERS files.
kind/bug
Bugs
lgtm
🤖 PR is ready to be merged.
ok-to-test
🤖 Non-member PR verified by an org member that is safe to test.
size/XS
🤖 PR changes 0-9 lines, ignoring generated files.
Milestone
No milestone
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.
|