Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

'infra single-project' fails when run after `deploy` for agent_runtime

Đang mở
#2 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, terraform
Lĩnh vực
cli, cloud, infrastructure

Hướng nghiên cứu

Bắt đầu với các flow agents-cli deployagents-cli infra single-project, sau đó đọc hướng dẫn về thứ tự thực hiện trong skills/google-agents-cli-observability/SKILL.md. Thực hiện lại các lệnh theo thứ tự đó và xác minh rằng single-project cập nhật Reasoning Engine hiện có thay vì tạo một instance thứ hai, với các biến observability được gắn vào instance serving.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

known issue
Problem

When using Agent Runtime (Reasoning Engine), running agents-cli infra single-project after an initial agents-cli deploy does not work as intended.

infra single-project uses terraform, but deploy does not and uses an API instead. This means that when single-project tries to use terraform to update, it doesn't have visibility into the existing reasoning engine resource already created. So, the terraform apply invoked by single-project silently provisions a second Reasoning Engine instance with the same name.

This leads to:

  • Observability environment variables being wired to the new (empty) instance.
  • The original (serving) instance remaining without observability configuration.
Workarounds

See https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-observability/SKILL.md#order-of-operations-for-agent_runtime-deployments

The short version though: either run single-project before deploy so tracking is properly established, or fix it manually using the above instructions.

Ref: b/504375097

Ngôn ngữ chính
Python
Star
6k
Fork
670
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google/agents-cli

Tất cả issue của google/agents-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.