chore: add skill-fedora-mirror-injections for Stage 1 dependency gaps#18007
Open
aditjha-msft wants to merge 2 commits into
Open
chore: add skill-fedora-mirror-injections for Stage 1 dependency gaps#18007aditjha-msft wants to merge 2 commits into
aditjha-msft wants to merge 2 commits into
Conversation
Add a skill documenting how to diagnose AzL4 Stage 1 (*-bootstrap-mirror) BuildRequires resolution failures, distinguish real prod Fedora-mirror gaps from transient timeouts and spec-side version skew, verify the transitive closure, add entries to azl4-stage1-injections.yaml in azl-infra, and verify an injections PR against the test mirror pipeline before merging. Follows the .github/skills/skill-<name>/SKILL.md convention and is registered in the AGENTS.md skills table. Derived from the mirror_bootstrap0623 round (azl-infra draft PR #27888; 34-package retest all passed). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4345bd3a-5a5c-44c4-b77e-ad618b7ed605
Contributor
There was a problem hiding this comment.
Pull request overview
Adds guidance for diagnosing and resolving Stage 1 Fedora mirror dependency gaps.
Changes:
- Documents mirror-gap diagnosis, injection, validation, and retesting.
- Registers the new skill in the agent guide.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
AGENTS.md |
Registers the new workflow skill. |
.github/skills/skill-fedora-mirror-injections/SKILL.md |
Defines the Stage 1 mirror-injection workflow. |
Remove the "Verify via the test mirror pipeline" step (and its When-to-Use / Reference / frontmatter mentions). The skill now ends at step 9 "Open the PR" as the deliverable, with the prod retest demoted to an optional post-merge note. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4345bd3a-5a5c-44c4-b77e-ad618b7ed605
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new agent skill,
skill-fedora-mirror-injections, documenting how to diagnose Azure Linux Stage 1 (*-bootstrap-mirror)BuildRequiresresolution failures and backfill the missing RPMs into the prod Fedora updates mirror via theazl4-stage1-injections.yamlfile inazl-infra.Stage 1 builds must resolve all
BuildRequiresfrom the prod Fedora mirror alone (no koji-built RPMs are used as build deps), so a resolution failure is a real mirror gap — not a build-order race. The skill captures the end-to-end process for finding, verifying, and fixing these gaps.What the skill covers
< next~bound → old NVR demoted fromupdatesrepodata → still recoverable from kojipkgs.root.log, and classifying each failure (real mirror gap vs. transient Curl-28 timeout vs. spec bug vs. version skew).expand_packages+head_checkto confirm every entry resolves on kojipkgs before opening the PR.Files
.github/skills/skill-fedora-mirror-injections/SKILL.md— the skill (follows the existing.github/skills/skill-<name>/SKILL.mdconvention with[Skill] … Triggers:frontmatter).AGENTS.md— registered the skill in the skills table.Provenance
Derived from the
mirror_bootstrap0623triage round (azl-infra draft PR #27888; 34-package retest all passed). Self-contained — includes theazl-infraclone URL so an agent without the repo cloned knows where to get it.