ruler icon indicating copy to clipboard operation
ruler copied to clipboard

HTML Insights page broken in beta version

Open cckroets opened this issue 11 months ago • 0 comments

Current behavior

After upgrading to Ruler 2.0.0-beta-1 (to use with AGP 8.3), the Ruler Insights page shows an error:

Unexpected Application Error!
Cannot read properties of undefined (reading 'plus_u6jwas_k$')
TypeError: Cannot read properties of undefined (reading 'plus_u6jwas_k$')
    at ae (file:///.../ruler/sample/app/build/reports/ruler/release/report.html:25:2095642)

Not sure if this is a known issue with the current beta version, but its the only version that supports AGP 8.3 which is why I'm using it.

Expected behavior

  • Render Insights page without error

Steps to reproduce

  • Build ruler repo
  • Run ./gradlew analyzeReleaseBundle
  • Open ruler/sample/app/build/reports/ruler/release/report.html
  • Click on Insights
  • Observe error in HTML page

Versions

Broken with: Ruler: 2.0.0-beta-1 Worked in at least Ruler: 2.0.0-alpha-3

Anything else?

Note that I do not have bloaty installed

cckroets avatar Mar 27 '24 16:03 cckroets