Optimize Build Jobs
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- build-system, ci-cd
調査の方向性
具体的なファイル、ワークフロー、テストは指定されていません。まず CI のビルドジョブと関連する Labs-Windows および Tooling-Submodule の issue を確認し、現在の 90 分間の WinUI2 ビルドを把握してください。完了とは、パッケージ、テスト、プラットフォーム、変更検出、スモークテストの作業が独立してスケジュールされ、より速いフィードバックが得られる状態を意味します。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommunityToolkit/Labs-Windows のほかの issue
-
bug :bug:
難易度 1/5 1〜3時間 初心者へのやさしさ 80/100
CommunityToolkit/Labs-Windows#815 ·
-
bug :bug:
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
CommunityToolkit/Labs-Windows#816 ·
-
bug :bug:
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
CommunityToolkit/Labs-Windows#814 ·
-
experiment :test_tube:
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CommunityToolkit/Labs-Windows#812 ·
-
ux :paintbrush:
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
CommunityToolkit/Labs-Windows#808 · コメント 1 件 ·
CommunityToolkit/Labs-Windows の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
HicServices/RDMP#2398 ·
-
is:bug is:FQNIssue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nunit/nunit3-vs-adapter#1527 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightscout/nocturne#2840 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fluentmigrator/fluentmigrator#2424 ·