Commit bf3fe81
@-mention non-collaborator release contributors; widen toolhive docs paths
Two independent but related improvements to the upstream-release-docs
pipeline:
1. Reviewer routing: @-mention contributors we can't auto-assign
The existing reviewer-extract step batched all non-bot release
commit authors and filtered to docs-website collaborators. On
PR #759 that filter silently dropped four of five candidates
(`reyortiz3`, `ChrisJBurns`, `jhroz`, `tgrunnag` are all upstream
toolhive contributors but not collaborators on docs-website).
The filter is mandatory because `gh pr edit --add-reviewer`
returns 422 for any non-collaborator in the list, dropping the
valid reviewers alongside the invalid ones.
Now split the candidates:
- ASSIGN_LIST (collaborators): batch-assigned as reviewers
via `--add-reviewer`. Unchanged behavior.
- MENTION_LIST (everyone else): @-mentioned in a new
"Release contributors" section of the PR body so they see
the PR documenting their work even though we can't request
their review via the API.
Detecting Stacklok employees directly (e.g. via the `stackers`
team) requires a PAT with read:org scope -- `GITHUB_TOKEN`
doesn't have it, and public-org-membership checks only see
members with public membership. Deferred; noted in a comment.
2. Expand toolhive docs_paths hints
The `toolhive` upstream is a monorepo shipping the CLI, the
Kubernetes operator, and the vMCP gateway, plus cross-cutting
features that land in concepts/, integrations/, tutorials/,
and hand-written reference pages. The previous hints listed
only the three guides-* folders. In practice the skill's
Phase 3 impact map expanded beyond the hints (PR #759 touched
concepts/, integrations/, tutorials/), so this is a focus
improvement rather than a bug fix -- more accurate hints let
Phase 2's source reading home in on the right areas without
re-scanning unrelated docs.
Other projects' hints are already accurate for their scope.
toolhive-cloud-ui intentionally keeps docs_paths: [] -- no
associated docs in this repo yet.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a661dc0 commit bf3fe81
2 files changed
Lines changed: 67 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
| 411 | + | |
418 | 412 | | |
419 | 413 | | |
420 | 414 | | |
421 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
422 | 433 | | |
423 | 434 | | |
424 | 435 | | |
425 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
426 | 439 | | |
427 | 440 | | |
428 | 441 | | |
429 | | - | |
430 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
431 | 446 | | |
432 | | - | |
433 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
434 | 459 | | |
435 | 460 | | |
436 | 461 | | |
| |||
797 | 822 | | |
798 | 823 | | |
799 | 824 | | |
| 825 | + | |
| 826 | + | |
800 | 827 | | |
801 | 828 | | |
802 | 829 | | |
| |||
830 | 857 | | |
831 | 858 | | |
832 | 859 | | |
833 | | - | |
| 860 | + | |
834 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
835 | 876 | | |
836 | 877 | | |
837 | 878 | | |
| |||
0 commit comments