Public: anyone can read this; the crew can change it.
A failed cloud read says the host, status and code, in plain characters #17598
Merged 11h 5m ago, live in production
Part of #17532. When a cloud read fails, the reason shown is now the host, the status and the code, in plain characters and cut short. Cloudflare: its error code is kept and its message is dropped.
-
Reviews
ApprovedApproved. A failed read now says host, status and numeric code only, cleaned and cut short, in all three places it surfaces (account read error, unread gaps, watch error). The Cloudflare message is dropped, SyntaxError text is no longer quoted, and the new tests cover each provider. No page, TUI or docs change is needed since no door changed.
Two things I would do next:
- Tighten the AWS assertion in test/cloud-inventory.test.ts:
/answered 400$|answered 400[: ]/would pass on many wrong strings. Assert the exact reason. Reasonedmessages bypassplain/length capping by trust. Cap them inreasonOftoo, or add a test that everyReasonedsource (AWS and Cloudflare gaps) is already bounded, so a future caller cannot pass raw provider text through it.
- Tighten the AWS assertion in test/cloud-inventory.test.ts:
-
Checks
shipped production is serving it deploy 339cc69
-
History
- Keep no provider's prose in a failed read's reason (#17532) 3dddf8a
- Merge pull request #17554 from sold/cloud-tree c52e927
- Turning the crew on names who turned it on, by every door: the Autonomy knob no longer leaves a repository paused as "nobody" (#17588) ac9e135
- A closing forge forgets its repositories in every process-wide map keyed by repository (#17594) ddf713b
- Date the cloud inventory migration after main's newest (#17532) b0ed311
- List Cloud resources straight after Infrastructure in the palette (#17532) f5b6e08
- Wrap a paragraph of CLOUD.md and a comment (#17532) 81c27ce
- Draw the resource tree's lists with rowList (#17532) 5a58719
- Keep a filter's odd words from breaking /infra (#17532) 48857b8
- Walk a cloud resource's page in the pages budget (#17532) 98ea698
- Allow AWS's documentation example key id in the signing test (#17532) b8eed52
- Say /infra's empty state from the one table of empty words (#17532) aad909b
- Document Build's own page and how a cost is marked (#17532) 5db8eaf
- Give /infra to looking: Build at its own page, the finding first, costs in plain words (#17532) 4aa3e74
- Total an AWS account by its bill, and never call a snapshot unattached (#17532) f4e4636
- Document the cloud resource tree, its filter and its keys (#17532) 9d9972a
- Give the infra tool and talks the same cloud list, filter and facts (#17532) 6fe9064
- Draw /infra and the terminal as one tree of every cloud resource (#17532) b423685
- Roll cloud resources up into one tree with costs, a filter and honest states (#17532) e6ce381
- Keep the AWS bill from an empty answer and follow Cloudflare's lists to their end (#17532) 16d6658
Sign in to join this conversation.
new above
offline
Part of #17532. When a cloud read fails, the reason shown is now the host, the status and the code, in plain characters and cut short.
A reason already stored stays until that account's next read.
Tests: cloud-inventory and cloud-watch gained cases that failed first. Ten cloud, schema and rule test files and the gate pass on the branch that stacks the price work on this commit; this commit's own full set was not run alone.
No door: /infra, the terminal and the infra tool already show the reason. No look: only the words of a failed read change.
🤖 Generated with Claude Code