Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat: link a local sprite render to its Render Queue row, as grok links to the Shell

[._.]/ Adam Eivy5fb152c5dd17
diff --git a/client/src/components/sprites/WalkWorkflow.jsx b/client/src/components/sprites/WalkWorkflow.jsx
index 6f477632f0..96f1ec769e 100644
--- a/client/src/components/sprites/WalkWorkflow.jsx
+++ b/client/src/components/sprites/WalkWorkflow.jsx
@@ -1,7 +1,7 @@
import { useEffect, useMemo, useState } from 'react';
import { Link } from 'react-router';
import {
- Check, Film, RefreshCw, Scissors, Lock, Unlock, Terminal, Gauge, RotateCcw,
+ Check, Film, RefreshCw, Scissors, Lock, Unlock, Terminal, Gauge, RotateCcw, Cpu,
} from 'lucide-react';
import toast from '../ui/Toast';
import {
@@ -342,6 +342,20 @@ function DirectionCard({
</Link>
)}
+ {/* The local lane has no PTY to attach to, so its observability is the
+ Render Queue row for the job — same slot, same shape, so a rendering
+ card is never a dead end on either lane. Mutually exclusive with the
+ Shell link above: a run carries a shellSession OR a jobId. */}
+ {rendering && !run?.shellSession && run?.jobId && (
+ <Link
+ to="/system-resources/queues"
+ title="Watch this local render in the Render Queue (progress / cancel)"
+ className="flex items-center gap-1 w-full justify-center px-2 py-0.5 text-xs bg-port-card border border-port-accent rounded text-port-accent hover:bg-port-accent hover:text-white"
+ >
+ <Cpu className="w-3 h-3" /> Watch in Render Queue
+ </Link>
+ )}
+
{/* Retry also covers a run wedged at 'postprocessing' (crash between
the video copy and the packaged save) — the endpoint is the
documented recovery path and validates readiness server-side. */}
diff --git a/client/src/components/sprites/WalkWorkflow.test.jsx b/client/src/components/sprites/WalkWorkflow.test.jsx
index 96d703aa3e..f2a11f328a 100644
--- a/client/src/components/sprites/WalkWorkflow.test.jsx
+++ b/client/src/components/sprites/WalkWorkflow.test.jsx
@@ -262,6 +262,33 @@ describe('WalkWorkflow render-lane picker (#4876)', () => {
'title', expect.stringContaining('fixed frame grid'),
);
});
+
+ it('offers the Render Queue instead of the Shell for a LOCAL render', () => {
+ // The local lane has no PTY to attach to, so its rendering card would
+ // otherwise be a dead end with no way to watch or cancel the job.
+ renderPanel({
+ walk: {
+ runs: [{ id: 'walk-east-abc', direction: 'east', status: 'rendering', jobId: 'mjob-1' }],
+ selection: { directions: {} },
+ walkSet: null,
+ },
+ });
+ expect(screen.getByRole('link', { name: /Watch in Render Queue/ }))
+ .toHaveAttribute('href', '/system-resources/queues');
+ expect(screen.queryByRole('link', { name: /Watch in Shell/ })).toBeNull();
+ });
+
+ it('keeps the Shell link for a grok render, and offers only that one', () => {
+ renderPanel({
+ walk: {
+ runs: [{ id: 'walk-east-abc', direction: 'east', status: 'rendering', shellSession: 'walk-east-abc' }],
+ selection: { directions: {} },
+ walkSet: null,
+ },
+ });
+ expect(screen.getByRole('link', { name: /Watch in Shell/ })).toBeInTheDocument();
+ expect(screen.queryByRole('link', { name: /Watch in Render Queue/ })).toBeNull();
+ });
});
describe('WalkWorkflow idle anchor preview', () => {