New workspace member arena-tracker-relay: it holds the Riot key from the
environment and serves the app's six Riot calls as /{routing value}{Riot path}.
Any other route, method, routing value, queue or count above 100 gets 404
without calling Riot. Fixed-window limits per routing value (production
limits) and per client address answer 429 with Retry-After at once; a Riot
429 is passed with its delay and suspends its routing value. Riot's 401/403
become 503 (except a timeline's 403), an unreachable Riot 502. The log holds
the call type, status and duration only; nothing is written to disk.
The same binary serves the site pages of site/ (#145), built in, unlogged.
Tested over HTTP against a local fake Riot. A separate `relay` CI job, now
required on develop and main. ADR-0008 replaces ADR-0001's personal key;
docs/service-relais.md says how to run it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #156.
This commit is contained in:
1 parent
a694cbd8e7
commit
fe36a431dc
18 files changed
+1465
-5
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/core", "crates/app"]
|
||||
default-members = ["crates/core"]
|
||||
members = ["crates/core", "crates/app", "crates/relay"]
|
||||
default-members = ["crates/core", "crates/relay"]
|
||||
|
||||
[workspace.package]
|
||||
edition = "2024"
|
||||
|
||||
Reference in new issue
Block a user