Skip to main content

Pipeline Resolution

Pipeline Resolution provides a structured workflow for investigating and resolving failed pipelines in the Momentum platform.

It combines pipeline observability with Metis AI-assisted analysis to help identify the cause of a failure, locate the relevant files, review the recommended resolution, apply the fix, and validate the result.

Pipeline Resolution Workflow

The resolution process follows four main stages:

StagePurposeKey Actions
DetectIdentify the failed pipeline and start the resolution process.Open the failed pipeline and select the resolution workflow.
DiagnoseUnderstand why the pipeline failed.Analyze the failure with Metis, fetch the failed job logs, and identify the root cause.
ResolveApply the recommended solution to the project.Identify candidate files, review the proposed fix, apply the changes, and commit and push the update.
ValidateConfirm that the issue has been successfully resolved.Trigger a new pipeline, review the result, and confirm that the pipeline completes successfully.

Pipeline Resolution works alongside Pipeline Observability and Metis to provide an end-to-end workflow for resolving pipeline failures.

Pipeline Resolution !!shadow!!

Pipeline Resolution Actions

The following actions are available as part of the resolution workflow.

ActionDescription
Analyze Job with MetisStarts AI-assisted analysis for the failed pipeline.
Fetch failed job logRetrieves the logs associated with the failed job for further investigation.
Analyze failure root causeIdentifies the likely cause of the pipeline failure based on the available logs and project context.
Identify candidate filesIdentifies the project files that may need to be changed to resolve the failure.
Review proposed fixAllows the user to review the changes proposed by Metis before applying them.
Apply fixApplies the recommended changes to the identified project files.
Commit and pushCommits the changes and pushes them to the configured source repository.
Trigger new pipelineStarts a new pipeline using the updated project configuration or code.
Validate resultVerifies whether the new pipeline completes successfully.

Analyze a Failed Pipeline

The resolution process starts when a pipeline fails.

1. Open the Failed Job

Open the failed pipeline from Pipeline Observability and select the appropriate failed job.

Review the job status and available execution information before starting the resolution workflow.

Failed Pipeline !!shadow!!

2. Analyze the Job with Metis

Use Analyze with Metis to start an AI-assisted investigation of the failed job.

Metis analyzes the available pipeline information and job logs to determine the likely cause of the failure.

Analyze with Metis !!shadow!!

3. Fetch and Analyze the Job Log

Retrieve the failed job log and review the error information identified during the analysis.

The analysis helps determine:

  • The failure message
  • The likely root cause
  • The affected pipeline step
  • Relevant project components
  • Potential files that may require changes

Job Log Analysis !!shadow!!

4. Review the Proposed Resolution

After analyzing the failure, Metis identifies potential files and proposes a resolution.

Review the proposed changes before applying them.

The review step allows you to verify:

  • Which files will be changed
  • What changes are being proposed
  • How the changes address the identified root cause
  • Whether the proposed resolution is appropriate for the project

Proposed Resolution !!shadow!!

tip

Always review the proposed changes before applying the fix, particularly when the failure affects production or shared project resources.

After reviewing the proposed resolution and confirming that the changes are correct, users can choose to Apply Directly or Apply via Feature Branch.

When a fix is applied, Metis can apply the changes, commit them, trigger a verification pipeline to validate the fix, and provide an option to the user to Create merge request. This completes the pipeline resolution task.

Apply Fix !!shadow!!

Important Considerations

  • Review proposed changes before applying them. The AI-generated recommendation should be validated against the project context.
  • Check the job logs carefully. The quality of the resolution depends on the available failure information.
  • Validate after applying a fix. A successful commit does not necessarily mean that the pipeline issue has been resolved.
  • Review the new pipeline execution. Confirm that the original failure no longer occurs.
note

Pipeline Resolution is intended to assist with investigation and remediation. Users should review and validate proposed changes before applying them to project code or configuration.