opencode-azure-devops-pr-review 0.2.3 → 0.3.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/AGENTS.md +12 -0
- package/CHANGELOG.md +50 -0
- package/CODE_OF_CONDUCT.md +83 -0
- package/README.md +136 -56
- package/docs/ARCHITECTURE.md +34 -3
- package/docs/AZURE_DEVOPS.md +17 -14
- package/docs/COMMENTING.md +79 -0
- package/docs/DEBUGGING.md +7 -5
- package/docs/DEMO.md +45 -1
- package/docs/ENTERPRISE.md +37 -6
- package/docs/QUICKSTART.md +113 -68
- package/docs/ROADMAP.md +8 -0
- package/docs/VALIDATION.md +252 -38
- package/docs/VALIDATION_HISTORY.md +42 -2
- package/docs/assets/RECORDING.md +9 -2
- package/docs/assets/adjust-findings-teaser.gif +0 -0
- package/docs/assets/adjust-preview.png +0 -0
- package/docs/assets/adjust-publication.png +0 -0
- package/docs/assets/render-terminal-demo.py +1 -1
- package/docs/releases/v0.3.0.md +125 -0
- package/docs/releases/v0.3.1.md +87 -0
- package/package.json +3 -2
- package/src/attribution.mjs +1 -1
- package/src/azure.mjs +33 -3
- package/src/comment-work.mjs +30 -9
- package/src/comments.mjs +184 -4
- package/src/config.mjs +5 -0
- package/src/host.mjs +44 -0
- package/src/output.mjs +71 -0
- package/src/plugin.js +2 -1
- package/src/runtime.mjs +128 -25
- package/src/setup.mjs +49 -21
package/AGENTS.md
CHANGED
|
@@ -115,6 +115,18 @@ settings, backups and failure records. Never upload `.local/`.
|
|
|
115
115
|
behavior.
|
|
116
116
|
- Inline markers are stable (PR, path, normalized anchor, ordinal); do not put a
|
|
117
117
|
review ID or model wording into them.
|
|
118
|
+
- A person's adjustments (`/pr-comment <review-id> --exclude`, `--severity`,
|
|
119
|
+
`--reset`) change only the findings handed to comment planning, never the
|
|
120
|
+
review record or a prompt file; the planner input carries `adjustments` only
|
|
121
|
+
when some exist, so unadjusted reviews plan exactly as before. A review
|
|
122
|
+
adjusted once is posted only from a preview planned after its latest
|
|
123
|
+
adjustment (an adjustment drops the earlier preview in the same save) and is
|
|
124
|
+
neither adjusted nor planned again once its publication started. That save
|
|
125
|
+
and the new preview's save must succeed; never let a failed save report an
|
|
126
|
+
adjustment as applied. Text the runtime renders that names an excluded
|
|
127
|
+
finding holds publication. Items an earlier publication already put on the
|
|
128
|
+
PR are skipped as always; its receipt names those whose text differs, since
|
|
129
|
+
posted comments are never changed.
|
|
118
130
|
- Comment planning pages run side by side, so nothing a page sees or produces
|
|
119
131
|
may depend on which page finishes first: only the first page writes the
|
|
120
132
|
summary note, each page keeps its own continuation state and evidence, and
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1 — 2026-10-27
|
|
4
|
+
|
|
5
|
+
- Installation and upgrades are documented as they behave on OpenCode 2.1.4:
|
|
6
|
+
`opencode plugin add` loads the plugin into a running service without a
|
|
7
|
+
restart, and adding a second version leaves the first one running. The
|
|
8
|
+
README's new Upgrading section adds the new version and removes the
|
|
9
|
+
previous one only when the download succeeded. Saved settings still need a
|
|
10
|
+
restart, and every message that asks for one names `opencode service restart`.
|
|
11
|
+
- `/pr-check` names the installation that answered and warns when another
|
|
12
|
+
AZPR entry is configured but not running, such as a second version that
|
|
13
|
+
OpenCode lists as a duplicate plugin ID. User names, passwords and query
|
|
14
|
+
strings in package specifications are masked.
|
|
15
|
+
- `/pr-setup` takes the organization from a PR or organization URL and,
|
|
16
|
+
without `--pat-file`, uses `${XDG_CONFIG_HOME:-~/.config}/azpr/pat` (or, with
|
|
17
|
+
`--replace`, the PAT file already set); its receipt names both.
|
|
18
|
+
- The quickstart runs the terminal steps first and needs one restart. The team
|
|
19
|
+
guide separates package downloads, model providers and Azure DevOps on
|
|
20
|
+
company networks, and the Azure DevOps guide names the actual settings
|
|
21
|
+
locations. Two links in the validation history now point at the version
|
|
22
|
+
that still had their sections.
|
|
23
|
+
|
|
24
|
+
## 0.3.0 — 2026-10-26
|
|
25
|
+
|
|
26
|
+
- Choose what reaches the PR after reading a preview:
|
|
27
|
+
`/pr-comment <review-id> --exclude F-1,F-2` leaves findings out, and
|
|
28
|
+
`--severity F-3=low` changes their publication severity. Each option replaces
|
|
29
|
+
its own saved list (`none` clears it); `--reset` clears both. The model plans
|
|
30
|
+
a new preview without rerunning the review, and the original findings and
|
|
31
|
+
report stay unchanged. A severity change does not verify a finding again.
|
|
32
|
+
- `/pr-comment [review-id] --show` displays the saved preview without calling
|
|
33
|
+
a model or Azure DevOps. Excluding every finding plans and posts nothing.
|
|
34
|
+
- Adjustments and the invalidation of the earlier preview are saved together.
|
|
35
|
+
A failed save reports failure and changes nothing; a new preview whose save
|
|
36
|
+
fails is dropped. A review adjusted once, including one reset since, can be
|
|
37
|
+
published only from a saved preview planned after its latest adjustment.
|
|
38
|
+
Once publication starts, adjustments and re-planning are refused.
|
|
39
|
+
- The final preview is checked for excluded finding IDs, including summary
|
|
40
|
+
rows rendered from retained findings. An unresolved reference holds
|
|
41
|
+
publication. Existing PR comments are never edited; for an adjusted review,
|
|
42
|
+
the receipt names those whose text differs from the new preview, including
|
|
43
|
+
comments that appear only when AZPR reads the threads back.
|
|
44
|
+
- The README leads with control over published comments and a real OpenCode
|
|
45
|
+
2.1.4 recording of adjusting findings and publishing; the first-review
|
|
46
|
+
example and quickstart cover adjustments, the new preview and publication.
|
|
47
|
+
The npm package, Git installation and source archive advance to 0.3.0. The
|
|
48
|
+
package description mentions adjusting previews, and the npm package now
|
|
49
|
+
includes the code of conduct that its README and contributing guide link to.
|
|
50
|
+
- CI actions are pinned by commit and updated with Dependabot. Validation
|
|
51
|
+
starts with a summary and records the known limits of the review evidence.
|
|
52
|
+
|
|
3
53
|
## 0.2.3 — 2026-10-24
|
|
4
54
|
|
|
5
55
|
- The tested host is OpenCode CLI 2.1.4. OpenCode 2.1.3 and later embed Bun
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
* Public or private harassment
|
|
24
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at weiting.lai.code@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
+
|
|
41
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
+
|
|
43
|
+
## Enforcement Guidelines
|
|
44
|
+
|
|
45
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
46
|
+
|
|
47
|
+
### 1. Correction
|
|
48
|
+
|
|
49
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
50
|
+
|
|
51
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
52
|
+
|
|
53
|
+
### 2. Warning
|
|
54
|
+
|
|
55
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
56
|
+
|
|
57
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
58
|
+
|
|
59
|
+
### 3. Temporary Ban
|
|
60
|
+
|
|
61
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
62
|
+
|
|
63
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
64
|
+
|
|
65
|
+
### 4. Permanent Ban
|
|
66
|
+
|
|
67
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
68
|
+
|
|
69
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
70
|
+
|
|
71
|
+
## Attribution
|
|
72
|
+
|
|
73
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
74
|
+
|
|
75
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
76
|
+
|
|
77
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
78
|
+
|
|
79
|
+
[homepage]: https://www.contributor-covenant.org
|
|
80
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
81
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
82
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
83
|
+
[translations]: https://www.contributor-covenant.org/translations
|
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
**Review Azure DevOps pull requests from a URL. No checkout required.**
|
|
9
9
|
|
|
10
|
-
Review
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
Review pull requests across your configured Azure DevOps organization with your
|
|
11
|
+
own OpenCode models, without cloning each repository. Preview the comments,
|
|
12
|
+
leave out findings or change their severity, and publish when you are ready.
|
|
13
|
+
No MCP server or CI pipeline setup is required.
|
|
14
14
|
|
|
15
15
|
AZPR is an independent community project. It is not built by or affiliated with
|
|
16
16
|
the OpenCode team.
|
|
@@ -18,17 +18,24 @@ the OpenCode team.
|
|
|
18
18
|
[Get started](docs/QUICKSTART.md) · [See the demo](docs/DEMO.md) ·
|
|
19
19
|
[Team setup and data handling](docs/ENTERPRISE.md) ·
|
|
20
20
|
[Validation and limitations](docs/VALIDATION.md) ·
|
|
21
|
-
[Download v0.
|
|
21
|
+
[Download v0.3.1](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.3.1)
|
|
22
22
|
|
|
23
|
-
[](docs/DEMO.md)
|
|
24
24
|
|
|
25
|
-
*A
|
|
25
|
+
*A 15-second edit of a real OpenCode 2.1.4 run: exclude one finding, lower
|
|
26
|
+
another to low, read the new preview, then publish. Waiting time is shortened.
|
|
27
|
+
Read the [demo and recording details](docs/DEMO.md), or watch the earlier
|
|
26
28
|
[73-second walkthrough](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/download/v0.2.0/azpr-live-demo.mp4)
|
|
27
|
-
|
|
28
|
-
the Azure portion shows an actual REST read-back in a terminal.*
|
|
29
|
+
of a review, preview and publication.*
|
|
29
30
|
|
|
30
31
|
## Why AZPR?
|
|
31
32
|
|
|
33
|
+
- **You decide what gets posted.** Preview the AI's comments, exclude findings
|
|
34
|
+
you don't want to publish, and adjust severity. AZPR prepares a new preview
|
|
35
|
+
without rerunning the review. Read it, then publish when ready. Your original
|
|
36
|
+
review stays intact.
|
|
37
|
+
- **Publish safely.** AZPR rechecks the PR head, skips matching comments it
|
|
38
|
+
already posted, and reads new comments back. Automatic publication is opt-in.
|
|
32
39
|
- **Follow the code beyond the diff.** Reviewers can look up definitions,
|
|
33
40
|
callers and tests using file reads and text search at the selected PR commit,
|
|
34
41
|
without depending on an Azure Code Search index.
|
|
@@ -39,10 +46,6 @@ the Azure portion shows an actual REST read-back in a terminal.*
|
|
|
39
46
|
- **Choose where to spend model effort.** Assign different OpenCode models to
|
|
40
47
|
functional review, risk review and verification, or use one model for all
|
|
41
48
|
roles. Keep a stronger model profile for selected PRs with `/pr-deep`.
|
|
42
|
-
- **Control what reaches the PR.** Preview the summary and inline comments,
|
|
43
|
-
then publish when ready. The runtime rechecks the PR head, skips comments
|
|
44
|
-
already published by AZPR and reads new comments back. Automatic publication
|
|
45
|
-
is available when you opt in.
|
|
46
49
|
- **Configure the Azure connection for your network.** Set a forward proxy and
|
|
47
50
|
additional CA certificates for AZPR's Azure DevOps requests. Model-provider
|
|
48
51
|
connections remain configured in OpenCode.
|
|
@@ -55,15 +58,17 @@ for proxy authentication and retention.
|
|
|
55
58
|
|
|
56
59
|
## Your first review
|
|
57
60
|
|
|
58
|
-
1. Install the npm package using OpenCode's plugin manager
|
|
61
|
+
1. Install the npm package using OpenCode's plugin manager (already installed?
|
|
62
|
+
see [upgrading](#upgrading); behind a company proxy, see
|
|
63
|
+
[company networks](docs/ENTERPRISE.md#company-networks) first):
|
|
59
64
|
|
|
60
65
|
```sh
|
|
61
|
-
opencode plugin add opencode-azure-devops-pr-review@0.
|
|
66
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.1
|
|
62
67
|
```
|
|
63
68
|
|
|
64
69
|
2. Follow the [quickstart](docs/QUICKSTART.md) to save your PAT in a private
|
|
65
70
|
file and run `/pr-setup` with your organization and one model. Restart the
|
|
66
|
-
OpenCode service to load the settings.
|
|
71
|
+
OpenCode service (`opencode service restart`) to load the settings.
|
|
67
72
|
3. In one OpenCode conversation, check access, then review and preview:
|
|
68
73
|
|
|
69
74
|
```text
|
|
@@ -77,14 +82,27 @@ reviewers, then separate verification. If the completed review has findings to
|
|
|
77
82
|
comment on, `--preview` prepares their comments in a separate, cancellable run.
|
|
78
83
|
**Nothing is posted by these commands.** Previewing comments also uses a model.
|
|
79
84
|
|
|
80
|
-
Read the report and preview,
|
|
85
|
+
Read the report and preview. Before publishing, you can exclude a finding or
|
|
86
|
+
change its severity using IDs from your report, for example:
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
/pr-comment REVIEW_ID_FROM_RECEIPT --exclude F-1 --severity F-2=low
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
F-1 is excluded from the new preview; F-2 appears as low in the summary, with no
|
|
93
|
+
new inline comment. Adjusting runs comment planning again with a model. Read the
|
|
94
|
+
whole new preview, then publish from the same conversation:
|
|
81
95
|
|
|
82
96
|
```text
|
|
83
97
|
/pr-comment REVIEW_ID_FROM_RECEIPT --publish
|
|
84
98
|
```
|
|
85
99
|
|
|
86
100
|
Use the review ID from the completed receipt. The command posts the saved
|
|
87
|
-
preview as the PAT owner
|
|
101
|
+
preview as the PAT owner and skips matching comments AZPR already posted. It
|
|
102
|
+
never edits them; for an adjusted review, the receipt identifies those whose
|
|
103
|
+
text differs from the new preview. See
|
|
104
|
+
[adjusting findings](#adjusting-findings-after-a-preview) for how repeating an
|
|
105
|
+
option replaces its earlier list. For a lighter first pass, use
|
|
88
106
|
`/pr-quick <PR URL> --preview`; its findings are not independently verified.
|
|
89
107
|
|
|
90
108
|
## Choose a review
|
|
@@ -210,17 +228,20 @@ Azure DevOps REST API with the runtime's built-in `fetch`.
|
|
|
210
228
|
Install the npm package with OpenCode's plugin manager:
|
|
211
229
|
|
|
212
230
|
```sh
|
|
213
|
-
opencode plugin add opencode-azure-devops-pr-review@0.
|
|
231
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.1
|
|
214
232
|
```
|
|
215
233
|
|
|
216
234
|
The same release is also a versioned Git package, which needs Git but not the
|
|
217
235
|
npm registry:
|
|
218
236
|
|
|
219
237
|
```sh
|
|
220
|
-
opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.
|
|
238
|
+
opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.1'
|
|
221
239
|
```
|
|
222
240
|
|
|
223
|
-
Add only one of them.
|
|
241
|
+
Add only one of them. OpenCode 2.1.4 loads the plugin into a running OpenCode
|
|
242
|
+
service within a few seconds; if `/pr-setup` does not appear in a new
|
|
243
|
+
conversation, run `opencode service restart`. Then run `/pr-setup` for setup
|
|
244
|
+
instructions. Native packages
|
|
224
245
|
use `${XDG_CONFIG_HOME:-~/.config}/azpr/settings.json`; configuration and the
|
|
225
246
|
separate PAT file stay outside the package cache when the plugin is updated.
|
|
226
247
|
To select another configuration file, use an absolute path in the host config:
|
|
@@ -228,7 +249,7 @@ To select another configuration file, use an absolute path in the host config:
|
|
|
228
249
|
```json
|
|
229
250
|
{
|
|
230
251
|
"plugins": [{
|
|
231
|
-
"package": "opencode-azure-devops-pr-review@0.
|
|
252
|
+
"package": "opencode-azure-devops-pr-review@0.3.1",
|
|
232
253
|
"options": { "settingsFile": "/absolute/path/to/azpr/settings.json" }
|
|
233
254
|
}]
|
|
234
255
|
}
|
|
@@ -240,15 +261,43 @@ copy its settings to the external configuration path with owner-only
|
|
|
240
261
|
permissions, archive the old installation with its uninstaller, then add the
|
|
241
262
|
package. Keep the PAT file and private state directory in place.
|
|
242
263
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
264
|
+
### Upgrading
|
|
265
|
+
|
|
266
|
+
Keep one AZPR entry in the `plugins` list. **Running only `opencode plugin add`
|
|
267
|
+
with a new version adds a second entry**: OpenCode keeps running the version
|
|
268
|
+
listed first and reports the new one as `Duplicate plugin ID: azpr` (from
|
|
269
|
+
0.3.1, `/pr-check` also warns about it). Upgrade when no AZPR command is
|
|
270
|
+
running, since
|
|
271
|
+
OpenCode 2.1.4 replaces the running plugin as soon as its entry changes.
|
|
272
|
+
|
|
273
|
+
For an entry that `opencode plugin add` created, add the new version and,
|
|
274
|
+
only when that succeeds, remove the previous one:
|
|
275
|
+
|
|
276
|
+
```sh
|
|
277
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.1 &&
|
|
278
|
+
opencode plugin remove opencode-azure-devops-pr-review@PREVIOUS_VERSION
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
The first command downloads the new version in your terminal, with that
|
|
282
|
+
terminal's proxy settings. If it fails, `&&` skips the removal and nothing
|
|
283
|
+
changes; do not remove the previous entry by itself after a failed download.
|
|
284
|
+
Once the removal runs, the running OpenCode service switches to the new
|
|
285
|
+
version within a few seconds, with no restart. Use the same commands with the
|
|
286
|
+
`github:` specifications for the Git package, or to move between npm and Git.
|
|
287
|
+
|
|
288
|
+
For an entry with options (an object with `package` and `options`), change
|
|
289
|
+
only its `package` value and keep the options. The OpenCode service then
|
|
290
|
+
downloads the new version itself, with the service's network settings (see
|
|
291
|
+
[company networks](docs/ENTERPRISE.md#company-networks)); if that download fails,
|
|
292
|
+
AZPR's commands disappear until the package is available and the service
|
|
293
|
+
restarts.
|
|
294
|
+
|
|
295
|
+
External settings, the PAT file and review records stay in place; a working
|
|
296
|
+
configuration needs no new `/pr-setup`. `opencode plugin list` should then
|
|
297
|
+
show a single `azpr` row with the new version (from 0.3.1, `/pr-check` names
|
|
298
|
+
it too); if it still shows the previous one, run `opencode service restart`.
|
|
299
|
+
Exact versions stay pinned, so `opencode plugin update` leaves them unchanged.
|
|
300
|
+
See the [0.3.1 release notes](docs/releases/v0.3.1.md) for what changed and the
|
|
252
301
|
[0.2.0 release notes](docs/releases/v0.2.0.md) for automatic comments, which
|
|
253
302
|
remain disabled unless you configure `afterReview` or request them with a
|
|
254
303
|
review command flag.
|
|
@@ -258,8 +307,8 @@ review command flag.
|
|
|
258
307
|
<details>
|
|
259
308
|
<summary>Source installation and replacement</summary>
|
|
260
309
|
|
|
261
|
-
Download the [v0.
|
|
262
|
-
and extract it, or check out tag `v0.
|
|
310
|
+
Download the [v0.3.1 source archive](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/archive/refs/tags/v0.3.1.tar.gz)
|
|
311
|
+
and extract it, or check out tag `v0.3.1`. The installer needs POSIX `sh` and
|
|
263
312
|
Python 3's standard library. From that source directory:
|
|
264
313
|
|
|
265
314
|
```sh
|
|
@@ -333,9 +382,10 @@ Keep `LICENSE` with copied or redistributed packages.
|
|
|
333
382
|
|
|
334
383
|
Run `/pr-setup` to see the active settings path. Native packages use the
|
|
335
384
|
external configuration described above; source installations retain their
|
|
336
|
-
installed `plugins/azpr-v2/settings.json`. Edit that file and restart
|
|
337
|
-
|
|
338
|
-
|
|
385
|
+
installed `plugins/azpr-v2/settings.json`. Edit that file and restart the
|
|
386
|
+
OpenCode service (`opencode service restart`, or your own `opencode serve`
|
|
387
|
+
process). A changed file blocks new commands until the restart; running
|
|
388
|
+
commands keep the settings they started with.
|
|
339
389
|
|
|
340
390
|
For initial setup, one command sets the organization, existing PAT file and
|
|
341
391
|
the same model for review and quick roles without calling a model or Azure:
|
|
@@ -344,10 +394,14 @@ the same model for review and quick roles without calling a model or Azure:
|
|
|
344
394
|
/pr-setup --organization YOUR_ORG --model YOUR_PROVIDER/YOUR_MODEL --pat-file "/absolute/path/to/pat"
|
|
345
395
|
```
|
|
346
396
|
|
|
347
|
-
|
|
397
|
+
`--organization` also accepts a PR or organization URL. Without `--pat-file`,
|
|
398
|
+
setup uses `${XDG_CONFIG_HOME:-~/.config}/azpr/pat`, the file the
|
|
399
|
+
[quickstart](docs/QUICKSTART.md#2-save-the-pat-in-a-private-file-terminal)
|
|
400
|
+
creates. An existing file requires `--replace`, which keeps the PAT file
|
|
401
|
+
already set unless you name another; unrelated advanced settings and deep
|
|
348
402
|
models are preserved. Setup checks the model catalog and PAT file before
|
|
349
|
-
saving. It never accepts the PAT itself as a command argument. Restart
|
|
350
|
-
saving, then run `/pr-check` to verify Azure read access.
|
|
403
|
+
saving. It never accepts the PAT itself as a command argument. Restart the
|
|
404
|
+
OpenCode service after saving, then run `/pr-check` to verify Azure read access.
|
|
351
405
|
|
|
352
406
|
```json
|
|
353
407
|
{
|
|
@@ -405,7 +459,7 @@ every concrete defect it finds, in any area, as a finding.
|
|
|
405
459
|
| `afterReview.quick` / `.review` / `.deep` | `none` each: nothing follows a review; run `/pr-comment` yourself. `preview` plans a comment preview after a COMPLETE review of that mode (a model runs; nothing is posted); `publish` plans and posts it as the PAT owner; a comment that a safeguard holds back waits for a person. A flag after the PR URL overrides it for one run. See [automatic comments](#automatic-comments). |
|
|
406
460
|
| `azure.organization` | Required. The `<org>` of `https://dev.azure.com/<org>`; PR URLs of other organizations are refused. |
|
|
407
461
|
| `azure.pat` | A personal access token for that organization with **Code (Read)** and **Pull Request Threads (Read & write)**, or `""` when `azure.patFile` is set. Sent only to `https://dev.azure.com/<org>` and never logged. |
|
|
408
|
-
| `azure.patFile` | `""`. Recommended: the absolute path of a file that holds only the PAT, so `settings.json` holds no secret. It must be a regular file you own that only you can access (mode 600, not a symbolic link). AZPR reads it at start and before each command; after replacing it, restart OpenCode. Set either this or `azure.pat`. |
|
|
462
|
+
| `azure.patFile` | `""`. Recommended: the absolute path of a file that holds only the PAT, so `settings.json` holds no secret. It must be a regular file you own that only you can access (mode 600, not a symbolic link). AZPR reads it at start and before each command; after replacing it, restart the OpenCode service. Set either this or `azure.pat`. |
|
|
409
463
|
| `azure.concurrency` | `3` simultaneous Azure DevOps calls across all AZPR commands. |
|
|
410
464
|
| `azure.callTimeoutSeconds` | `120`; a hung call is aborted and its slot released (reads are retried). |
|
|
411
465
|
| `azure.archiveMegabytes` | `100` (1–1024): the largest repository zip that content search downloads per run and commit; a larger repository is not searched. It is held in memory during a review. |
|
|
@@ -437,24 +491,24 @@ a PAT scoped to **one organization** (global "all accessible organizations"
|
|
|
437
491
|
PATs stop working on 2026-12-01) with **Code: Read** and **Pull Request Threads:
|
|
438
492
|
Read & write**, which cover every call AZPR makes, and give it an expiry you
|
|
439
493
|
renew. Keep it alone in a file that only you can read and point `azure.patFile`
|
|
440
|
-
at it, so `settings.json` holds no secret
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
`/home/you/.config/azpr/pat`) and leave `"pat"` empty in the installed
|
|
450
|
-
`settings.json`, and restart OpenCode. `azure.pat` can hold the PAT instead; the
|
|
494
|
+
at it, so `settings.json` holds no secret: the
|
|
495
|
+
[quickstart](docs/QUICKSTART.md#2-save-the-pat-in-a-private-file-terminal) shows
|
|
496
|
+
how to create that file without echoing the PAT, recording it in your shell
|
|
497
|
+
history or overwriting an existing file, and `/pr-setup` sets `azure.patFile`.
|
|
498
|
+
|
|
499
|
+
To set it by hand, put that file's absolute path (for example
|
|
500
|
+
`/home/you/.config/azpr/pat`) in `"patFile"`, leave `"pat"` empty in the
|
|
501
|
+
settings file `/pr-setup` names, and restart the OpenCode service. `azure.pat`
|
|
502
|
+
can hold the PAT instead; the
|
|
451
503
|
installer keeps `settings.json` at mode 600. A file only you can read protects
|
|
452
504
|
the PAT from other accounts, not from programs you run yourself, so keep its
|
|
453
505
|
scopes minimal and its lifetime short. Keep the PAT out of this repository,
|
|
454
506
|
shared settings profiles, chat and environment variables that child processes
|
|
455
507
|
inherit. Behind a corporate proxy, also set `azure.proxy`, and `azure.caFile`
|
|
456
508
|
when the proxy inspects HTTPS (see
|
|
457
|
-
[proxies and TLS inspection](docs/AZURE_DEVOPS.md#proxies-and-tls-inspection)
|
|
509
|
+
[proxies and TLS inspection](docs/AZURE_DEVOPS.md#proxies-and-tls-inspection),
|
|
510
|
+
and [company networks](docs/ENTERPRISE.md#company-networks) for package
|
|
511
|
+
downloads and model providers).
|
|
458
512
|
|
|
459
513
|
Reviewers read source through six read-only AZPR tools (`azpr_read_diff`,
|
|
460
514
|
`azpr_read_file`, `azpr_search_code`, `azpr_find_files`, `azpr_list_files`,
|
|
@@ -477,7 +531,9 @@ troubleshooting.
|
|
|
477
531
|
| `/pr-quick <PR URL> [flag] [context]` | One reviewer per shard for both focuses, no verification; findings are reported, not verified. |
|
|
478
532
|
| `/pr-stop [run-id]` | Cancel this conversation's active command. |
|
|
479
533
|
| `/pr-comment [review-id]` | Preview comments for this conversation's latest completed review. |
|
|
480
|
-
| `/pr-comment [review-id] --publish` | Post the saved preview
|
|
534
|
+
| `/pr-comment [review-id] --publish` | Post the saved preview. A review that was never adjusted is planned first if needed; an adjusted one needs its new preview. Safe to repeat. |
|
|
535
|
+
| `/pr-comment [review-id] --show` | Show the saved preview again; no model or Azure DevOps request. |
|
|
536
|
+
| `/pr-comment <review-id> --exclude <IDs>` / `--severity <ID=level,…>` / `--reset` | Leave findings out or change their severity after reading the preview, then preview again (see [adjusting findings](docs/COMMENTING.md#adjusting-findings-after-a-preview)). |
|
|
481
537
|
|
|
482
538
|
Supported PR URLs are `https://dev.azure.com/<org>/<project>/_git/<repo>/pullrequest/<id>`
|
|
483
539
|
and `https://<org>.visualstudio.com/[DefaultCollection/]<project>/_git/<repo>/pullrequest/<id>`.
|
|
@@ -532,6 +588,30 @@ coverage), and their inline comments need a location on a changed HEAD file.
|
|
|
532
588
|
When two shards of a quick review report one defect, the planner may combine
|
|
533
589
|
them into one comment under fixed rules (see [commenting](docs/COMMENTING.md)).
|
|
534
590
|
|
|
591
|
+
### Adjusting findings after a preview
|
|
592
|
+
|
|
593
|
+
When a preview contains a finding you disagree with, leave it out or change
|
|
594
|
+
its severity, then read the new preview:
|
|
595
|
+
|
|
596
|
+
```text
|
|
597
|
+
/pr-comment <review-id> --exclude F-1 --severity F-2=low
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
Each command plans the comments again with a model, so combine both options in
|
|
601
|
+
one command when you use both. The comments are planned without the excluded
|
|
602
|
+
findings and with the new severities, so their wording may change; the summary
|
|
603
|
+
index follows them, and nothing on the PR mentions the adjustment. Each option
|
|
604
|
+
replaces its whole saved list: `--exclude F-1` and then `--exclude F-2` excludes
|
|
605
|
+
only F-2. A changed severity changes how a finding is published, not the finding
|
|
606
|
+
itself; when a finding is wrong, exclude it. Excluding every finding posts
|
|
607
|
+
nothing. `--reset` clears the adjustments, and `/pr-comment <review-id> --show`
|
|
608
|
+
shows the saved preview without a model. An adjusted review is posted only
|
|
609
|
+
from the preview planned after its latest adjustment; once its publication has
|
|
610
|
+
started, it is neither adjusted nor planned again. Comments that an earlier
|
|
611
|
+
publication put on the PR are never changed: they are skipped as always, and
|
|
612
|
+
the receipt of an adjusted review names those whose text differs from the
|
|
613
|
+
preview. See [adjusting findings](docs/COMMENTING.md#adjusting-findings-after-a-preview).
|
|
614
|
+
|
|
535
615
|
### Automatic comments
|
|
536
616
|
|
|
537
617
|
By default nothing follows a review: you preview with `/pr-comment` and post
|
|
@@ -639,8 +719,8 @@ and a loopback fake Azure DevOps REST service in disposable directories under
|
|
|
639
719
|
Uninstall without `--apply` previews; `--apply` archives only this package under
|
|
640
720
|
`azpr-v2-backups` and leaves the private state directory for you to delete.
|
|
641
721
|
For a native installation, remove the entry you added, for example
|
|
642
|
-
`opencode plugin remove opencode-azure-devops-pr-review@0.
|
|
643
|
-
`opencode plugin remove 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.
|
|
722
|
+
`opencode plugin remove opencode-azure-devops-pr-review@0.3.1` or
|
|
723
|
+
`opencode plugin remove 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.1'`;
|
|
644
724
|
the external settings, PAT file and private review state remain available.
|
|
645
725
|
|
|
646
726
|
[Architecture](docs/ARCHITECTURE.md), [commenting](docs/COMMENTING.md),
|
|
@@ -653,7 +733,7 @@ or personal model selections.
|
|
|
653
733
|
## License and releases
|
|
654
734
|
|
|
655
735
|
[MIT](LICENSE), copyright 2026 WTLAIB. See the [changelog](CHANGELOG.md) for the
|
|
656
|
-
release scope, [v0.
|
|
736
|
+
release scope, [v0.3.1](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.3.1)
|
|
657
737
|
for downloads, the [npm package](https://www.npmjs.com/package/opencode-azure-devops-pr-review),
|
|
658
738
|
[v0.2.0](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.2.0)
|
|
659
739
|
for the recorded demonstration, and [releasing](docs/RELEASING.md) for the
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -40,7 +40,10 @@ keep configuration outside the package cache, at an explicit absolute
|
|
|
40
40
|
`options.settingsFile` or `${XDG_CONFIG_HOME:-~/.config}/azpr/settings.json`.
|
|
41
41
|
Source installations retain their adjacent settings file. `/pr-setup` provides
|
|
42
42
|
guidance before settings exist, validates one model and an existing private PAT
|
|
43
|
-
file, and writes settings only on the explicit setup command.
|
|
43
|
+
file, and writes settings only on the explicit setup command. Without
|
|
44
|
+
`--pat-file` it uses the PAT file already set (with `--replace`) or
|
|
45
|
+
`${XDG_CONFIG_HOME:-~/.config}/azpr/pat`, and `--organization` also accepts a
|
|
46
|
+
PR or organization URL. It makes no model
|
|
44
47
|
or Azure request. Changes take effect after a restart; the loaded runtime and
|
|
45
48
|
its active grants do not change in place. While settings are missing or
|
|
46
49
|
unusable, the review commands answer `SETUP REQUIRED` and name the problem
|
|
@@ -259,7 +262,9 @@ object.
|
|
|
259
262
|
`publishableFindings` supplies the findings: CONFIRMED ones and verifier
|
|
260
263
|
additions for review and deep, REPORTED ones for a quick review. A saved
|
|
261
264
|
review without a verification field is trusted only when its profile is review
|
|
262
|
-
or deep.
|
|
265
|
+
or deep. `commentFindings` hands them to planning as a person adjusted them
|
|
266
|
+
after a preview (see below); without adjustments they are exactly the
|
|
267
|
+
publishable findings. Planning (model) uses pages of at most four findings plus report segments
|
|
263
268
|
(on a large PR each page carries the changed files and dispositions of its own
|
|
264
269
|
findings and references to the complete lists), with
|
|
265
270
|
CONTINUE checkpoints when a page needs more reading: at most three continuation
|
|
@@ -310,6 +315,29 @@ markers back (`VERIFIED`). Creation results are `POSTED`, `ALREADY_PRESENT`,
|
|
|
310
315
|
recorded thread whose comment someone deleted on the PR; it is not posted
|
|
311
316
|
again). Re-running publication is safe.
|
|
312
317
|
|
|
318
|
+
A person's adjustments (`/pr-comment <review-id> --exclude`, `--severity`,
|
|
319
|
+
`--reset`) are stored apart from the review, as `review.adjustments`; the
|
|
320
|
+
review record, its findings and its report never change. `commentFindings`
|
|
321
|
+
leaves excluded findings out and applies changed severities, so the existing
|
|
322
|
+
page checks decide titles and inline eligibility, and the planner input gains
|
|
323
|
+
an `adjustments` field only while some are active. Two states matter:
|
|
324
|
+
|
|
325
|
+
- **Active adjustments** shape planning and the summary index. Published text
|
|
326
|
+
must not name an excluded finding: the page checks repair or drop the
|
|
327
|
+
planner's own text, and `excludedReferences` checks the assembled preview,
|
|
328
|
+
including the summary rows rendered from the review's finding summaries,
|
|
329
|
+
and holds publication when one still names an excluded ID.
|
|
330
|
+
- **Ever adjusted** (also after `--reset`) keeps the stricter publication
|
|
331
|
+
rules. An adjustment is saved together with dropping the earlier preview
|
|
332
|
+
before anything else, and a failed save changes nothing; the new preview is
|
|
333
|
+
saved strictly as well and dropped when that fails. Such a review is posted
|
|
334
|
+
only from a preview planned after its latest adjustment, never planned and
|
|
335
|
+
posted in one `--publish`, and once its publication has started it is
|
|
336
|
+
neither adjusted nor planned again. Its publication compares the text of
|
|
337
|
+
items already on the PR (from the first thread list and from the read-back)
|
|
338
|
+
and names in the receipt those that keep their earlier text; nothing posted
|
|
339
|
+
is changed.
|
|
340
|
+
|
|
313
341
|
## Authorization and isolation
|
|
314
342
|
|
|
315
343
|
Private roles (`azpr-<mode>-functional|risk|verifier|dedupe|comment-plan`, and
|
|
@@ -376,7 +404,10 @@ Reviewers have no Azure DevOps write tool at all; only the runtime writes.
|
|
|
376
404
|
(`permission.hook`, `tool.transform`) and holds the host continuation text.
|
|
377
405
|
Without `permission.hook` the project boundary for native read tools is left to
|
|
378
406
|
the host's own permission rules; `/pr-check` shows a WARNING row and reviews
|
|
379
|
-
still run.
|
|
407
|
+
still run. With `plugin.list`, `/pr-check` names the installation that runs
|
|
408
|
+
and warns about any other AZPR entry the host configured but does not run,
|
|
409
|
+
such as a second version that OpenCode 2.1.4 lists as a duplicate plugin ID;
|
|
410
|
+
a host without it gets an information row.
|
|
380
411
|
Receipts note when the detected OpenCode version differs from the tested one
|
|
381
412
|
(`TESTED_HOST_VERSION`, 2.1.4).
|
|
382
413
|
REST paths and the pinned api-version live only in `azure.mjs`; see
|
package/docs/AZURE_DEVOPS.md
CHANGED
|
@@ -16,21 +16,22 @@ other component's configuration.
|
|
|
16
16
|
Global PATs ("All accessible organizations") stop working on 2026-12-01; use
|
|
17
17
|
an organization-scoped token. `Code: Read & write` also works but allows
|
|
18
18
|
pushing code, which AZPR never needs.
|
|
19
|
-
2. Put the PAT alone in a file only you can read,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
2. Put the PAT alone in a file only you can read, as the
|
|
20
|
+
[quickstart](QUICKSTART.md#2-save-the-pat-in-a-private-file-terminal) shows,
|
|
21
|
+
then run `/pr-setup --organization YOUR_ORGANIZATION --model PROVIDER/MODEL`
|
|
22
|
+
(add `--pat-file` for a file other than `${XDG_CONFIG_HOME:-~/.config}/azpr/pat`).
|
|
23
|
+
To edit the settings by hand instead, use the file `/pr-setup` names: an
|
|
24
|
+
explicit `options.settingsFile`; `settings.json` next to a source
|
|
25
|
+
installation (`plugins/azpr-v2/settings.json`); otherwise
|
|
26
|
+
`${XDG_CONFIG_HOME:-~/.config}/azpr/settings.json`:
|
|
27
27
|
|
|
28
28
|
```json
|
|
29
29
|
{ "azure": { "organization": "YOUR_ORGANIZATION", "patFile": "/home/YOU/.config/azpr/pat" } }
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
`"pat": "YOUR_PAT"` in place of `patFile` also works but keeps the secret in
|
|
33
|
-
`settings.json`; set one of the two, not both.
|
|
33
|
+
`settings.json`; set one of the two, not both. Restart the OpenCode service
|
|
34
|
+
(`opencode service restart`) after saving.
|
|
34
35
|
|
|
35
36
|
3. Run `/pr-check <PR URL>`; it reads the PR, its changes, one HEAD and one BASE
|
|
36
37
|
file and the discussions without any model request.
|
|
@@ -52,7 +53,7 @@ any request.
|
|
|
52
53
|
When dev.azure.com is reachable only through a proxy, a direct connection fails
|
|
53
54
|
and `/pr-check` reports `network error (ConnectionRefused)` (or a timeout, or
|
|
54
55
|
`ENOTFOUND`) under PR metadata. Point AZPR at the proxy in `settings.json` and
|
|
55
|
-
restart OpenCode:
|
|
56
|
+
restart the OpenCode service:
|
|
56
57
|
|
|
57
58
|
```json
|
|
58
59
|
{ "azure": { "proxy": "http://proxy.example.com:8080" } }
|
|
@@ -80,14 +81,16 @@ restart OpenCode:
|
|
|
80
81
|
intercept the connection can then read the PAT, so use it only when the CA
|
|
81
82
|
certificate cannot be obtained. `/pr-check` shows a WARNING row while it is
|
|
82
83
|
off.
|
|
83
|
-
- Settings and the CA file are read when OpenCode loads AZPR; restart
|
|
84
|
-
after changing either. `/pr-check` lists the proxy
|
|
84
|
+
- Settings and the CA file are read when OpenCode loads AZPR; restart the
|
|
85
|
+
OpenCode service after changing either. `/pr-check` lists the proxy
|
|
86
|
+
(without credentials) and
|
|
85
87
|
the number of extra CA certificates.
|
|
86
88
|
- Without `azure.proxy`, OpenCode's runtime (Bun) still honours `HTTPS_PROXY`
|
|
87
89
|
and `NO_PROXY` in the OpenCode process environment, and `NODE_EXTRA_CA_CERTS`
|
|
88
90
|
for extra CA certificates. Those apply to every connection OpenCode makes,
|
|
89
91
|
including model providers; `azure.proxy` and `azure.caFile` limit the change
|
|
90
|
-
to AZPR.
|
|
92
|
+
to AZPR. See [company networks](ENTERPRISE.md#company-networks) for package
|
|
93
|
+
downloads and the service environment.
|
|
91
94
|
- The three settings rely on the per-request proxy and TLS options of Bun's
|
|
92
95
|
`fetch`. A runtime whose `fetch` would ignore them makes AZPR refuse to load
|
|
93
96
|
instead of connecting directly.
|
|
@@ -200,7 +203,7 @@ but AZPR accepts only Azure DevOps Services URLs (`dev.azure.com/<org>` and
|
|
|
200
203
|
| `Azure DevOps refused … (HTTP 403 …)` | The PAT lacks a scope or the user lacks access to the project or repository. |
|
|
201
204
|
| `azure.patFile could not be used (…)` | The file is missing, a symbolic link, not a regular file, owned by another user, accessible by group or others (`chmod 600` it) or larger than 4 KB. |
|
|
202
205
|
| `azure.patFile must hold only the Azure DevOps PAT (…)` | The file is empty, holds more than one token or still a placeholder. |
|
|
203
|
-
| `azure.patFile changed since OpenCode loaded it` | Restart OpenCode to use the new PAT; running commands keep the old one. |
|
|
206
|
+
| `azure.patFile changed since OpenCode loaded it` | Restart the OpenCode service to use the new PAT; running commands keep the old one. |
|
|
204
207
|
| `Azure DevOps could not find … (HTTP 404 TF…)` | Wrong project, repository, PR ID or path; Azure's error code is shown. |
|
|
205
208
|
| `The PR belongs to organization "x", but azure.organization is "y"` | Configure the PAT and organization of that PR. |
|
|
206
209
|
| `… did not finish within the per-call timeout` | Azure DevOps or the network did not answer; reads were retried. |
|