Repository navigation
Description
Split from #3894.
Problem The live check of #3894 must fail on a Crawl4AI start that allows internal URLs. That run proves the check can fail. The runner has no Kubernetes token, so no job can restart the Deployment with the override. A person with cluster write must run it. ## Why it is deferred It needs a person with cluster write and a temporary change of the running Deployment. The proposal of #3894 cannot deliver it. ## Acceptance criteria - A person starts Crawl4AI with CRAWL4AI_ALLOW_INTERNAL_URLS=true on the digest that #3894 names. - Every route returns 200 with a body for each internal target, and the person records the output. - The person restores the Deployment to the pinned environment and confirms that the pod is ready. - The pull request comment quotes the output and the module of #3894 links it.
Proposed design
Problem statement
The refusal check of #3894 must fail when Crawl4AI allows internal URLs. That failing run proves that the check can fail. The runner pod holds no Kubernetes token, so no roadmap job can change the running Deployment. A person with cluster write must run the check with the override, record the output and restore the Deployment.
Acceptance criteria
Requirement: Override start
A person with cluster write SHALL start Crawl4AI with CRAWL4AI_ALLOW_INTERNAL_URLS=true and wait for the rollout.
Scenario: Pod runs with the override
- WHEN the person runs
kubectl set env deployment/crawl4ai CRAWL4AI_ALLOW_INTERNAL_URLS=trueandkubectl rollout status deployment/crawl4ai - THEN
kubectl rollout status deployment/crawl4aiexits 0 andkubectl exec deploy/crawl4ai -- printenv CRAWL4AI_ALLOW_INTERNAL_URLSprintstrue
Requirement: Failing check output
The refusal check MUST exit non-zero while the override is active and each internal target answers 200 with a body.
Scenario: Every route allows an internal target
- WHEN the person runs
uv run devops k8s crawl4ai-checkagainst the Deployment that holds the override - THEN the command exits non-zero and its output shows status 200 with a body for each internal target
Requirement: Deployment restore
The person SHALL remove the override and return the Deployment to its pinned environment.
Scenario: Pinned environment returns
- WHEN the person runs
kubectl set env deployment/crawl4ai CRAWL4AI_ALLOW_INTERNAL_URLS-andkubectl rollout status deployment/crawl4ai - THEN
kubectl rollout status deployment/crawl4aiexits 0 andkubectl exec deploy/crawl4ai -- printenv CRAWL4AI_ALLOW_INTERNAL_URLSexits non-zero with no value
Requirement: Pending a person after the merge
The person MUST post the output of the failing run as a comment on issue #4018.
Scenario: The negative proof is on record
- WHEN the person posts the output on issue test(k8s): Run Crawl4AI refusal check with internal URLs allowed #4018 and runs
devops gh issue view 4018 --comments - THEN the comment shows
CRAWL4AI_ALLOW_INTERNAL_URLS=true, the non-zero exit ofuv run devops k8s crawl4ai-checkand each 200 response with a body
Existing Tool Considered
No alternatives check has run. kubectl (Apache-2.0, maintained by the Kubernetes project) covers the override, the rollout wait and the environment read with kubectl set env, kubectl rollout status and kubectl exec ... printenv. The assertion is the project's own command, uv run devops k8s crawl4ai-check. The item writes no code, so its build cost is 0 tokens, and the run takes about 30 minutes of one person's time.
Key questions
- Who can apply the override on the live cluster?: A person with cluster write. The runner pod holds no Kubernetes token, so no roadmap job can change the running Deployment. [sources: CONTEXT.md]
- Which tool applies and removes the override?:
kubectl set envapplies and removes the variable, andkubectl rollout statuswaits for each rollout. Akubectl execread of the pod environment confirms each state before the next step. (best practice) [sources: .claude/settings.json:40, CONTEXT.md]- Chosen: kubectl set env on the live Deployment. It applies and removes the override with one command each and leaves no commit in a repository.
- Rejected: Kustomize patch in the environment tree. devops-cli holds no environment tree, so the patch would change dan-petty/homelab and leave a revert commit.
- Rejected: Cluster Job that runs the check. The runner pod holds no Kubernetes token, so it cannot change the Deployment.
- Which command runs the refusal check of test(k8s): live check that Crawl4AI refuses internal URLs #3894?:
uv run devops k8s crawl4ai-check. Its tests aretests/commands/k8s/test_k8s_crawl4ai_check.py. [sources: tests/commands/k8s/test_k8s_crawl4ai_check.py] - Where does the record of the run live, and which command reads it?: A comment on issue test(k8s): Run Crawl4AI refusal check with internal URLs allowed #4018. The project reads it with
devops gh issue view 4018 --comments, because AGENTS.md forbids baregh. (best practice) [sources: AGENTS.md]- Chosen: Comment on issue test(k8s): Run Crawl4AI refusal check with internal URLs allowed #4018, read with devops gh issue view 4018 --comments. The issue is the record, and rule 7 of AGENTS.md forbids bare
gh. - Rejected: Markdown file in the change folder. A file in git would hold live cluster output and needs a later cleanup commit.
- Chosen: Comment on issue test(k8s): Run Crawl4AI refusal check with internal URLs allowed #4018, read with devops gh issue view 4018 --comments. The issue is the record, and rule 7 of AGENTS.md forbids bare
Fit
Fits in one pull request.
Suspected block
A person with cluster write must run the override on the live cluster, record the output and restore the Deployment.
Activity
devops-cli-service commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(k8s)scope of the title gives the scope.The run is manual and one-off. It does not block other work.The run proves that the security check can fail and is not always green.One person starts the pod with one override, records the output and restores the Deployment.Both items test the Crawl4AI internal-URL refusal. Item 3894 adds the check and the candidate proves that the check can fail.[-]test(k8s): run the Crawl4AI refusal check with CRAWL4AI_ALLOW_INTERNAL_URLS=true[/-][+]test(k8s): Run Crawl4AI refusal check with internal URLs allowed[/+]devops-cli-service commentedon Nov 7, 2026
The job shortened the title of this item. The summary had 69 characters, and the limit is 60. The type and the scope stay.
test(k8s): run the Crawl4AI refusal check with CRAWL4AI_ALLOW_INTERNAL_URLS=truetest(k8s): Run Crawl4AI refusal check with internal URLs alloweddevops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 6121d09 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 14, 2026
Cannot build as written by an agent: the acceptance criteria require a person with cluster write to start Crawl4AI with CRAWL4AI_ALLOW_INTERNAL_URLS=true, record every route's response, restore the Deployment and confirm the pod. The runner has no Kubernetes token (the issue says so), and a person must run it. It also waits on #3894 for the digest and the live check. Return until a cluster owner runs the override and posts the output.
devops-cli-service commentedon Nov 19, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 23, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence