@r5n/hydra 0.5.1 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -13
- package/dist/bundle-report.json +21 -0
- package/dist/cli.js +93 -106
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -74,20 +74,14 @@ Summary: 3 idle, 1 busy, 1 offline
|
|
|
74
74
|
</details>
|
|
75
75
|
|
|
76
76
|
<details>
|
|
77
|
-
<summary><strong>
|
|
77
|
+
<summary><strong>Monitor runner status</strong></summary>
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
$ hydra
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
• Scale up threshold: 3 pending jobs
|
|
86
|
-
• Scale down after: 10 minutes idle
|
|
87
|
-
|
|
88
|
-
🔍 Monitoring runner status...
|
|
89
|
-
⚡ Scaling event: 5 jobs pending, current runners: 3
|
|
90
|
-
→ Scaling up by 2 runners
|
|
80
|
+
$ hydra status -p production
|
|
81
|
+
🔍 Checking runner status...
|
|
82
|
+
✅ Runner 1: Online (idle)
|
|
83
|
+
✅ Runner 2: Online (busy - job #1234)
|
|
84
|
+
✅ Runner 3: Online (idle)
|
|
91
85
|
✓ Created runner-4
|
|
92
86
|
✓ Created runner-5
|
|
93
87
|
|
|
@@ -355,7 +349,7 @@ fi
|
|
|
355
349
|
# Run with debug logging
|
|
356
350
|
DEBUG=* hydra create -t TOKEN -u URL
|
|
357
351
|
|
|
358
|
-
# Check runner
|
|
352
|
+
# Check runner diagnostics (if needed)
|
|
359
353
|
cat ./gh-runners/machines/1/_diag/*.log
|
|
360
354
|
```
|
|
361
355
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"analysis": {
|
|
3
|
+
"files": [
|
|
4
|
+
{
|
|
5
|
+
"file": "dist/cli.js",
|
|
6
|
+
"size": 140858,
|
|
7
|
+
"sizeKB": 137.556640625,
|
|
8
|
+
"sizeMB": 0.13433265686035156
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"totalSize": 140858,
|
|
12
|
+
"totalSizeKB": 137.556640625,
|
|
13
|
+
"totalSizeMB": 0.13433265686035156,
|
|
14
|
+
"warnings": []
|
|
15
|
+
},
|
|
16
|
+
"threshold": {
|
|
17
|
+
"exceeded": false,
|
|
18
|
+
"maxSizeMB": 1
|
|
19
|
+
},
|
|
20
|
+
"timestamp": "2025-08-08T09:09:45.779Z"
|
|
21
|
+
}
|