karajan-code 1.29.0 → 1.29.1
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/package.json
CHANGED
|
@@ -12,6 +12,7 @@ import { runReviewerWithFallback } from "./reviewer-fallback.js";
|
|
|
12
12
|
import { runCoderWithFallback } from "./agent-fallback.js";
|
|
13
13
|
import { invokeSolomon } from "./solomon-escalation.js";
|
|
14
14
|
import { detectRateLimit } from "../utils/rate-limit-detector.js";
|
|
15
|
+
import { sonarUp, isSonarReachable } from "../sonar/manager.js";
|
|
15
16
|
import { createStallDetector } from "../utils/stall-detector.js";
|
|
16
17
|
|
|
17
18
|
export async function runCoderStage({ coderRoleInstance, coderRole, config, logger, emitter, eventBase, session, plannedTask, trackBudget, iteration }) {
|
|
@@ -390,7 +391,7 @@ export async function runSonarStage({ config, logger, emitter, eventBase, sessio
|
|
|
390
391
|
);
|
|
391
392
|
|
|
392
393
|
// Auto-manage SonarQube: ensure it is reachable before scanning
|
|
393
|
-
|
|
394
|
+
// sonarUp, isSonarReachable imported at top level for testability
|
|
394
395
|
const sonarHost = config.sonarqube?.host || "http://localhost:9000";
|
|
395
396
|
|
|
396
397
|
if (!await isSonarReachable(sonarHost)) {
|