Skip to content

Commit 194fd18

Browse files
committed
chore(relayer): restore relayer CI (#1192)
- Documentation update
1 parent 2d44b0c commit 194fd18

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

relayer/LOGGING_POLICY.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ How we handle logging and correlation in the relayer's event-driven architecture
44

55
The relayer processes jobs through async flows: HTTP requests trigger blockchain transactions, then gateway events complete the cycle. Correlation IDs track these flows end-to-end.
66

7-
**Applies to:** `apps/relayer/src/`
7+
**Applies to:** `src/src/`
88

99
**Notation:**
1010
- **For developers** - Sections for human understanding and implementation
@@ -309,18 +309,18 @@ subscription active) remain **INFO**. Reconnects and dropped subscriptions remai
309309

310310
```bash
311311
# 1. No ERROR in non-boundaries (should find nothing)
312-
rg 'error!\(' apps/relayer/src/core/
313-
rg 'error!\(' apps/relayer/src/store/sql/repositories/ --glob '!cron_task.rs'
314-
rg 'error!\(' apps/relayer/src/orchestrator/
312+
rg 'error!\(' src/src/core/
313+
rg 'error!\(' src/src/store/sql/repositories/ --glob '!cron_task.rs'
314+
rg 'error!\(' src/src/orchestrator/
315315

316316
# 2. ERROR only in boundaries (should only find here)
317-
rg 'error!\(' apps/relayer/src/http/endpoints/
318-
rg 'error!\(' apps/relayer/src/gateway/ --glob '*_handler.rs'
319-
rg 'error!\(' apps/relayer/src/gateway/arbitrum/listener.rs
320-
rg 'error!\(' apps/relayer/src/store/sql/repositories/cron_task.rs
317+
rg 'error!\(' src/src/http/endpoints/
318+
rg 'error!\(' src/src/gateway/ --glob '*_handler.rs'
319+
rg 'error!\(' src/src/gateway/arbitrum/listener.rs
320+
rg 'error!\(' src/src/store/sql/repositories/cron_task.rs
321321

322322
# 3. No ext_job_id in gateway handlers (should find nothing)
323-
rg 'ext_job_id' apps/relayer/src/gateway/ --glob '*_handler.rs'
323+
rg 'ext_job_id' src/src/gateway/ --glob '*_handler.rs'
324324

325325
# 4. Structured logging - check for string interpolation in messages (code smell)
326326
# Look for patterns like: info!("Message {}", var) or error!("Error: {}", e)
@@ -346,4 +346,4 @@ When reviewing logs:
346346

347347
---
348348

349-
**Reference:** Logging primitives in `src/logging.rs` - Database schema in `apps/relayer/migrations/`
349+
**Reference:** Logging primitives in `src/logging.rs` - Database schema in `relayer-migrate/migrations/`

relayer/docs/SELF_HOSTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Running your own relayer gives you permissionless, independent access to the FHE
2727

2828
### Step-by-step
2929

30-
All commands run from `apps/relayer/`.
30+
All commands run from `relayer/`.
3131

3232
#### 1. Start the database
3333

0 commit comments

Comments
 (0)