Skip to content

refactor(RPC): move tower layers#1865

Merged
igamigo merged 3 commits intonextfrom
igamigo-move-cors
Mar 31, 2026
Merged

refactor(RPC): move tower layers#1865
igamigo merged 3 commits intonextfrom
igamigo-move-cors

Conversation

@igamigo
Copy link
Copy Markdown
Collaborator

@igamigo igamigo commented Mar 31, 2026

Running web client integration tests locally revealed TypeError: Failed to fetch errors on some network calls, which was strange because the rate limiting was being honored at the gRPC client level; also we were not receiving the expected 429/ResourceExhausted (gRPC error code was Unknown). This wasn't happening in the CI so it did seem like a concurrency/node load problem.
It was CORS again! Sort of, at least. The message was not being translated correctly and it appeared as a CORS problem, so moved the layer ordering around and it worked out.
Ideally this would be tested but it did not seem trivial to add here.

@igamigo igamigo marked this pull request as ready for review March 31, 2026 13:03
@igamigo igamigo merged commit 5dcdb85 into next Mar 31, 2026
18 checks passed
@igamigo igamigo deleted the igamigo-move-cors branch March 31, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants