Skip to content

Commit 5af000d

Browse files
committed
fix: update prompts in YAML files to guide users on fixing the environment
1 parent c0f8ea8 commit 5af000d

24 files changed

+33
-23
lines changed

.github/data/agent-framework/backup/configmap-misspelled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v3' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch deployment backend-v3 --context ${CLUSTER_CTX} -p '{"spec":{"template":{"spec":{"volumes":[{"name":"backend-v3-code","configMap":{"name":"backend-v3-code-cm"}}]}}}}'

.github/data/agent-framework/backup/configmap-readonly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v1' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl --context ${CLUSTER_CTX} apply -f - <<EOF

.github/data/agent-framework/backup/deployment-env-mismatch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v3' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl --context ${CLUSTER_CTX} set env deployment/mysql-v1 MYSQL_ROOT_PASSWORD=mynewpassword

.github/data/agent-framework/backup/deployment-impossible-pod-affinity.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v1' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch deployment/backend-v1 --context ${CLUSTER_CTX} --type merge -p "

.github/data/agent-framework/backup/deployment-low-resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v3' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch deployment mysql-v1 --context ${CLUSTER_CTX} -p '{"spec":{"template":{"spec":{"containers":[{"name":"mysql","resources":{"limits":{"memory":"10Mi"}}}]}}}}'

.github/data/agent-framework/backup/deployment-pod-affinity-wrong-key.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v1' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch deployment/backend-v1 --context ${CLUSTER_CTX} --type merge -p "

.github/data/agent-framework/backup/missing-service-selector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues in the 'backend-v2' service.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch service backend-v2 --context ${CLUSTER_CTX} -p '{"spec":{"selector": null}}'

.github/data/agent-framework/backup/network-policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see an error message telling about issues communicating with other services.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl apply --context ${CLUSTER_CTX} -f - <<EOF

.github/data/agent-framework/backup/pod-hostport-conflict.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see backend-v2 pods stuck in pending state when scaling up.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl patch deployment backend-v1 --context ${CLUSTER_CTX} -p '{"spec":{"template":{"spec":{"containers":[{"name":"backend","ports":[{"containerPort": 8080, "hostPort": 28080}]}]}}}}'

.github/data/agent-framework/backup/pod-limit-range-exceeded.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
prompt: |
88
There is a kubernetes cluster running in context 'kind-kagent'.
99
Calling the frontend service at http://frontend-v1:8080 I see backend-v3 pods failing to create due to limit range.
10-
You can find a mocha file 'test.js' in the directory $(git rev-parse --show-toplevel)/.github/data/agent-framework/scenario1
10+
To make sure you fixed the environment run the tool `checkKubernetesClusterFixed`. And you have my permission to keep trying out things until you fix the environment and all tests pass.
1111
steps:
1212
- run: |
1313
kubectl apply --context ${CLUSTER_CTX} -f - <<EOF

0 commit comments

Comments
 (0)