Skip to content

chore: workflow test#108

Open
jatcod3r wants to merge 1 commit into
mainfrom
jatcod3r/test2
Open

chore: workflow test#108
jatcod3r wants to merge 1 commit into
mainfrom
jatcod3r/test2

Conversation

@jatcod3r
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

Coder Agents Chat: agent finished or is awaiting input

Chat: https://ai.coder.com/agents/5456414d-4936-49f3-b5e3-d7cfa740f69f
Status: waiting

@github-actions
Copy link
Copy Markdown

Agent Validation FAILED for template realworld

Field Value
Step CREATE WORKSPACE
Summary Workspace build failed with "terraform apply: exit status 1" — template "realworld-26337387201" did not provision successfully.
Chat https://ai.coder.com/agents/5456414d-4936-49f3-b5e3-d7cfa740f69f
Workspace ID 2539544c-8979-429a-9f07-9bd08d50d556
Workspace Status failed
Workflow Run View logs
Workspace Build Logs (workspace: realworld-26337387201)
[null] Setting up: 
[null] Initializing Terraform Directory: Terraform 1.14.5
[null] Initializing Terraform Directory: Initializing the backend...
[null] Initializing Terraform Directory: Initializing modules...
[null] Initializing Terraform Directory: Initializing provider plugins...
[null] Initializing Terraform Directory: hashicorp/kubernetes: Reusing previous version from the dependency lock file
[null] Initializing Terraform Directory: hashicorp/random: Reusing previous version from the dependency lock file
[null] Initializing Terraform Directory: coder/coder: Reusing previous version from the dependency lock file
[null] Initializing Terraform Directory: Installing provider version: hashicorp/kubernetes v3.0.1...
[null] Initializing Terraform Directory: Installed provider version: hashicorp/kubernetes v3.0.1 (signed by HashiCorp)
[null] Initializing Terraform Directory: Installing provider version: hashicorp/random v3.8.1...
[null] Initializing Terraform Directory: Installed provider version: hashicorp/random v3.8.1 (signed by HashiCorp)
[null] Initializing Terraform Directory: Installing provider version: coder/coder v2.13.1...
[null] Initializing Terraform Directory: Installed provider version: coder/coder v2.13.1 (signed by a HashiCorp partnerkey_id: 93C75807601AA0EC)
[null] Initializing Terraform Directory: Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://developer.hashicorp.com/terraform/cli/plugins/signing
[null] Initializing Terraform Directory: Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.
[null] Initializing Terraform Directory: Terraform has been successfully initialized!
[null] Initializing Terraform Directory: You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[null] Planning Infrastructure: Terraform 1.14.5
[null] Planning Infrastructure: data.coder_parameter.enable_mux: Refreshing...
[null] Planning Infrastructure: data.coder_task.me: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.system_prompt: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.use_bots_git_creds: Refreshing...
[null] Planning Infrastructure: module.claude-code.data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.claude-code.module.agentapi.data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.use_bots_git_creds: Refresh complete after 0s [id=0681a05b-7705-493b-8b8c-92f25a70f695]
[null] Planning Infrastructure: data.coder_parameter.enable_mux: Refresh complete after 0s [id=98120e16-18cb-4869-ba39-a8b1b41e17b2]
[null] Planning Infrastructure: module.claude-code.data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.claude-code.data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: data.coder_external_auth.github: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.ai_post_install_script: Refreshing...
[null] Planning Infrastructure: data.coder_task.me: Refresh complete after 0s [id=9352693a-5471-4726-a158-222d76ab5a08]
[null] Planning Infrastructure: module.claude-code.module.agentapi.data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.system_prompt: Refresh complete after 0s [id=7fa5f9fe-4282-4933-a8bd-3023eb3c7405]
[null] Planning Infrastructure: module.claude-code.data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: data.coder_external_auth.github: Refresh complete after 0s [id=primary-github]
[null] Planning Infrastructure: data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: module.claude-code.module.agentapi.data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: data.coder_parameter.launch_script: Refreshing...
[null] Planning Infrastructure: data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.select_ai: Refreshing...
[null] Planning Infrastructure: module.claude-code.module.agentapi.data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: data.coder_parameter.ai_post_install_script: Refresh complete after 0s [id=ceec0577-c6ce-4b71-84cf-e3a9468b0a70]
[null] Planning Infrastructure: data.coder_parameter.preview_port: Refreshing...
[null] Planning Infrastructure: data.coder_parameter.launch_script: Refresh complete after 0s [id=967bd43c-b602-482a-8c71-529030195bfe]
[null] Planning Infrastructure: data.coder_parameter.select_ai: Refresh complete after 0s [id=5984da1d-2f6e-42ef-8a2b-d299a0a1af9c]
[null] Planning Infrastructure: data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: module.vscode-desktop[0].module.vscode-desktop-core.data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: module.vscode-desktop[0].module.vscode-desktop-core.data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.vscode-desktop[0].module.vscode-desktop-core.data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: module.vscode-desktop[0].module.vscode-desktop-core.data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: data.coder_parameter.preview_port: Refresh complete after 0s [id=692a7f08-784a-43b0-9341-bee2d0b4617f]
[null] Planning Infrastructure: module.filebrowser[0].data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.coder-login[0].data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.coder-login[0].data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: module.vscode-web[0].data.coder_workspace_owner.me: Refreshing...
[null] Planning Infrastructure: module.filebrowser[0].data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: module.filebrowser[0].data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: module.vscode-web[0].data.coder_workspace.me: Refreshing...
[null] Planning Infrastructure: module.filebrowser[0].data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: module.coder-login[0].data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: module.coder-login[0].data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: module.vscode-web[0].data.coder_workspace.me: Refresh complete after 0s [id=2539544c-8979-429a-9f07-9bd08d50d556]
[null] Planning Infrastructure: module.vscode-web[0].data.coder_workspace_owner.me: Refresh complete after 0s [id=2094c9e9-1370-4cf1-8c43-93a05b0bdb5c]
[null] Planning Infrastructure: data.coder_workspace_preset.realworld-django-ohio: Refreshing...
[null] Planning Infrastructure: data.coder_workspace_preset.realworld-django-ohio: Refresh complete after 0s [id=🇺🇸 Ohio Settings]
[null] Planning Infrastructure: random_uuid.this: Plan to create
[null] Planning Infrastructure: coder_agent.k8s-deployment: Plan to create
[null] Planning Infrastructure: module.git-clone.coder_script.git_clone: Plan to create
[null] Planning Infrastructure: coder_script.launch: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.claude_api_key[0]: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.claude_code_system_prompt: Plan to create
[null] Planning Infrastructure: module.vscode-desktop[0].module.vscode-desktop-core.coder_app.vscode-desktop: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.anthropic_model[0]: Plan to create
[null] Planning Infrastructure: coder_app.preview: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.claude_code_md_path[0]: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.anthropic_base_url[0]: Plan to create
[null] Planning Infrastructure: module.claude-code.coder_env.claude_code_oauth_token: Plan to create
[null] Planning Infrastructure: module.coder-login[0].coder_env.coder_session_token: Plan to create
[null] Planning Infrastructure: kubernetes_deployment_v1.this[0]: Plan to create
[null] Planning Infrastructure: module.filebrowser[0].coder_script.filebrowser: Plan to create
[null] Planning Infrastructure: module.claude-code.module.agentapi.coder_script.agentapi: Plan to create
[null] Planning Infrastructure: coder_metadata.pod_info: Plan to create
[null] Planning Infrastructure: module.claude-code.module.agentapi.coder_app.agentapi_web: Plan to create
[null] Planning Infrastructure: module.coder-login[0].coder_env.coder_url: Plan to create
[null] Planning Infrastructure: module.vscode-web[0].coder_script.vscode-web: Plan to create
[null] Planning Infrastructure: module.vscode-web[0].coder_app.vscode-web: Plan to create
[null] Planning Infrastructure: coder_ai_task.this: Plan to create
[null] Planning Infrastructure: module.filebrowser[0].coder_app.filebrowser: Plan to create
[null] Planning Infrastructure: Plan: 23 to add, 0 to change, 0 to destroy.
[null] Starting workspace: 
[null] Starting workspace: Terraform 1.14.5
[null] Starting workspace: random_uuid.this: Plan to create
[null] Starting workspace: coder_agent.k8s-deployment: Plan to create
[null] Starting workspace: module.git-clone.coder_script.git_clone: Plan to create
[null] Starting workspace: coder_script.launch: Plan to create
[null] Starting workspace: module.claude-code.coder_env.claude_api_key[0]: Plan to create
[null] Starting workspace: module.claude-code.coder_env.claude_code_system_prompt: Plan to create
[null] Starting workspace: module.vscode-desktop[0].module.vscode-desktop-core.coder_app.vscode-desktop: Plan to create
[null] Starting workspace: module.claude-code.coder_env.anthropic_model[0]: Plan to create
[null] Starting workspace: coder_app.preview: Plan to create
[null] Starting workspace: module.claude-code.coder_env.claude_code_md_path[0]: Plan to create
[null] Starting workspace: module.claude-code.coder_env.anthropic_base_url[0]: Plan to create
[null] Starting workspace: module.claude-code.coder_env.claude_code_oauth_token: Plan to create
[null] Starting workspace: module.coder-login[0].coder_env.coder_session_token: Plan to create
[null] Starting workspace: kubernetes_deployment_v1.this[0]: Plan to create
[null] Starting workspace: module.filebrowser[0].coder_script.filebrowser: Plan to create
[null] Starting workspace: module.claude-code.module.agentapi.coder_script.agentapi: Plan to create
[null] Starting workspace: coder_metadata.pod_info: Plan to create
[null] Starting workspace: module.claude-code.module.agentapi.coder_app.agentapi_web: Plan to create
[null] Starting workspace: module.coder-login[0].coder_env.coder_url: Plan to create
[null] Starting workspace: module.vscode-web[0].coder_script.vscode-web: Plan to create
[null] Starting workspace: module.vscode-web[0].coder_app.vscode-web: Plan to create
[null] Starting workspace: coder_ai_task.this: Plan to create
[null] Starting workspace: module.filebrowser[0].coder_app.filebrowser: Plan to create
[null] Starting workspace: coder_agent.k8s-deployment: Creating...
[null] Starting workspace: random_uuid.this: Creating...
[null] Starting workspace: random_uuid.this: Creation complete after 0s [id=ca8b78d2-bb72-8b7c-c390-5ffcee592600]
[null] Starting workspace: coder_agent.k8s-deployment: Creation complete after 0s [id=7621ce08-8646-46f7-ba08-cc5c5a90c8a0]
[null] Starting workspace: coder_app.preview: Creating...
[null] Starting workspace: module.git-clone.coder_script.git_clone: Creating...
[null] Starting workspace: module.vscode-web[0].coder_script.vscode-web: Creating...
[null] Starting workspace: module.claude-code.coder_env.anthropic_model[0]: Creating...
[null] Starting workspace: coder_script.launch: Creating...
[null] Starting workspace: module.filebrowser[0].coder_script.filebrowser: Creating...
[null] Starting workspace: coder_script.launch: Creation complete after 0s [id=55107826-de28-4e3a-8f63-c149cf4dcaf7]
[null] Starting workspace: kubernetes_deployment_v1.this[0]: Creating...
[null] Starting workspace: module.claude-code.coder_env.claude_code_system_prompt: Creating...
[null] Starting workspace: module.vscode-web[0].coder_app.vscode-web: Creating...
[null] Starting workspace: module.vscode-desktop[0].module.vscode-desktop-core.coder_app.vscode-desktop: Creating...
[null] Starting workspace: module.claude-code.coder_env.claude_api_key[0]: Creating...
[null] Starting workspace: module.git-clone.coder_script.git_clone: Creation complete after 0s [id=e3f19d1d-e1b0-47a4-a719-737df8f6ed1d]
[null] Starting workspace: module.claude-code.coder_env.anthropic_model[0]: Creation complete after 0s [id=a906fcc8-d17f-4757-bb1b-611b45e12649]
[null] Starting workspace: module.claude-code.coder_env.claude_api_key[0]: Creation complete after 0s [id=cae96fab-6f1e-4ea7-b735-faf375fe5395]
[null] Starting workspace: module.claude-code.coder_env.claude_code_system_prompt: Creation complete after 0s [id=1203d83b-007e-496f-a254-3663fc157a1f]
[null] Starting workspace: module.claude-code.coder_env.anthropic_base_url[0]: Creating...
[null] Starting workspace: module.claude-code.coder_env.claude_code_oauth_token: Creating...
[null] Starting workspace: module.vscode-web[0].coder_app.vscode-web: Creation complete after 0s [id=093b17b4-6526-4d96-9f2c-71099bd1ae3d]
[null] Starting workspace: coder_app.preview: Creation complete after 0s [id=763156a4-380c-40f1-ab92-5864f4b341f4]
[null] Starting workspace: module.vscode-web[0].coder_script.vscode-web: Creation complete after 0s [id=670e9cd3-cc87-4c8d-90b4-9cf76156b459]
[null] Starting workspace: module.filebrowser[0].coder_script.filebrowser: Creation complete after 0s [id=8fffeef2-ad88-4259-aa08-5264dfdb24d7]
[null] Starting workspace: module.claude-code.coder_env.claude_code_md_path[0]: Creating...
[null] Starting workspace: module.filebrowser[0].coder_app.filebrowser: Creating...
[null] Starting workspace: module.claude-code.coder_env.claude_code_oauth_token: Creation complete after 0s [id=69780301-d593-4fba-a60d-c44ee7108a6b]
[null] Starting workspace: module.vscode-desktop[0].module.vscode-desktop-core.coder_app.vscode-desktop: Creation complete after 0s [id=452f1f72-1cfe-44e2-9b1c-0c1608678829]
[null] Starting workspace: module.filebrowser[0].coder_app.filebrowser: Creation complete after 0s [id=211fa368-389e-4a5c-bd3a-56bcab9f461e]
[null] Starting workspace: module.coder-login[0].coder_env.coder_session_token: Creating...
[null] Starting workspace: module.coder-login[0].coder_env.coder_url: Creating...
[null] Starting workspace: module.claude-code.module.agentapi.coder_app.agentapi_web: Creating...
[null] Starting workspace: module.claude-code.module.agentapi.coder_script.agentapi: Creating...
[null] Starting workspace: module.claude-code.coder_env.anthropic_base_url[0]: Creation complete after 0s [id=3ce9988e-cecd-4ad9-8d77-79a57578f69f]
[null] Starting workspace: kubernetes_deployment_v1.this[0]: Creation errored after 0s
[null] Starting workspace: module.claude-code.coder_env.claude_code_md_path[0]: Creation complete after 0s [id=d6e9548f-0f0e-47ca-ab4c-3661554ab36f]
[null] Starting workspace: module.claude-code.module.agentapi.coder_app.agentapi_web: Creation complete after 0s [id=d36029aa-5b7f-4d6b-8808-1577b6115f51]
[null] Starting workspace: module.coder-login[0].coder_env.coder_url: Creation complete after 0s [id=91c93468-76c8-4c66-ab10-61e254ce2ed7]
[null] Starting workspace: module.claude-code.module.agentapi.coder_script.agentapi: Creation complete after 0s [id=ad13623f-ca59-4436-b4b4-90b260b3b3bb]
[null] Starting workspace: coder_ai_task.this: Creating...
[null] Starting workspace: coder_ai_task.this: Creation complete after 0s [id=5a7c00ca-fa31-4f61-9ff9-20163f4f1166]
[null] Starting workspace: module.coder-login[0].coder_env.coder_session_token: Creation complete after 0s [id=e07341c6-7c5b-4f3f-baf0-f21299d179ee]
[null] Starting workspace: Error: Failed to create deployment: deployments.apps is forbidden: User "system:serviceaccount:coder-ws-experiment:coder" cannot create resource "deployments" in API group "apps" at the cluster scope
[null] Starting workspace: on workspace.tf line 97, in resource "kubernetes_deployment_v1" "this":
[null] Starting workspace:   97: resource "kubernetes_deployment_v1" "this" {
[null] Starting workspace: 
[null] Starting workspace: 
[null] Cleaning Up: 

@github-actions
Copy link
Copy Markdown

Coder Agents Chat: agent finished or is awaiting input

Chat: https://ai.coder.com/agents/4a59d84d-57f5-4186-9982-a3edc0fb9fad
Status: waiting

@github-actions
Copy link
Copy Markdown

🔍 Build Failure Analysis for template realworld (workspace: realworld-26337387201)

Field Value
Root Cause The Coder service account in namespace "coder-ws-experiment" lacks RBAC permissions to create Kubernetes deployments in the "apps" API group at cluster scope.
Failed Resource kubernetes_deployment_v1.this[0]
Error Message deployments.apps is forbidden: User "system:serviceaccount:coder-ws-experiment:coder" cannot create resource "deployments" in API group "apps" at the cluster scope
Suggestion Either grant the service account a ClusterRole/RoleBinding with "create" permission on "deployments" in the "apps" API group, or ensure the deployment resource specifies an explicit namespace where the service account already has permissions.
Analysis Chat https://ai.coder.com/agents/4a59d84d-57f5-4186-9982-a3edc0fb9fad

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.

1 participant