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

View File

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

View File

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