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
Monitors upstream dependencies for new releases and breaking changes.
4
-
Runs daily to check tracked upstream projects. Creates GitHub issues
5
-
when breaking changes are detected that affect this repository's code,
6
-
configuration, or CI pipelines.
4
+
Runs daily to check tracked upstream projects. A shell pre-check script
5
+
detects version changes deterministically; the agent only runs when
6
+
changes are found, dramatically reducing token consumption on quiet days.
7
7
8
8
on:
9
9
schedule:
@@ -30,7 +30,7 @@ tools:
30
30
web-fetch:
31
31
bash: [ ":*" ]
32
32
33
-
timeout-minutes: 30
33
+
timeout-minutes: 20
34
34
---
35
35
36
36
# Upstream Dependency Monitor
@@ -43,94 +43,100 @@ Your name is ${{ github.workflow }}. You are an **Upstream Dependency Monitor**
43
43
44
44
Detect upstream dependency releases that may break builds, deployments, or CI pipelines in this repository — before contributors hit the wall.
45
45
46
-
### Tracked Dependencies
46
+
### Efficiency Rules (READ FIRST)
47
47
48
-
Read the file `docs/upstream-versions.md`to get the current version pins and file locations. That file is the **single source of truth** for what we track.
48
+
You MUST follow these rules to minimize token usage:
49
49
50
-
If `docs/upstream-versions.md` does not exist or is empty, exit cleanly — there are no tracked dependencies yet.
50
+
1.**Run the pre-check script as your very first action** — it handles all version checking deterministically
51
+
2.**If no changes detected, stop immediately** — do not explore further
52
+
3.**Never manually check dependency versions** — the script already did this
53
+
4.**Batch all grep operations** into single commands using `\|` alternation
54
+
5.**Limit all command output** with `| head -20` to avoid flooding context
55
+
6.**Keep issue bodies concise** — bullet points, not paragraphs
51
56
52
-
### Your Workflow
57
+
### Step 1: Run Pre-Check Script (MANDATORY FIRST STEP)
53
58
54
-
#### Step 1: Load Current Pins
59
+
Download and run the deterministic pre-check script that checks all tracked dependencies for new releases.
55
60
56
-
Read `docs/upstream-versions.md` to understand:
57
-
- Which version/SHA is currently pinned for each dependency
58
-
- Which files contain those pins (Dockerfile, go.mod, helmfile, workflow YAML, etc.)
59
-
- The upstream repository for each dependency
61
+
> **Note**: The script is sourced from the org-owned `llm-d/llm-d-infra` repo's `main` branch.
62
+
> Branch protection and required reviews guard against unauthorized changes.
63
+
> Pinning to a commit SHA is impractical here because the script is updated in the same repo
64
+
> and would require coordinated SHA updates across all consuming repos on every change.
0 commit comments