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

ci: add ASan coverage for hook-built native assets

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

メンテナーはふだん 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 cli support 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

環境構築

はじめの一歩

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

google/webcrypto.dart のほかの issue

google/webcrypto.dart の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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