Watch
0
0
Fork
You've already forked hyperhive
0

an agent gets one todo when its pr starts conflicting with the target branch

This commit is contained in:
atlas 2026-11-11 04:36:28 +01:00 • committed by mara
commit 11eb7dac9c

View file

@ -150,7 +150,7 @@ mod tests {
use super::*;
/// The built-in flows, in the order the router runs them.
const BUILTIN_IDS: [&str; 7] = [
const BUILTIN_IDS: [&str; 9] = [
"assigned",
"unassigned",
"closed",
@ -158,6 +158,8 @@ mod tests {
"ci-failed",
"ci-cancelled",
"ci-cleared",
"conflict",
"conflict-cleared",
];
fn ids(f: &Flows) -> Vec<&str> {
@ -220,6 +222,8 @@ mod tests {
"ci-failed",
"ci-cancelled",
"ci-cleared",
"conflict",
"conflict-cleared",
"triage"
]
);
@ -232,7 +236,7 @@ mod tests {
let before = ids(&f).join(",");
assert_eq!(
before,
"assigned,unassigned,head-classifier,ci-failed,ci-cancelled,ci-cleared,triage"
"assigned,unassigned,head-classifier,ci-failed,ci-cancelled,ci-cleared,conflict,conflict-cleared,triage"
);
for bad in [
junk(2, b"not json"),