Skip to content

Commit e2be70b

Browse files
kotlarmilosCopilot
andcommitted
Harden agentic workflows: fix libtorch pin bump, tighten scopes, correct shepherd/closer logic
- libtorch-bump: bump BOTH unconditional <LibTorchPackageVersion> lines in Directory.Build.props (top-level and the libtorch- PropertyGroup) and fix the grep verification counts; previously only one was updated, leaving the package build on the old version. - libtorch-bump: restrict create-pull-request allowed-files to the two props files actually edited (was build/**, pkg/**, *_cuda.txt). - libtorch-bump: make intent consistent - only patch-level bumps get a PR; any major OR minor change files a tracking issue (minor libtorch releases change the native ABI). - pr-shepherd: description no longer claims it applies labels (it is comment-only); fetch statusCheckRollup before claiming merge-ready; stop listing bogus conflict paths (the API does not expose them). - out-of-scope-closer: close idempotency no longer strands issues left open by a partial prior run; fetch full issue detail for the active-discussion check; handle regex: entries locally since GitHub search cannot evaluate them. - issue-triage: only demand a stack trace for crash/exception bugs. - Recompiled lock files (gh aw compile); setup action is now SHA-pinned. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent de42869 commit e2be70b

10 files changed

Lines changed: 116 additions & 114 deletions

‎.github/aw/actions-lock.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"repo": "actions/github-script",
55
"version": "v9.0.0",
66
"sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3"
7+
},
8+
"github/gh-aw-actions/setup@v0.71.5": {
9+
"repo": "github/gh-aw-actions/setup",
10+
"version": "v0.71.5",
11+
"sha": "b8068426813005612b960b5ab0b8bd2c27142323"
712
}
813
}
914
}

‎.github/workflows/code-review.agent.lock.yml‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/issue-triage.agent.lock.yml‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/issue-triage.agent.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Classify issue #${{ github.event.issue.number }} into exactly one of TorchSharp'
8686
- Title or body mentions `TorchSharp.Examples`, `models/`, pretrained, model zoo -> `zoo`.
8787
- Title or body mentions `libtorch`, version bump, NuGet, dependency -> `dependencies`.
8888
4. Decide whether to comment. Comment ONLY if:
89-
- `bug` and (no code block in body OR no stack trace OR no version info), OR
89+
- `bug` and (no minimal repro / code block in body OR no version info OR (the issue describes a crash or exception AND no stack trace is included)). Do not demand a stack trace for non-crash bugs such as numerical regressions or incorrect output.
9090
- `enhancement` / `Missing Feature` and the body has no concrete proposal (no method signature, no PyTorch link, no concrete use case).
9191
5. Apply labels; post the comment if step 4 says to.
9292

0 commit comments

Comments
 (0)