ci: add ASan coverage for hook-built native assets
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 50/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- dart
- 領域
- ci-cd, testing-qa
調査の方向性
まず、既存の Valgrind ターゲットと FFI のメモリプレッシャー用ワークロードを見つけ、次に CI 設定と公開されている package:test 依存関係を確認します。ASan コマンドと native-asset のビルド動作を評価する前に、必要な package:test バージョンが利用可能であることを確認します。ASan Linux レーンが共有ワークロードを実行し、Valgrind レーンが維持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The upstream work needed to run hook-built native assets under sanitizer runtimes has landed:
- dart-lang/sdk#63690 added shared Linux CLI runtimes.
- dart-lang/test#2708 added
dart test -c clisupport for ASan, MSan, and TSan. - dart-lang/sdk#63987 added end-to-end SDK coverage using a hook-built native asset.
The remaining release dependency is a published package:test version containing dart-lang/test#2708. The change is currently on package:test master under 1.32.0-wip, while the latest published version still predates it.
Once that version is available:
- add a Linux ASan CI lane using
dart test -c cli -p vm-asan; - exercise the existing FFI memory-pressure workload through the public API;
- share the workload with the existing Valgrind target rather than duplicating it;
- keep the Valgrind lane, since it provides complementary coverage;
- force native assets to build from source if packaged prebuilts are enabled, so the native code is sanitizer-instrumented.
ASan should be the first lane. MSan and TSan can follow once the ASan job is stable and their runtime behavior has been evaluated.
- 主要言語
- Dart
- スター
- 116
- フォーク
- 110
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 1
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/webcrypto.dart のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/webcrypto.dart#419 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/webcrypto.dart#363 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
google/webcrypto.dart#422 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
google/webcrypto.dart#421 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
google/webcrypto.dart#415 ·
メンテナーはふだん 4 日以内に返信
google/webcrypto.dart の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
immich-app/immich#31955 ·
メンテナーはふだん 1 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluttercommunity/plus_plugins#3994 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Smart charging: USB charger re-assert is starved during BLE scans, so the tablet never dischargesオープンbug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
decentespresso/decaid#931 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
flame-engine/flame#4067 ·
メンテナーはふだん 1 日以内に返信