@yemi33/minions 0.1.943 → 0.1.945
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 +3 -3
- package/engine/ado.js +7 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.945 (2026-04-14)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
- make ADO poll frequency configurable and ungate reconcilePrs
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
- bump plan-to-prd max turns from 20 to 35
|
|
26
26
|
|
|
27
27
|
### Fixes
|
|
28
|
+
- tighten build query guard to require mergeCommitId
|
|
29
|
+
- restore sourceVersion filter after refs/pull merge ref switch
|
|
28
30
|
- use refs/pull/{id}/merge for build status scoping
|
|
29
31
|
- use repositoryId+reasonFilter for ADO build query
|
|
30
32
|
- deduplicate work item creation by title
|
|
@@ -43,8 +45,6 @@
|
|
|
43
45
|
- 429 retry on abort race applies to all sends, not just queued
|
|
44
46
|
- show actionable failure context instead of Unknown error (#1003)
|
|
45
47
|
- prioritize error_max_turns over permission-blocked in classifyFailure (#1001)
|
|
46
|
-
- optimistic archive hides both PRD and linked source plan simultaneously
|
|
47
|
-
- align CC tab unread dot to same position as working dot
|
|
48
48
|
|
|
49
49
|
### Other
|
|
50
50
|
- refactor: Make renderLiveChatMessage a thin wrapper over renderAgentOutput
|
package/engine/ado.js
CHANGED
|
@@ -378,13 +378,16 @@ async function pollPrStatus(config) {
|
|
|
378
378
|
let buildFailReason = '';
|
|
379
379
|
let buildStatuses = []; // for error log fetching
|
|
380
380
|
|
|
381
|
-
|
|
381
|
+
const mergeCommitId = prData.lastMergeCommit?.commitId;
|
|
382
|
+
if (prNumber && mergeCommitId) {
|
|
382
383
|
try {
|
|
383
|
-
// branchName=refs/pull/{id}/merge
|
|
384
|
+
// branchName=refs/pull/{id}/merge scopes server-side to this PR's builds.
|
|
385
|
+
// sourceVersion filter then narrows to the current merge commit — a PR updated
|
|
386
|
+
// multiple times accumulates builds on the same ref across different commits.
|
|
384
387
|
const mergeRef = encodeURIComponent(`refs/pull/${prNumber}/merge`);
|
|
385
|
-
const buildsUrl = `${orgBase}/${project.adoProject}/_apis/build/builds?branchName=${mergeRef}&repositoryId=${project.repositoryId}&repositoryType=TfsGit&$top=
|
|
388
|
+
const buildsUrl = `${orgBase}/${project.adoProject}/_apis/build/builds?branchName=${mergeRef}&repositoryId=${project.repositoryId}&repositoryType=TfsGit&$top=25&api-version=7.1`;
|
|
386
389
|
const buildsData = await adoFetch(buildsUrl, token);
|
|
387
|
-
const prBuilds = buildsData?.value || [];
|
|
390
|
+
const prBuilds = (buildsData?.value || []).filter(b => b.sourceVersion === mergeCommitId);
|
|
388
391
|
|
|
389
392
|
if (prBuilds.length > 0) {
|
|
390
393
|
// partiallySucceeded = warnings, not failures — counts as passing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.945",
|
|
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"
|