77import { type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
88import {
99 formatDurationMilliseconds ,
10+ MachinePresetName ,
1011 type TaskRunError ,
1112 taskRunErrorEnhancer ,
1213} from "@trigger.dev/core/v3" ;
@@ -18,6 +19,8 @@ import { AdminDebugRun } from "~/components/admin/debugRun";
1819import { CodeBlock } from "~/components/code/CodeBlock" ;
1920import { EnvironmentCombo } from "~/components/environments/EnvironmentLabel" ;
2021import { Feedback } from "~/components/Feedback" ;
22+ import { MachineLabelCombo } from "~/components/MachineLabelCombo" ;
23+ import { MachineTooltipInfo } from "~/components/MachineTooltipInfo" ;
2124import { Button , LinkButton } from "~/components/primitives/Buttons" ;
2225import { Callout } from "~/components/primitives/Callout" ;
2326import { DateTime , DateTimeAccurate } from "~/components/primitives/DateTime" ;
@@ -36,7 +39,6 @@ import {
3639import { TabButton , TabContainer } from "~/components/primitives/Tabs" ;
3740import { TextLink } from "~/components/primitives/TextLink" ;
3841import { InfoIconTooltip , SimpleTooltip } from "~/components/primitives/Tooltip" ;
39- import { RuntimeIcon } from "~/components/RuntimeIcon" ;
4042import { RunTimeline , RunTimelineEvent , SpanTimeline } from "~/components/run/RunTimeline" ;
4143import { PacketDisplay } from "~/components/runs/v3/PacketDisplay" ;
4244import { RunIcon } from "~/components/runs/v3/RunIcon" ;
@@ -46,6 +48,7 @@ import { SpanTitle } from "~/components/runs/v3/SpanTitle";
4648import { TaskRunAttemptStatusCombo } from "~/components/runs/v3/TaskRunAttemptStatus" ;
4749import { TaskRunStatusCombo , TaskRunStatusReason } from "~/components/runs/v3/TaskRunStatus" ;
4850import { WaitpointDetailTable } from "~/components/runs/v3/WaitpointDetails" ;
51+ import { RuntimeIcon } from "~/components/RuntimeIcon" ;
4952import { WarmStartCombo } from "~/components/WarmStarts" ;
5053import { useEnvironment } from "~/hooks/useEnvironment" ;
5154import { useOrganization } from "~/hooks/useOrganizations" ;
@@ -615,6 +618,17 @@ function RunBody({
615618 </ Property . Value >
616619 </ Property . Item >
617620 ) }
621+ < Property . Item >
622+ < Property . Label >
623+ < span className = "flex items-center gap-1" >
624+ Machine
625+ < InfoIconTooltip content = { < MachineTooltipInfo /> } />
626+ </ span >
627+ </ Property . Label >
628+ < Property . Value className = "-ml-0.5" >
629+ < MachineLabelCombo preset = { run . machinePreset as MachinePresetName } />
630+ </ Property . Value >
631+ </ Property . Item >
618632 { run . schedule && (
619633 < Property . Item >
620634 < Property . Label > Schedule</ Property . Label >
0 commit comments