refactor: migrate legacy wire namespace to wrn
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 18:51:15 +05:30
parent ec23dd4c93
commit 2c960fc1dc
488 changed files with 27306 additions and 19063 deletions
+2 -2
View File
@@ -190,11 +190,11 @@ describe("serviceClient", () => {
expect(seenTarget?.service).toBe("billing");
});
test("a wire-level non-retryable failure (e.g. a 403) surfaces at the client as retryable: false", async () => {
test("a wrn-level non-retryable failure (e.g. a 403) surfaces at the client as retryable: false", async () => {
// RPC_TRANSPORT recomputes to retryable: true from the code alone — that
// is correct for a 5xx, but the transport already determined a 403 is
// NOT retryable via the bounded status check. The client must pass that
// wire value through rather than recompute it from the code.
// wrn value through rather than recompute it from the code.
const client = serviceClient(billing, {
transport: {
call: async () => ({