zclllyybb opened a new pull request, #64536: URL: https://github.com/apache/doris/pull/64536
Problem Summary: Automated code review runs relied on the reviewer to infer which module-specific AGENTS.md files apply to a pull request. Recent Litefuse traces showed that reviews often skipped ancestor guides such as the repository root AGENTS.md, fe/AGENTS.md, and be/test/AGENTS.md even when the changed files made them applicable. This change fetches the PR changed file list, derives every existing AGENTS.md file from the changed file ancestor directories, records the list in the review context, and injects the required guide paths directly into the first Codex review prompt. We tested 5 PRs that did not read the AGENTS.md file during previous pipeline runs, and the new results are as follows: | Origin PR | Test PR | Run | Litefuse Trace | Result | |---|---:|---:|---|---| | apache/doris#64478 | zclllyybb/doris#36 | `27536249602` | `d76b77ac4e0d52d96f413b154c9f2571` | Read All | | apache/doris#64458 | zclllyybb/doris#37 | `27536258049` | `8db34388a8379acdcd9e48720f11225f` | Read All | | apache/doris#64392 | zclllyybb/doris#38 | `27536266784` | `a5e37fba03375a9517f7a67e33f70d39` | Read All | | apache/doris#64489 | zclllyybb/doris#39 | `27536275680` | `22ace18d70ece96b0ca7fa73123b62da` | Read All | | apache/doris#64419 | zclllyybb/doris#41 | `27538239601` | `1803c040e4140d61e840e4e1526190e7` | Read All | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
