'infra single-project' fails when run after `deploy` for agent_runtime
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python, terraform
- Domain
- cli, cloud, infrastructure
Research direction
Start with the agents-cli deploy and agents-cli infra single-project flows, then read the order-of-operations guidance in skills/google-agents-cli-observability/SKILL.md. Reproduce the commands in that order and verify that single-project updates the existing Reasoning Engine rather than creating a second instance, with observability variables attached to the serving instance.
Written by the indexing model from the issue text.
Description
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
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
- Dominant language
- Python
- Stars
- 6k
- Forks
- 670
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/agents-cli
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
google/agents-cli#86 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
google/agents-cli#85 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
google/agents-cli#84 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
google/agents-cli#83 · 2 comments · 1 reaction ·
-
google/agents-cli#79 · 2 comments · 1 assignee ·
All issues in google/agents-cli
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·