From 91694b98010e509dc770dc9cd3ff04c9724eab92 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 28 Jan 2026 17:26:58 +0100 Subject: pkg/aflow/flow/patching: find maintainers for patches Provide base kernel repo/commit and recipients (to/cc) for patches. --- pkg/aflow/flow/patching/patching.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkg/aflow/flow/patching/patching.go') 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, -- cgit mrf-deployment