Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented Dec 23, 2025

  • Improved stacktrace parsing to handle frames that omit a line number (e.g. (Unknown), (Unknown Source), (Foo.java)) by treating them as line 0 so they can be retraced.
  • Enhanced retracing behavior for unknown-line frames:
    • Prefer base (no-line) mappings when the stacktrace frame has no line info.
    • Still prefer line-specific mappings when a concrete line is present (skipping 0:0 / base entries appropriately).
    • Added best-effort class remapping even when the method name isn’t mapped (replicates symbolicator behaviour -- we can probably ditch it from symbolicator once this is shipped)
  • Aligned cache behavior with mapper behavior:
    • Cache serialization no longer drops base/no-line member mappings (instead, we check it during remapping)
    • Cache remapping now mirrors mapper rules for unknown-line frames (including deduplication)

The tests in #71 should pass with this PR

@romtsn romtsn changed the title feat(r8-tests): Add R8 ambiguous tests fix(r8-tests): Correctly handle no-line mappings Dec 23, 2025
@romtsn romtsn requested a review from loewenheim December 23, 2025 11:35
@romtsn romtsn force-pushed the rz/fix/r8-tests-ambiguous-no-line branch from 07dbf0f to 59a8dd7 Compare December 23, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants