CI/CD Pipeline Artifact Impact Prediction via ML Dependency Graphs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing CI/CD pipeline management is inefficient due to the difficulty in identifying and processing changes in dynamic structures, particularly in software delivery environments, where micro-services and complex dependencies lead to slower re-deployment processes and reduced reliability.

Innovation Solution

A system utilizing an AI platform with a graph manager, ML manager, and monitor to generate dependency graphs, capture relationships between application and pipeline artifacts, detect changes, and automatically optimize the pipeline by encoding mapped changes, thereby selectively optimizing the CI/CD pipeline.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional CI/CD pipeline management is used to handle dynamic changes in micro-services, then the system can process changes, but the deployment time increases and reliability decreases due to difficulty in identifying impacted artifacts

Engineering Contradiction:
Improvedeployment reliabilityVSAvoiddeployment time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements feedback mechanisms by continuously monitoring application artifacts and using machine learning models to learn from past changes and their impacts on pipeline artifacts. This feedback loop enables the system to predict and identify impacted pipeline artifacts more accurately, improving deployment reliability while reducing unnecessary re-deployments and time loss

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary actions by proactively identifying changes in application artifacts and predicting their impact on pipeline artifacts before actual deployment occurs. The machine learning model captures relationships and dependencies in advance, allowing the system to pre-determine which pipeline artifacts need to be re-deployed, thus reducing deployment time and improving reliability

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the pipeline processes all artifacts upon any change, then completeness is maintained, but productivity decreases due to unnecessary processing of non-impacted artifacts

Engineering Contradiction:
Improvedeployment efficiencyVSAvoidchange impact coverage
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system segments the pipeline artifacts into impacted and non-impacted groups by analyzing changes in application artifacts and using machine learning models to predict which pipeline artifacts are affected. This segmentation allows the system to process only the necessary subset of artifacts, improving productivity while maintaining reliability through accurate impact identification

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies partial action by processing only the specific pipeline artifacts that are identified as impacted by changes, rather than processing all artifacts. The machine learning model enables precise identification of the minimal necessary subset of artifacts to re-deploy, improving deployment efficiency without compromising completeness or reliability

Inventive Principle:
Principle #16Partial or excessive action

3Ease of operation

If manual identification of pipeline artifact dependencies is used, then accuracy can be maintained, but device complexity and operational difficulty increase significantly

Engineering Contradiction:
Improvepipeline management easeVSAvoiddependency tracking complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically generating dependency graphs and identifying relationships between application and pipeline artifacts using machine learning models. The system autonomously learns from data and predicts impacts without requiring manual configuration or complex dependency tracking by operators, significantly improving ease of operation while managing complexity through automation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system replaces manual mechanical processes of dependency tracking and artifact identification with automated machine learning-based systems. The ML models automatically capture relationships and predict impacts, substituting complex manual analysis and configuration processes with intelligent automation, thereby improving operational ease while managing system complexity

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11144289B1Dynamic automation of selection of pipeline artifacts
Publication Date: 2021.10.12 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11144289B1 patent drawing
  • US11144289B1 patent drawing
  • US11144289B1 patent drawing

AI summary

An artificial intelligence (AI) platform to support a continuous integration and deployment (CI/CD) pipeline for software development and operations (DevOps). One or more dependency graphs are generated based on application artifacts. A machine learning (ML) model is leveraged to capture a relationship between components in the dependency graph(s) and one or more pipeline artifacts. Responsive a change of an application artifact, the captured relationship is leveraged to identify an impact of the detected change on the pipeline artifact(s). The CI/CD pipeline is selectively optimized and executed based on the identified impact to improve the efficiency of the pipeline and the deployment time.