Skip to content

Commit 20a15eb

Browse files
committed
docs(website): add v0.5.2 release notes for ENOBUFS fix
1 parent d6e5e6f commit 20a15eb

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

website/content/updates/index.mdx

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,63 @@ What's new in dev-agent. We ship improvements regularly to help AI assistants un
44

55
---
66

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 ✅
61+
62+
---
63+
764
## v0.5.1 — Incremental Indexing
865

966
*December 3, 2025*

0 commit comments

Comments
 (0)