LFX Mentorship Program: Agentic CI Flake Categorization and Analysis
Description
Continuous Integration (CI) pipelines are the backbone of our development, but "flaky" tests—tests that exhibit both false positive and false negative outcomes randomly—severely degrade developer velocity and erode trust in the CI system. Currently, our project relies on GitHub Actions for its CI/CD processes. Manually digging through extensive GitHub Actions logs to identify, categorize, and troubleshoot these flaky failures is a massive, time-consuming burden for maintainers. This internship aims to solve this by building an intelligent, automated toolchain that monitors our GitHub Actions workflows for flaky behavior and leverages an agentic AI workflow to handle the heavy lifting of analysis. The intern will build a system that automatically extracts failing logs, uses AI agents to reason about the failure (differentiating between infrastructure blips, race conditions, network timeouts, etc.), and surfaces actionable mitigation strategies directly to the maintainers.
Expected Outcomes
Data Ingestion Pipeline: A mechanism to automatically fetch, filter, and parse flaky CI run data and logs directly from the GitHub Actions API. Agentic Analysis Engine: An integration with an AI/LLM framework designed to read failure logs, categorize the root cause of the flake, and generate a plain-English analysis. Mitigation & Reporting: A reporting layer that takes the agent's findings and seamlessly integrates them into the developer workflow (e.g., auto-generating GitHub Issues, compiling weekly flake reports, or posting PR comments with suggested fixes). Documentation: Comprehensive documentation covering the architecture of the tool, how to deploy it, and how maintainers can tweak the agent's prompts and behaviors.
Recommended Skills
Proficiency in Python or Go (for scripting and API interactions). Familiarity with GitHub Actions, CI/CD concepts, and log analysis. Interest or experience in Generative AI, LLMs, and agentic workflows (prompt engineering, AI tool calling). Experience with the GitHub API is a strong plus. Familiarity with Local AI is a plus
Mentors:
Paul Holzinger @Luap99 Tim Zhou @timcoding1988 Mohan Boddu @mohanboddu
IMPORTANT: Please do not spam this issue with comments that you like to participate, the applications are only handled through the LFX program. For specific questions you can reach us on our #podman-dev:matrix.org matrix channel. Note, this is a developer focused channel, please avoid spamming it with things not related to our project.
LFX mentorship URL: https://mentorship.lfx.linuxfoundation.org/project/050e89d9-aec2-47ad-9113-3ba41a639d55
Note contributions in Podman are not a requirement to apply, we look at the submitted Resume/Cover Letter on the LFX portal. As long as you have anything good to list there regarding your skills/interested that works. That can also be some personal project. Due to high influx in PRs to our Projects we will not able to review all PRs in time, please have patience and not spam-ping us. We try our best. To give fair chances to everyone to contribute and have that work reviewed we decided to implement a maximum two open PRs per new contributor rule so please follow that. Thanks for your interest.
Hi @Luap99 my name is Tejas I am interested to work on this project this fall. Iam a GSoC 2026 contributor at LibreHealth worked on a large project, i am skilled in the requirements which were listed. I will look through the codebase and will open PR's for fixing the issues which are present. ThankYou
Hi @Luap99 I'm Shubham. I've been exploring the Podman project and the Agentic CI Flake Categorization idea really caught my interest since I've worked with Python, APIs, and AI. I'm currently getting familiar with the codebase and hope to contribute and learn from the community. Looking forward to working with the team.
Hi @Luap99
I'm very interested in working on this project (Agentic CI Flake Categorization and Analysis) for the upcoming LFX Mentorship term.
I’ve been following Podman's development workflow and have set up my local dev environment from source (running builds and passing make validatepr).
My background directly aligns with the technical goals of this project:
- Agentic Workflows & LLM Analysis: I've built multi-agent platforms using LangGraph (coordinating specialized agents for automated decision-making) and RAG pipelines using LangChain. This maps directly to building the agentic engine for parsing log tracebacks and classifying failure root causes.
- Log Ingestion & Automation: I've implemented real-time log-streaming pipelines for container deployment platforms (using Redis and Docker APIs), which fits well with fetching and parsing GitHub Actions / Cirrus CI log artifacts.
- Tech Stack: Experienced in Python, Go, FastAPI, Docker, and REST APIs.
I am preparing my application for the Aug 18 deadline. Are there any recommended starter tasks, documentation improvements, or good first issues the team recommends looking into in the meantime?
Thanks!
Hey @Luap99 !
I’m Kushvinth, a CSE student from SNU Chennai. I’ve been pretty active in open source, mainly around AI/ML, developer tooling, infrastructure, and systems.
I’ve contributed to projects across organizations like Google DeepMind and Apple, and I’ve also worked on agentic AI systems, self-hosted infrastructure, and ML/LLM pipelines professionally.
I recently came across the Agentic CI Flake Categorization and Analysis project, and it really caught my attention because it sits at the intersection of many of the areas I’ve been working with: AI agents, automation, CI/CD, APIs, and log analysis.
I’m currently getting familiar with the Podman codebase and the project, and I’m looking forward to contributing and getting to know everyone here.
Hi @Luap99 I am applying for the Agentic CI Flake Categorization project. This one sits precisely at the intersection of the two things I do: I build CI/CD pipelines professionally, and my most recent role was as an AI Automations Engineer building agentic workflows.
Why this project
Flaky tests are a trust problem before they are a technical problem. Once maintainers start reflexively re-running failed jobs, the CI signal is dead — real regressions get re-run away alongside the noise. The interesting part of this project is not "call an LLM on a log file"; it is designing a system whose output maintainers will actually read. That means the categorization has to be trustworthy enough that a "this is an infrastructure blip" verdict can be believed, and the reporting has to land where maintainers already work rather than in a dashboard nobody opens.
Background
On the AI side:
I worked as an AI Automations Engineer, building and deploying automation workflows with n8n that cut manual effort on internal processes by roughly 35%, and integrating AI and NLP components into those workflows for data analysis and decision support. That is agentic workflow engineering in practice — chaining tool calls, handling partial failures, deciding what the human sees. I am currently a Master's student in Artificial Intelligence, and hold the AWS Certified AI Practitioner and an AI Fundamentals certification and currently also pursuing the AWS Agentic Engineer I have practical experience with prompt design and structured LLM output, which is the crux of making a categorisation engine reliable rather than plausible-sounding.
On the CI side:
I build and maintain GitHub Actions pipelines professionally, and have done so across several projects — including my E-MAT DevSecOps capstone, where GitHub Actions drives Trivy container scanning and gates ArgoCD-based GitOps deployment to EKS. I have worked with REST APIs extensively, which is what the GitHub Actions API ingestion layer amounts to. Go: I have shipped gRPC microservices in Go and am actively deepening that skill. How I would approach the term
Weeks 1–2 — Understand the actual flakes. Before writing any AI component, I want to hand-label a corpus. Pull a few hundred recent failed Podman CI runs via the GitHub Actions API and manually categorise them with your input: infrastructure blip, race condition, network timeout, resource exhaustion, genuine regression. Without a ground-truth set there is no way to know whether the agent is right, and I would rather build the measuring stick first.
Weeks 2–4 — Data ingestion pipeline. Build the fetch-filter-parse layer against the GitHub Actions API: identify flaky runs (same commit, differing outcomes; re-run-to-green patterns), pull the relevant logs, and extract the failure region rather than shipping megabytes of log to a model. Cache aggressively — the API is rate limited and I want the pipeline to be re-runnable without burning quota. Handle pagination and rate limiting properly from the start.
Weeks 4–7 — Agentic analysis engine. Integrate an AI framework that reads the extracted failure context, categorises the root cause and produces a plain-English explanation. Design for structured output with a confidence signal, so low-confidence verdicts can be flagged rather than presented as fact. Evaluate against the week-1 labelled corpus and report accuracy honestly, including the categories it does badly on. I would like to keep a local-model path viable given the note about local AI being a plus, and given the cost and privacy considerations of sending CI logs to a hosted API.
Weeks 7–10 — Mitigation and reporting. Build the reporting layer into the maintainer workflow: auto-generated GitHub issues for recurring flakes with deduplication so the same flake does not open ten issues, weekly flake summary reports, and optionally PR comments where the signal is strong enough. I would default to conservative here — start with the weekly report, and only add automated issue creation or PR comments once you are satisfied with the false positive rate. An over-eager bot gets muted.
Weeks 10–12 — Documentation and handover. Architecture documentation, deployment guide, and a clear guide for maintainers on tuning prompts and thresholds. The tuning documentation matters most: this tool will need adjusting long after the term ends, and it should not require me to do it.
Availability
Full time for the term. I am at UTC+3, giving me strong overlap with European hours. I am comfortable with async collaboration and will share evaluation results transparently, including where the agent underperforms.
Thank you for your consideration.
IMPORTANT: Please do not spam this issue with comments that you like to participate,
can you please stop posting your cover letter and your intrest here because it was clearly mentioned not to spam this issue by Paul