Skip to main navigation Skip to search Skip to main content

Predicting Intermittent Job Failure Categories for Diagnosis Using Few-Shot Fine-Tuned Language Models

  • École de technologie supérieure
  • Telus

Research output: Contribution to Book/Report typesContribution to conference proceedingspeer-review

Abstract

In principle, failures in Continuous Integration (CI) pipelines provide valuable feedback to developers about code-related errors. In practice, however, pipeline jobs often fail intermittently due to non-deterministic tests, network outages, infrastructure failures, resource exhaustion, and other reliability issues. These intermittent (flaky) job failures lead to substantial inefficiencies: wasted computational resources from repeated reruns and significant diagnosis time that distracts developers from core activities and often requires intervention from specialized teams. Prior studies have proposed machine learning techniques to detect intermittent failures, but the subsequent diagnosis remains underexplored. To fill this gap, we introduce FlaXifyer, a few-shot learning approach for predicting intermittent job failure categories using pre-trained language models. FlaXifyer requires only job execution logs and achieves 84.3% Macro F1 and 92.0% Top-2 accuracy with just 12 labeled examples per category. We also propose LogSift, an interpretability technique that identifies influential log statements in under one second, reducing review effort by 74.4% while surfacing relevant failure information in 87% of cases. Evaluated on 2,458 job failures from TELUS, FlaXifyer and LogSift enable practitioners to automate triage and accelerate the diagnosis of intermittent job failures.

Original languageEnglish
Title of host publicationFSE Companion 2026 - Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering
EditorsShin Hwei Tan, Foutse Khomh
PublisherAssociation for Computing Machinery, Inc
Pages513-523
Number of pages11
ISBN (Electronic)9798400726361
DOIs
Publication statusPublished - 17 Jul 2026
EventACM International Conference on the Foundations of Software Engineering, FSE 2026 - Montreal, Canada
Duration: 5 Jul 20269 Jul 2026

Publication series

NameFSE Companion 2026 - Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering

Conference

ConferenceACM International Conference on the Foundations of Software Engineering, FSE 2026
Country/TerritoryCanada
CityMontreal
Period5/07/269/07/26

!!!Keywords

  • CI
  • classification
  • failure diagnosis
  • few-shot learning
  • intermittent job failures
  • interpretability
  • language models
  • logs

Fingerprint

Dive into the research topics of 'Predicting Intermittent Job Failure Categories for Diagnosis Using Few-Shot Fine-Tuned Language Models'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this