OSS changes to pass the workflow start timestamp (#21018)

This commit is contained in:
Aniket Katkar 2025-04-29 20:30:21 +05:30 committed by GitHub
parent 56d4732da8
commit 056fb16377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,7 @@ const Ingestion: React.FC<IngestionProps> = ({
onCollateAgentPageChange, onCollateAgentPageChange,
agentCounts, agentCounts,
refreshAgentsList, refreshAgentsList,
workflowStartAt,
}: IngestionProps) => { }: IngestionProps) => {
const { t } = useTranslation(); const { t } = useTranslation();
const history = useHistory(); const history = useHistory();
@ -247,6 +248,7 @@ const Ingestion: React.FC<IngestionProps> = ({
collateAgentsList={collateAgentsList} collateAgentsList={collateAgentsList}
isCollateAgentLoading={isCollateAgentLoading} isCollateAgentLoading={isCollateAgentLoading}
serviceDetails={serviceDetails} serviceDetails={serviceDetails}
workflowStartAt={workflowStartAt}
onCollateAgentPageChange={onCollateAgentPageChange} onCollateAgentPageChange={onCollateAgentPageChange}
/> />
) : ( ) : (

View File

@ -50,6 +50,7 @@ export interface IngestionProps {
onCollateAgentPageChange?: (pagingHandlerParams: PagingHandlerParams) => void; onCollateAgentPageChange?: (pagingHandlerParams: PagingHandlerParams) => void;
agentCounts?: Record<ServiceAgentSubTabs, number>; agentCounts?: Record<ServiceAgentSubTabs, number>;
refreshAgentsList: (agentListType: ServiceAgentSubTabs) => Promise<void>; refreshAgentsList: (agentListType: ServiceAgentSubTabs) => Promise<void>;
workflowStartAt?: number;
} }
export interface SelectedRowDetails { export interface SelectedRowDetails {

View File

@ -1161,6 +1161,7 @@ const ServiceDetailsPage: FunctionComponent = () => {
serviceDetails={serviceDetails} serviceDetails={serviceDetails}
statusFilter={statusFilter} statusFilter={statusFilter}
typeFilter={typeFilter} typeFilter={typeFilter}
workflowStartAt={workflowStatesData?.mainInstanceState.startedAt}
onCollateAgentPageChange={onCollateAgentPageChange} onCollateAgentPageChange={onCollateAgentPageChange}
onIngestionWorkflowsUpdate={getAllIngestionWorkflows} onIngestionWorkflowsUpdate={getAllIngestionWorkflows}
onPageChange={onPageChange} onPageChange={onPageChange}
@ -1188,6 +1189,7 @@ const ServiceDetailsPage: FunctionComponent = () => {
handleTypeFilterChange, handleTypeFilterChange,
statusFilter, statusFilter,
typeFilter, typeFilter,
workflowStatesData?.mainInstanceState.startedAt,
] ]
); );