Green Operations: Making Every Pipeline Count

Inspiration

Software has a physical footprint, even when everything happens in the cloud. Every build, test, dependency download, and unnecessary CI/CD job consumes computing resources. For developers and small engineering teams, these costs are easy to overlook because pipelines are usually measured by speed and reliability—not by the resources they waste.

We started Green Operations with a simple question: What if sustainability became a measurable part of everyday software development rather than an afterthought?

Our goal is to help developers understand where their delivery workflows perform unnecessary work, identify opportunities to reduce compute waste, and verify whether an optimization actually makes a difference.

What it does

Green Operations is a sustainability-focused software delivery assistant built around GitLab CI/CD and the GitLab Duo Agent Platform.

The project aims to:

  • Identify unnecessary work: Find opportunities such as redundant pipeline jobs, repeated dependency downloads, and inefficient build workflows.
  • Optimize responsibly: Introduce targeted improvements while preserving essential tests, security checks, and release safeguards.
  • Measure the difference: Compare baseline and optimized pipeline runs using real execution data.
  • Make sustainability transparent: Separate directly measured values, modeled estimates, and resource-use proxies instead of presenting unsupported carbon-saving claims.
  • Explain the evidence: Use an agent to summarize findings, recommend next steps, and make the results understandable to developers.

Our guiding principle is simple: a greener pipeline should be demonstrated with evidence, not just a green dashboard.

How we built it

We designed Green Operations as a focused, measurable workflow rather than an oversized automation platform.

First, we established a baseline using pipeline execution data, including job durations, the number of jobs executed, runner information where available, and dependency-cache behavior.

Next, we selected targeted CI/CD optimizations that could reduce avoidable work without weakening the project's quality or security checks. We then compared the original and optimized workflows under comparable conditions.

The GitLab Duo Agent Platform is intended to help analyze the pipeline evidence, identify improvement opportunities, and generate an actionable sustainability report. The interface follows an environmental field-report aesthetic, using forest green, leaf green, warm white, and restrained solar-yellow accents. Rather than emphasizing decorative AI effects, it prioritizes measurements, evidence, and clear explanations.

We also use the Software Carbon Intensity (SCI) framework from the Green Software Foundation to guide our approach to defining the software boundary, selecting a functional unit, documenting assumptions, and quantifying environmental impact when the required data is available.

Challenges we faced

One of the biggest challenges is that faster software is not automatically greener software. Pipeline duration alone cannot establish an exact reduction in carbon emissions. Energy consumption, hardware allocation, electricity carbon intensity, and embodied emissions may all affect the result.

Another challenge is optimizing pipelines without compromising reliability. Skipping a necessary security scan or test might reduce compute usage, but it would not be a responsible sustainability improvement.

We also wanted to avoid the temptation to display a single impressive environmental score without sufficient evidence. Green Operations is designed to make missing data and measurement uncertainty visible rather than hide them.

What we learned

This project reinforced that sustainability is an engineering discipline, not merely a design aesthetic. Meaningful progress requires defining what is measured, comparing equivalent workloads, documenting assumptions, and distinguishing measured results from estimates.

We also learned that automation is most useful when it helps people make better decisions. An agent should not simply recommend that a pipeline become greener; it should explain which work can be avoided, what safeguards must remain, and how the result can be verified.

What's next

We want Green Operations to evolve into a practical sustainability companion for open-source maintainers, student developers, and small engineering teams that lack dedicated sustainability or DevOps specialists.

Future improvements could include better runner-energy telemetry, more reliable SCI calculations, automated cleanup of temporary environments, and recommendations that account for workload requirements and available carbon-intensity data.

Our long-term vision is to make environmental efficiency a visible, repeatable part of the software development lifecycle.

Green Operations — Smarter pipelines. Lower compute waste. Measurable environmental impact.

Project resources:

Built With

Share this project:

Updates

Submission history