refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -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 () => ({
|
||||
|
||||
Reference in New Issue
Block a user