@yemi33/minions 0.1.522 → 0.1.524

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.524 (2026-04-07)
4
+
5
+ ### Features
6
+ - 9 test isolation verification tests — run last to detect pollution
7
+
8
+ ## 0.1.523 (2026-04-07)
9
+
10
+ ### Other
11
+ - perf: parallelize ADO PR polling within each project
12
+
3
13
  ## 0.1.522 (2026-04-07)
4
14
 
5
15
  ### Features
package/engine/ado.js CHANGED
@@ -85,17 +85,20 @@ async function forEachActivePr(config, token, callback) {
85
85
  if (activePrs.length === 0) continue;
86
86
 
87
87
  let projectUpdated = 0;
88
-
89
- for (const pr of activePrs) {
90
- const prNum = (pr.id || '').replace('PR-', '');
91
- if (!prNum) continue;
92
-
93
- try {
94
- const orgBase = getAdoOrgBase(project);
95
- const updated = await callback(project, pr, prNum, orgBase);
96
- if (updated) projectUpdated++;
97
- } catch (err) {
98
- log('warn', `Failed to poll status for ${pr.id}: ${err.message}`);
88
+ const orgBase = getAdoOrgBase(project);
89
+
90
+ // Parallelize PR polling within each project (max 5 concurrent to avoid rate limits)
91
+ const CONCURRENCY = 5;
92
+ for (let i = 0; i < activePrs.length; i += CONCURRENCY) {
93
+ const batch = activePrs.slice(i, i + CONCURRENCY);
94
+ const results = await Promise.allSettled(batch.map(async (pr) => {
95
+ const prNum = (pr.id || '').replace('PR-', '');
96
+ if (!prNum) return false;
97
+ return callback(project, pr, prNum, orgBase);
98
+ }));
99
+ for (const r of results) {
100
+ if (r.status === 'fulfilled' && r.value) projectUpdated++;
101
+ if (r.status === 'rejected') log('warn', `PR poll error: ${r.reason?.message || r.reason}`);
99
102
  }
100
103
  }
101
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.522",
3
+ "version": "0.1.524",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"