android_local_test: per-test uncompressed deploy jar greatly increases output size

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

メンテナーはふだん 6 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, java

調査の方向性

Start by reviewing commit c4c120e and the android_local_test rule changes that build and add the uncompressed _deploy.jar to runfiles. Compare the produced output size before and after that change, then trace which test artifacts are needed at runtime. Done when android_local_test no longer produces the reported output size increase while retaining its required runtime behavior.

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

説明

Since c4c120e, every android_local_test builds an uncompressed _deploy.jar and adds it to its runfiles. This increased the output size produced by the test rule (example from our repo: it went from 20MB to almost 600MB).

Slack thread: https://bazelbuild.slack.com/archives/C04BWPKHMUG/p1792393549189219

主要言語
Java
スター
205
フォーク
113
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

bazelbuild/rules_android のほかの issue

bazelbuild/rules_android の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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