Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Optimize Build Jobs

オープン
#365 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp

調査の方向性

具体的なファイル、ワークフロー、テストは指定されていません。まず CI のビルドジョブと関連する Labs-Windows および Tooling-Submodule の issue を確認し、現在の 90 分間の WinUI2 ビルドを把握してください。完了とは、パッケージ、テスト、プラットフォーム、変更検出、スモークテストの作業が独立してスケジュールされ、より速いフィードバックが得られる状態を意味します。

索引モデルが issue の本文から書いたものです。

説明

bug :bug: build :fire: CI/pipeline 🔬 dev loop ➰
Describe the bug

Currently our WinUI2 build is taking like 90 minutes... 😟

We should split things up to ensure we can have quicker response times on feedback for the CI.

Related issues CommunityToolkit/Labs-Windows#66, CommunityToolkit/Labs-Windows#133, CommunityToolkit/Tooling-Submodule#9, (and CommunityToolkit/Tooling-Submodule#6)

We can try and mitigate this in a few ways:

  • Split up building experiments as NuGet packages from rest of build, this does a few things:
    • Means we can have them as a separate dependent job
    • Only build them once
    • Include as artifacts to the build
    • Run tests on them independently
    • In PR, If tests pass, push to a nuget feed so they can be poked while rest of CI builds still more quickly
  • Use NuGet packages vs. ProjectReferences in the CI lets us: (ties into CommunityToolkit/Labs-Windows#133)
    • Separate tests out as an independent job for quicker results
    • Separate matrix for each runtime and platform's sample app to build independently as a separate job
      • Hopefully, reduces Memory pressure on CI for CommunityToolkit/Tooling-Submodule#9
  • Detect which things have changed (#66)
    • Only build the new-experiment job if the common/template folders or root config files have changed
    • Have a job which only builds the solution for the experiment(s) that have been modified
      • Only update NuGet package(s) of changed experiments
    • Have a job which builds/tests the infrastructure of labs vs. doing that along with other jobs (if any of it has been touched)
  • Smoke Tests - Check packages work on target frameworks (with NuGet packages and scoping above)
    • with new uno templates from dotnet new (Uno.UI & Uno.WinUI)
    • with new base UWP/WinAppSDK templates
    • Check binary package size changes (i.e. measure footprint)
Steps to reproduce
Run build...
Expected behavior

Faster feedback

Screenshots

No response

Code Platform
  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)
Other Windows Build number

No response

App minimum and target SDK version
  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)
Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

No response

Additional context

No response

Help us help you

Yes, but only if others can assist.

主要言語
C#
スター
485
フォーク
89
平均マージ
1日 11時間
マージ済み PR(30日)
3

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/Labs-Windows のほかの issue

CommunityToolkit/Labs-Windows の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。