You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
├── secrets.tf # Secrets Manager secret and version
46
47
├── elasticache.tf # Redis replication group
47
-
├── callback.tf # Result callback lambda function and public function URL
48
-
└── webhook.tf # Webhook lambda function and public function URL
48
+
├── callback.tf # Result callback Lambda and public function URL
49
+
├── webhook.tf # Webhook receiver Lambda and public function URL
50
+
└── sweeper.tf # EventBridge scheduled trigger for zombie-job cleanup
49
51
```
50
52
51
53
## Prerequisites
@@ -90,6 +92,7 @@ aws dynamodb create-table \
90
92
|`hud_api_url`|`N/A`| URL for sending callback data to HUD |
91
93
|`hud_bot_key`|`N/A`| Key to access to HUD (sensitive) |
92
94
|`crcr_status_ttl`|`259200`| CRCR workflow run status TTL in Redis (seconds) |
95
+
|`sweeper_interval_minutes`|`10`| How often EventBridge triggers the callback Lambda to reap timed-out zombie jobs (minutes, >= 2) |
93
96
94
97
**Note:**
95
98
@@ -160,6 +163,6 @@ CRCR follows a four-level progression system. Each level adds more integration b
160
163
| Level | Name | Status | Description |
161
164
|---|---|---|---|
162
165
|**L1**| Events Only | running | Webhook events are forwarded to downstream repos. No feedback to upstream PRs. Downstream repos receive `repository_dispatch` and run CI independently. |
163
-
|**L2**| HUD Visibility |**Current**| Downstream CI results are written to ClickHouse and displayed on a dedicated HUD page (`hud.pytorch.org/crcr/[org]/[repo]`). Upstream PRs still show no check status. |
164
-
|**L3**| Label-Triggered PR Checks |developing| A non-blocking Check Run appears on upstream PRs when a `ciflow/crcr/<name>` label is added. This is the recommended long-term target for most downstream repos. |
166
+
|**L2**| HUD Visibility |completed| Downstream CI results are written to ClickHouse and displayed on a dedicated HUD page (`hud.pytorch.org/crcr/[org]/[repo]`). Upstream PRs still show no check status. |
167
+
|**L3**| Label-Triggered PR Checks |**Current**| A non-blocking Check Run appears on upstream PRs when a `ciflow/crcr/<name>` label is added. This is the recommended long-term target for most downstream repos. |
165
168
|**L4**| Always-On Blocking Checks | developing | Blocking Check Run auto-triggered for every PR. Reserved for critical accelerators only. Merge is blocked on failure. |
0 commit comments