- {hasMergeFailure && (() => {
- const agentStatus = item.agent?.status;
- if (agentStatus === "running") {
+ {hasMergeFailure &&
+ (() => {
+ const agentStatus = item.agent?.status;
+ if (agentStatus === "running") {
+ return (
+
+ ⟳
+
+ );
+ }
+ if (agentStatus === "pending") {
+ return (
+
+ ⏳
+
+ );
+ }
return (
- ⟳
-
- );
- }
- if (agentStatus === "pending") {
- return (
-
- ⏳
+ ✕
);
- }
- return (
-
- ✕
-
- );
- })()}
+ })()}
{mergesInFlight?.has(item.story_id) && (
)}
- {item.blocked && !item.merge_failure && (() => {
- const agentStatus = item.agent?.status;
- if (agentStatus === "running") {
+ {item.blocked &&
+ !item.merge_failure &&
+ (() => {
+ const agentStatus = item.agent?.status;
+ if (agentStatus === "running") {
+ return (
+
+ ⟳ RECOVERING
+
+ );
+ }
+ if (agentStatus === "pending") {
+ return (
+
+ ⏳ QUEUED
+
+ );
+ }
return (
- ⟳ RECOVERING
+ ⊘ BLOCKED
);
- }
- if (agentStatus === "pending") {
- return (
-
- ⏳ QUEUED
-
- );
- }
- return (
-
- ⊘ BLOCKED
-
- );
- })()}
+ })()}
{item.frozen && (