@@ -414,8 +414,6 @@ type Status struct {
414414
415415 // RenderStatus contains detailed information about pipeline execution results
416416 RenderStatus * RenderStatus `yaml:"renderStatus,omitempty" json:"renderStatus,omitempty"`
417- Conditions []Condition `yaml:"conditions,omitempty" json:"conditions,omitempty"`
418- RenderStatus * RenderStatus `yaml:"renderStatus,omitempty" json:"renderStatus,omitempty"`
419417}
420418
421419// RenderStatus represents the result of performing render operation
@@ -441,6 +439,7 @@ type PipelineStepResult struct {
441439
442440// ResultItem mirrors framework.Result with only the fields needed for Kptfile status.
443441type ResultItem struct {
442+ Resource string `yaml:"resource,omitempty" json:"resource,omitempty"`
444443 Message string `yaml:"message,omitempty" json:"message,omitempty"`
445444 Severity string `yaml:"severity,omitempty" json:"severity,omitempty"`
446445 ResourceRef * ResourceRef `yaml:"resourceRef,omitempty" json:"resourceRef,omitempty"`
@@ -525,54 +524,3 @@ func ToCondition(value string) ConditionStatus {
525524 return ConditionUnknown
526525 }
527526}
528-
529- // RenderStatus contains detailed information about pipeline execution results
530- type RenderStatus struct {
531- // MutationSteps contains results from mutation pipeline functions
532- MutationSteps []PipelineStepResult `yaml:"mutationSteps,omitempty" json:"mutationSteps,omitempty"`
533-
534- // ValidationSteps contains results from validation pipeline functions
535- ValidationSteps []PipelineStepResult `yaml:"validationSteps,omitempty" json:"validationSteps,omitempty"`
536-
537- // ErrorSummary provides a consolidated summary of all errors
538- ErrorSummary string `yaml:"errorSummary,omitempty" json:"errorSummary,omitempty"`
539- }
540-
541- // PipelineStepResult contains the result of executing a single pipeline step
542- type PipelineStepResult struct {
543- // Name is the name of the function step
544- Name string `yaml:"name,omitempty" json:"name,omitempty"`
545-
546- // Image is the container image that was executed
547- Image string `yaml:"image,omitempty" json:"image,omitempty"`
548-
549- // ExecPath is the executable path that was run
550- ExecPath string `yaml:"execPath,omitempty" json:"execPath,omitempty"`
551-
552- // ExecutionError captures execution failures like network errors, missing images, etc.
553- ExecutionError string `yaml:"executionError,omitempty" json:"executionError,omitempty"`
554-
555- // Stderr contains the standard error output from the function execution
556- Stderr string `yaml:"stderr,omitempty" json:"stderr,omitempty"`
557-
558- // ExitCode is the exit code returned by the function
559- ExitCode int `yaml:"exitCode" json:"exitCode"`
560-
561- // Results contains successful results from the function
562- Results []ResultItem `yaml:"results,omitempty" json:"results,omitempty"`
563-
564- // ErrorResults contains error results from the function
565- ErrorResults []ResultItem `yaml:"errorResults,omitempty" json:"errorResults,omitempty"`
566- }
567-
568- // ResultItem represents a single result item from a function execution
569- type ResultItem struct {
570- // Resource is the KRM resource that was processed (serialized as YAML string)
571- Resource string `yaml:"resource,omitempty" json:"resource,omitempty"`
572-
573- // Message contains details about the result
574- Message string `yaml:"message,omitempty" json:"message,omitempty"`
575-
576- // Severity indicates the severity level of the result (error, warning, info)
577- Severity string `yaml:"severity,omitempty" json:"severity,omitempty"`
578- }
0 commit comments