bazelbuild / bazelbuild/rules_apple
[rules_apple][bundling] `ios_*_test` macho bundle duplicated - 2x disk size / redundant proessing
Open
- Dominant language
- Starlark
- Stars
- 593
- Forks
- 334
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 9
Description
Given a rules_apple based test bundle - we're facing 2x copies of the macho bundle files. In a repo with 1k tests with hundreds of mb in each test bundle, halving this is a non trivial win.
Note: is orthogonal to https://github.com/bazel-ios/rules_ios/issues/542
Contributor guide
Research direction
Start with the rules_apple-based ios_*_test bundle described in the issue and reproduce the duplicate Mach-O files. Trace the bundling entry point and compare where each copy is produced or consumed. Done means the test bundle contains one copy, disk usage is reduced, and existing Apple test-bundle behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100