open-azdo 0.1.1 → 0.1.3
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/README.md
CHANGED
|
@@ -56,7 +56,7 @@ Exit behavior:
|
|
|
56
56
|
## Azure Pipelines
|
|
57
57
|
|
|
58
58
|
The canonical example is in [examples/azure-pipelines.review.yml](/home/ponbac/dev/open-azdo/examples/azure-pipelines.review.yml).
|
|
59
|
-
For first-time rollout or debugging, use [examples/azure-pipelines.review.debug.yml](/home/ponbac/dev/open-azdo/examples/azure-pipelines.review.debug.yml).
|
|
59
|
+
For first-time rollout or debugging, use [examples/azure-pipelines.review.debug.yml](/home/ponbac/dev/open-azdo/examples/azure-pipelines.review.debug.yml). It pins the npm package version, emits explicit phase markers, and keeps the standalone OpenCode smoke test opt-in behind `RunOpenCodeSmokeTest`.
|
|
60
60
|
|
|
61
61
|
Key requirements:
|
|
62
62
|
|
|
@@ -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,10 +32,20 @@ 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".
|