What problem does it solve?
It solves the problem of unclear CI/CD behavior by showing how Megatron-LM’s CI pipeline is structured, how PR labels determine test scope, and how to trigger and investigate CI failures quickly and correctly.
Core Features & Use Cases
- CI pipeline structure: Maps the end-to-end workflow from pre-flight configuration through container build/test parsing to the final pass/fail gate.
- PR label decisioning: Provides a deterministic label-to-scope/n_repeat/lightweight mapping and guidance for choosing the right labels based on changed paths and risk.
- Internal CI triggering: Documents how to trigger the internal GitLab pipeline from a branch programmatically (including required setup).
- Failure investigation workflow: Explains how to locate the PR from a CI branch, stream logs, download per-rank artifacts, and classify root-cause categories (lint, container build, unit, functional, flaky).
Quick Start
Use the cicd skill when a PR has a failing CI run and you need to determine the correct scope label to apply, trigger the internal pipeline again, and trace the failure by inspecting the uploaded per-rank logs.