Skip to content

Improve source-build investigation guidance - #9500

Merged
mthalman merged 2 commits into
mainfrom
mthalman-source-build-skill-docs-only
Sep 21, 2026
Merged

mthalman merged 2 commits into
mainfrom
mthalman-source-build-skill-docs-only

Conversation

@mthalman

Copy link
Copy Markdown
Member

Problem

The source-build investigation skill focused on CI and lacked guidance for several common investigations, including local failures, package-version precedence, bootstrap input mismatches, faithful build comparisons, and reproductions.

Description

Expand the skill to:

  • support local VMR builds as well as SB_* CI legs;
  • distinguish previous-source-built SDK legs from stage-two builds;
  • document outer and per-repository binlog evidence;
  • explain generated package-version import precedence and provenance;
  • define reliable passing/failing build comparisons;
  • add an app-independent reproduction workflow;
  • clarify poison initialization and completed-output checks; and
  • link canonical source-build documentation for foundational concepts.

The change also corrects the description of when prebuilt and poison checks run.

@mthalman
mthalman requested review from a team as code owners September 18, 2026 15:17
Copilot AI lite review requested due to automatic review settings September 18, 2026 15:17
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No approval-blocking issues were identified; the remaining nit is non-blocking.

Pull request overview

Expands source-build investigation guidance for local and CI VMR builds, including diagnostics, reproductions, and package-version tracing.

Changes:

  • Adds binlog, bootstrap, poison-check, and build-comparison guidance.
  • Clarifies stage distinctions and generated package-version precedence.
  • Links canonical source-build documentation.
File summaries
File Description
.github/skills/source-build-investigation/SKILL.md Expands source-build troubleshooting procedures and references.
Review details

Suppressed comments (1)

.github/skills/source-build-investigation/SKILL.md:70

  • This dependency description is not true for all stage-2 legs: the pipeline also defines Fedora's SB_{0}_Offline_CurrentSourceBuiltSdk to reuse SB_{0}_Offline_MsftSdk_x64 (and the Mono stage-2 leg reuses its offline Microsoft-SDK leg), not Online_MsftSdk_x64 (eng/pipelines/templates/stages/source-build-stages.yml:102-114,253-264). Investigators following this rule can download the wrong bootstrap artifacts; describe the CentOS pairing as an example and direct readers to the leg's actual reuseBuildArtifactsFrom value.
- Stage 1 legs: `SB_<distro>_Online_MsftSdk_x64` — builds using the Microsoft SDK
- Previous-source-built SDK legs: `SB_<distro>_<mode>_PreviousSourceBuiltSdk` — use the previously published SDK and PSB.
- Stage 2 legs: `SB_<distro>_Offline_CurrentSourceBuiltSdk` — rebuilds using the SDK from stage 1

Stage 2 legs have `reuseBuildArtifactsFrom` set to their corresponding stage 1 leg (e.g., `SB_CentOSStream10_Offline_CurrentSourceBuiltSdk` depends on `SB_CentOSStream10_Online_MsftSdk_x64`).
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@mthalman
mthalman requested a review from lbussell September 18, 2026 15:28
@mthalman
mthalman merged commit 3cd9284 into main Sep 21, 2026
2 checks passed
@mthalman
mthalman deleted the mthalman-source-build-skill-docs-only branch September 21, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants