edsger 0.19.11 → 0.19.12
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.
|
@@ -7,7 +7,7 @@ import { Octokit } from '@octokit/rest';
|
|
|
7
7
|
import { logInfo, logError } from '../../utils/logger.js';
|
|
8
8
|
import { parsePullRequestUrl, fetchPRReviews } from '../code-refine/context.js';
|
|
9
9
|
import { getFeature } from '../../api/features/get-feature.js';
|
|
10
|
-
import {
|
|
10
|
+
import { getReviewedBranch, } from '../../services/branches.js';
|
|
11
11
|
import { fetchPRFileChanges, fetchUnresolvedReviewThreads, resolveReviewThreads, dismissReviews, } from './github.js';
|
|
12
12
|
import { analyzeAllThreads } from './llm-analyzer.js';
|
|
13
13
|
// Re-export types for backward compatibility
|
|
@@ -21,12 +21,13 @@ export async function verifyAndResolveComments(options) {
|
|
|
21
21
|
logInfo(`Starting code refine verification for feature ID: ${featureId}`);
|
|
22
22
|
}
|
|
23
23
|
try {
|
|
24
|
-
// For multi-branch features, find the branch that
|
|
24
|
+
// For multi-branch features, find the branch that has been reviewed
|
|
25
|
+
// (status = 'reviewed' after code-review phase)
|
|
25
26
|
let currentBranch = null;
|
|
26
27
|
try {
|
|
27
|
-
currentBranch = await
|
|
28
|
+
currentBranch = await getReviewedBranch({ featureId, verbose });
|
|
28
29
|
if (currentBranch && verbose) {
|
|
29
|
-
logInfo(`📋 Found
|
|
30
|
+
logInfo(`📋 Found reviewed branch: ${currentBranch.name}`);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
catch (error) {
|