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
Copy file name to clipboardExpand all lines: AGENTS.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# PROJECT KNOWLEDGE BASE
2
2
3
-
**Generated:** 2026-05-01T14:46:59Z
4
-
**Commit:**66ad287
3
+
**Generated:** 2026-05-03T10:30:00Z
4
+
**Commit:**43825b0
5
5
**Branch:** main
6
6
7
7
## OVERVIEW
@@ -79,9 +79,13 @@ Ephemeral self-hosted GitHub Actions runner on Modal. Each job gets a fresh Moda
79
79
-**NEVER** skip HMAC signature verification — every webhook must be validated
80
80
-**NEVER** read env vars outside `runner/config.py` — centralize all config there
81
81
-`debug_endpoint` is protected by `requires_proxy_auth=True` — keep it that way
82
+
-**NEVER** chain `& &&` in SANDBOX_CMD — `&` terminates the command, `&&` is then a syntax error (was a bug — fixed in 8b9857f)
83
+
-**NEVER** use `sleep infinity` for sandbox keepalive — Modal treats it as an active command, preventing `idle_timeout` from triggering (resource leak)
84
+
-**ALWAYS** add unique `job-${{ github.run_id }}` label to workflow `runs-on` for 1:1 runner binding (was a bug — fixed in 8b9857f)
82
85
83
86
## UNIQUE STYLES
84
87
-**Docker-in-Sandbox**: `START_DOCKERD_SH` inline script sets up NAT/iptables-legacy for gVisor compat. Uses `experimental_options={"enable_docker": True}`.
88
+
-**Backgrounded dockerd**: Dockerd wait + image load run in background (`&` in subshell). Runner starts immediately without waiting for Docker. Non-Docker jobs skip 60s startup. Docker jobs get dockerd when ready.
0 commit comments