mirror of
https://github.com/Comfy-Org/comfy-qa-tools.git
synced 2026-11-04 23:47:20 +00:00
[PR #18] [MERGED] fix: read what gcloud actually said, and repeat the zone it suggests #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-qa-tools#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-qa-tools/pull/18
Author: @aliranjah
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @aliranjah
Base:
main← Head:fix/read-gcloud-errors📝 Commits (1)
238a2d7fix: read what gcloud actually said, and repeat the zone it suggests📊 Changes
5 files changed (+167 additions, -26 deletions)
View changed files
📝
comfy_qa/gcloud.py(+53 -11)📝
comfy_qa/lifecycle.py(+43 -8)📝
docs/troubleshooting.md(+7 -4)📝
tests/test_auth.py(+24 -3)📝
tests/test_lifecycle.py(+40 -0)📄 Description
---is literally what gcloud'sERROR:line contains:Compute errors put the real sentence under
localizedMessage, wrapped acrossindented lines, and leave the summary as a separator. The capacity check added in
#17 classified on that summary — so it matched nothing and never fired.
Fixes
GcloudErrorcarries the full output, and classification reads that ratherthan the summary.
localizedMessage, sowhat gets reported is the sentence a person can act on.
ZONE_RESOURCE_POOL_EXHAUSTEDand "is currently unavailable in the" joinSTOCKOUTas capacity signals.says us-central1-b has capacity right now — a box there would start today." That
is the most useful thing this tool can do with the error.
Note
Fixtures are the exact bytes gcloud printed, not a reconstruction. That is the third
time this project has been bitten by a hand-written fixture; it is now the rule.
219 tests, 3 new.
🤖 Generated with Claude Code
https://claude.ai/code/session_015X8c3zczxydWiPfhnxfYNx
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.