@sentry/junior-github 0.41.0 → 0.42.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -59,6 +59,7 @@ Repository checkout, source-code investigation, and pull request operations via
59
59
  ### Pull request inspection path
60
60
 
61
61
  - Use read-only `gh pr` commands from [references/api-surface.md](references/api-surface.md); skip branch resolution and push logic.
62
+ - When inspecting PR comments or feedback, query both conversation comments (`--json comments`) and review comments (`gh api .../pulls/{number}/comments` and `.../reviews`). Bot review feedback lives in the review comments API, not conversation comments.
62
63
  - Return canonical PR URL, PR number when available, target repository, and the fields the user asked to inspect.
63
64
  - If the PR cannot be resolved, report the exact not-found or auth failure and stop.
64
65
 
@@ -35,6 +35,8 @@ Treat explicit repo flags as command-targeting safety rails, not as a credential
35
35
  | List pull requests | `gh pr list --repo owner/repo [--state open | closed | merged]` |
36
36
  | Diff pull request | `gh pr diff NUMBER --repo owner/repo` |
37
37
  | Check pull request status | `gh pr checks NUMBER --repo owner/repo` |
38
+ | View PR review comments | `gh api repos/{owner}/{repo}/pulls/{number}/comments` |
39
+ | View PR reviews | `gh api repos/{owner}/{repo}/pulls/{number}/reviews` |
38
40
  | Dispatch workflow | `gh workflow run WORKFLOW -R owner/repo --ref REF [-f key=value ...]` |
39
41
  | List workflow runs | `gh run list -R owner/repo --workflow WORKFLOW [--limit N] [--json ...]` |
40
42
  | View workflow run | `gh run view RUN_ID -R owner/repo [--json ...] [--log-failed]` |