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: website/content/updates/index.mdx
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,63 @@ What's new in dev-agent. We ship improvements regularly to help AI assistants un
4
4
5
5
---
6
6
7
+
## v0.5.2 — GitHub Indexing for Large Repositories
8
+
9
+
*December 6, 2024*
10
+
11
+
**Fixed `ENOBUFS` errors when indexing repositories with many GitHub issues/PRs.** Large active repositories can now be fully indexed without buffer overflow issues.
12
+
13
+
### What's Fixed
14
+
15
+
**🐛 Buffer Overflow Resolution**
16
+
17
+
The GitHub indexing phase would fail with `ENOBUFS` (No buffer space available) on repositories with extensive GitHub activity:
18
+
19
+
```bash
20
+
# This would fail before:
21
+
dev index
22
+
✖ Failed to index repository
23
+
[03:09:07] ERROR Failed to fetch issues: spawnSync /bin/sh ENOBUFS
24
+
```
25
+
26
+
**Solution:**
27
+
- Increased buffer capacity from 1MB to 50MB for GitHub API responses
28
+
- Reduced default fetch limit from 1000 to 500 items (per type)
29
+
- Added `--gh-limit` flag for custom limits
30
+
31
+
### What's New
32
+
33
+
**⚙️ Configurable Limits**
34
+
35
+
```bash
36
+
# Default (works for most repos)
37
+
dev index
38
+
39
+
# Large repos (200+ issues/PRs)
40
+
dev index --gh-limit 200
41
+
42
+
# Very active repos (500+ issues/PRs)
43
+
dev index --gh-limit 100
44
+
```
45
+
46
+
**💬 Better Error Messages**
47
+
48
+
If buffer issues occur, you now get actionable guidance:
49
+
```
50
+
Failed to fetch issues: Output too large.
51
+
Try using --gh-limit with a lower value (e.g., --gh-limit 100)
52
+
```
53
+
54
+
### Why This Matters
55
+
56
+
Many production repositories have hundreds or thousands of GitHub issues/PRs. Without this fix, `dev index` would fail completely on these repos, preventing AI tools from understanding project context.
57
+
58
+
Now it just works — and if you hit limits, the CLI tells you exactly how to fix it.
59
+
60
+
**Tested on:** 6,989 file repository with 1,000 GitHub issues/PRs ✅
0 commit comments