Skip to content

[pre-check] knative/func#3708 rebased (mcp: readonly guard for config add/remove) - #256

Closed
lkingland wants to merge 3 commits into
mainfrom
pr-3708-rebased
Closed

lkingland wants to merge 3 commits into
mainfrom
pr-3708-rebased

Conversation

@lkingland

Copy link
Copy Markdown
Owner

Fork-internal pre-check of the rebased contributor branch for knative#3708 (author: @Elvand-Lie; authorship preserved).

Purpose: run the full Actions suite on our fork before force-pushing this tip to the contributor's branch upstream. Not for merge — close once the upstream push happens.

Tip: 6aa9ebefea7a

The deploy and delete handlers check s.readonly and refuse to act in readonly mode. However, the six config mutation handlers (envs add/remove, labels add/remove, volumes add/remove) execute unconditionally, allowing an AI agent to modify func.yaml even in readonly mode.

Add the same readonly guard to all six config mutation handlers.

Signed-off-by: elvandlie@gmail.com <elvandlie@gmail.com>
Signed-off-by: elvandlie@gmail.com <elvandlie@gmail.com>
@lkingland lkingland closed this Oct 28, 2026
@lkingland lkingland reopened this Oct 28, 2026
@lkingland
lkingland marked this pull request as ready for review October 28, 2026 06:04
@lkingland lkingland closed this Oct 28, 2026
@lkingland lkingland reopened this Oct 28, 2026
@lkingland lkingland closed this Oct 28, 2026
@lkingland lkingland reopened this Oct 28, 2026
@lkingland

Copy link
Copy Markdown
Owner Author

Pre-check complete: tip 6aa9ebe was pushed to the contributor branch and merged upstream as knative/func@8c0ea9ca (knative#3708).

@lkingland lkingland closed this Oct 28, 2026
@lkingland
lkingland deleted the pr-3708-rebased branch October 28, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants