Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor(web): mark workflow run props readonly (#36857)
meaqua94204a6d27835449
diff --git a/web/app/components/workflow/run/iteration-log/iteration-result-panel.tsx b/web/app/components/workflow/run/iteration-log/iteration-result-panel.tsxindex 765cb6b6930..516bff16fac 100644--- a/web/app/components/workflow/run/iteration-log/iteration-result-panel.tsx+++ b/web/app/components/workflow/run/iteration-log/iteration-result-panel.tsx@@ -18,9 +18,9 @@ import { NodeRunningStatus } from '@/app/components/workflow/types'const i18nPrefix = 'singleRun'type Props = {- list: NodeTracing[][]- onBack: () => void- iterDurationMap?: IterationDurationMap+ readonly list: NodeTracing[][]+ readonly onBack: () => void+ readonly iterDurationMap?: IterationDurationMap}const IterationResultPanel: FC<Props> = ({diff --git a/web/app/components/workflow/run/loop-log/loop-result-panel.tsx b/web/app/components/workflow/run/loop-log/loop-result-panel.tsxindex 79579dc6d31..67767370b47 100644--- a/web/app/components/workflow/run/loop-log/loop-result-panel.tsx+++ b/web/app/components/workflow/run/loop-log/loop-result-panel.tsx@@ -32,10 +32,10 @@ const getLoopRunKey = (loop: NodeTracing[], fallbackIndex: number) => {}type Props = {- list: NodeTracing[][]- onBack: () => void- loopDurationMap?: LoopDurationMap- loopVariableMap?: LoopVariableMap+ readonly list: NodeTracing[][]+ readonly onBack: () => void+ readonly loopDurationMap?: LoopDurationMap+ readonly loopVariableMap?: LoopVariableMap}const LoopResultPanel: FC<Props> = ({diff --git a/web/app/components/workflow/run/loop-result-panel.tsx b/web/app/components/workflow/run/loop-result-panel.tsxindex a9b9c8aa80e..99b101bf920 100644--- a/web/app/components/workflow/run/loop-result-panel.tsx+++ b/web/app/components/workflow/run/loop-result-panel.tsx@@ -16,10 +16,10 @@ import TracingPanel from './tracing-panel'const i18nPrefix = 'singleRun'type Props = {- list: NodeTracing[][]- onHide: () => void- onBack: () => void- noWrap?: boolean+ readonly list: NodeTracing[][]+ readonly onHide: () => void+ readonly onBack: () => void+ readonly noWrap?: boolean}const LoopResultPanel: FC<Props> = ({diff --git a/web/app/components/workflow/run/meta.tsx b/web/app/components/workflow/run/meta.tsxindex 46dc42c3c11..c072ec966b0 100644--- a/web/app/components/workflow/run/meta.tsx+++ b/web/app/components/workflow/run/meta.tsx@@ -4,13 +4,13 @@ import { useTranslation } from 'react-i18next'import useTimestamp from '@/hooks/use-timestamp'type Props = {- status: string- executor?: string- startTime?: number- time?: number- tokens?: number- steps?: number- showSteps?: boolean+ readonly status: string+ readonly executor?: string+ readonly startTime?: number+ readonly time?: number+ readonly tokens?: number+ readonly steps?: number+ readonly showSteps?: boolean}const MetaData: FC<Props> = ({diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsxindex 60c2a5a0a64..75f57a6a961 100644--- a/web/app/components/workflow/run/node.tsx+++ b/web/app/components/workflow/run/node.tsx@@ -34,18 +34,18 @@ import { LoopLogTrigger } from './loop-log'import { RetryLogTrigger } from './retry-log'type Props = {- className?: string- nodeInfo: NodeTracing- allExecutions?: NodeTracing[]- inMessage?: boolean- hideInfo?: boolean- hideProcessDetail?: boolean- onShowIterationDetail?: (detail: NodeTracing[][], iterDurationMap: IterationDurationMap) => void- onShowLoopDetail?: (detail: NodeTracing[][], loopDurationMap: LoopDurationMap, loopVariableMap: LoopVariableMap) => void- onShowRetryDetail?: (detail: NodeTracing[]) => void- onShowAgentOrToolLog?: (detail?: AgentLogItemWithChildren) => void- notShowIterationNav?: boolean- notShowLoopNav?: boolean+ readonly className?: string+ readonly nodeInfo: NodeTracing+ readonly allExecutions?: NodeTracing[]+ readonly inMessage?: boolean+ readonly hideInfo?: boolean+ readonly hideProcessDetail?: boolean+ readonly onShowIterationDetail?: (detail: NodeTracing[][], iterDurationMap: IterationDurationMap) => void+ readonly onShowLoopDetail?: (detail: NodeTracing[][], loopDurationMap: LoopDurationMap, loopVariableMap: LoopVariableMap) => void+ readonly onShowRetryDetail?: (detail: NodeTracing[]) => void+ readonly onShowAgentOrToolLog?: (detail?: AgentLogItemWithChildren) => void+ readonly notShowIterationNav?: boolean+ readonly notShowLoopNav?: boolean}const NodePanel: FC<Props> = ({diff --git a/web/app/components/workflow/run/retry-log/retry-result-panel.tsx b/web/app/components/workflow/run/retry-log/retry-result-panel.tsxindex 37e08679e14..6d1ed62d601 100644--- a/web/app/components/workflow/run/retry-log/retry-result-panel.tsx+++ b/web/app/components/workflow/run/retry-log/retry-result-panel.tsx@@ -10,8 +10,8 @@ import { useTranslation } from 'react-i18next'import TracingPanel from '../tracing-panel'type Props = {- list: NodeTracing[]- onBack: () => void+ readonly list: NodeTracing[]+ readonly onBack: () => void}const RetryResultPanel: FC<Props> = ({diff --git a/web/app/components/workflow/run/status-container.tsx b/web/app/components/workflow/run/status-container.tsxindex 6eb4035237b..31be85a4e16 100644--- a/web/app/components/workflow/run/status-container.tsx+++ b/web/app/components/workflow/run/status-container.tsx@@ -5,8 +5,8 @@ import useTheme from '@/hooks/use-theme'import { Theme } from '@/types/app'type Props = {- status: string- children?: React.ReactNode+ readonly status: string+ readonly children?: React.ReactNode}const StatusContainer: FC<Props> = ({