fix(agents): improve session tracking accuracy with process registry cross-check
- Cross-check database running sessions with actual process registry - Filter out stale database entries for crashed processes without cleanup - Add comprehensive comments explaining the reliability improvements - Fix sticky header z-index layering issue in AgentExecution component This addresses cases where agent processes crash without properly updating the database status, ensuring the UI shows only truly active sessions.
This commit is contained in:
@@ -495,7 +495,7 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
|
||||
{/* Fixed container that takes full height */}
|
||||
<div className="h-full flex flex-col">
|
||||
{/* Sticky Header */}
|
||||
<div className="sticky top-0 z-10 bg-background border-b border-border">
|
||||
<div className="sticky top-0 z-20 bg-background border-b border-border">
|
||||
<div className="w-full max-w-5xl mx-auto">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: -20 }}
|
||||
|
Reference in New Issue
Block a user