TODO Work Items
TODO (STOPSHIP until done)
- Add a log file that tracks status of recent compilation.
- Implement back off on trying compilation when previous attempt(s) failed.
- Free space calculation and only attempting compilation if sufficient space.
- Metrics for tracking issues:
- Successful compilation of all artifacts.
- Time limit exceeded (indicates a pathological issue, e.g. dex2oat bug, device driver bug, etc).
- Insufficient space for compilation.
- Compilation failure (boot extensions)
- Compilation failure (system server)
- Unexpected error (a setup or clean-up action failed).
- Metrics recording for subprocess timeouts.
- Decide and implement testing.
DONE
- Fix dexoptanalyzer so it can analyze boot extensions.
- Parse apex-info-list.xml into an apex_info (to make version and location available).
- Timeouts for pathological failures.