open-azdo 0.1.2 → 0.1.4
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.
|
@@ -5,7 +5,8 @@ pool:
|
|
|
5
5
|
|
|
6
6
|
variables:
|
|
7
7
|
OpenCodeModel: openai/gpt-5.4
|
|
8
|
-
OpenAzdoVersion: 0.1.
|
|
8
|
+
OpenAzdoVersion: 0.1.3
|
|
9
|
+
RunOpenCodeSmokeTest: "false"
|
|
9
10
|
|
|
10
11
|
steps:
|
|
11
12
|
- checkout: self
|
|
@@ -31,12 +32,23 @@ steps:
|
|
|
31
32
|
test -n "${SYSTEM_ACCESSTOKEN:-}" || { echo "SYSTEM_ACCESSTOKEN is empty"; exit 1; }
|
|
32
33
|
test -n "${OPENAI_API_KEY:-}" || { echo "OPENAI_API_KEY is empty"; exit 1; }
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
'Return exactly {"summary":"ok","verdict":"pass","findings":[],"unmappedNotes":[]}'
|
|
35
|
+
echo "Phase: environment checks passed"
|
|
36
36
|
|
|
37
|
+
if [ "$(RunOpenCodeSmokeTest)" = "true" ]; then
|
|
38
|
+
echo "Phase: starting standalone OpenCode smoke test"
|
|
39
|
+
timeout 60s opencode run --format json --model "$(OpenCodeModel)" \
|
|
40
|
+
'Return exactly {"summary":"ok","verdict":"pass","findings":[],"unmappedNotes":[]}'
|
|
41
|
+
echo "Phase: standalone OpenCode smoke test completed"
|
|
42
|
+
else
|
|
43
|
+
echo "Phase: skipping standalone OpenCode smoke test"
|
|
44
|
+
fi
|
|
45
|
+
|
|
46
|
+
echo "Phase: starting open-azdo review"
|
|
37
47
|
bun x "open-azdo@$(OpenAzdoVersion)" review --model "$(OpenCodeModel)"
|
|
48
|
+
echo "Phase: open-azdo review completed"
|
|
38
49
|
displayName: Review Pull Request
|
|
39
50
|
env:
|
|
40
51
|
# Azure Pipelines: enable "Allow scripts to access the OAuth token".
|
|
41
52
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
|
42
53
|
OPENAI_API_KEY: $(OPENAI_API_KEY)
|
|
54
|
+
OPEN_AZDO_OPENCODE_TIMEOUT_MS: "300000"
|