aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/flow/patching/patching.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-28 17:26:58 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-29 08:30:11 +0000
commit91694b98010e509dc770dc9cd3ff04c9724eab92 (patch)
tree64bb04c0dd9e804ce1a8ce54a833f4c858cd86b3 /pkg/aflow/flow/patching/patching.go
parentb78a7341979245ec72840af68695cb23b98dc2cb (diff)
pkg/aflow/flow/patching: find maintainers for patches
Provide base kernel repo/commit and recipients (to/cc) for patches.
Diffstat (limited to 'pkg/aflow/flow/patching/patching.go')
-rw-r--r--pkg/aflow/flow/patching/patching.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/aflow/flow/patching/patching.go b/pkg/aflow/flow/patching/patching.go
index cacbba9b5..9ec36ec3f 100644
--- a/pkg/aflow/flow/patching/patching.go
+++ b/pkg/aflow/flow/patching/patching.go
@@ -36,8 +36,18 @@ type Inputs struct {
}
type Outputs struct {
+ // Base repo/commit for the patch.
+ KernelRepo string
+ KernelCommit string
PatchDescription string
PatchDiff string
+ Recipients []Recipient
+}
+
+type Recipient struct {
+ Name string
+ Email string
+ To bool // whether the recipient should be on the To or Cc line
}
func init() {
@@ -80,6 +90,7 @@ func init() {
While: "TestError",
MaxIterations: 10,
},
+ getMaintainers,
&aflow.LLMAgent{
Name: "description-generator",
Model: aflow.BestExpensiveModel,