Skip to content

Bug 2091782 - add claude skill for retrace. - #443

Open
pollym wants to merge 1 commit into
mozilla-firefox:autolandfrom
pollym:claude-skill-for-retrace
Open

pollym wants to merge 1 commit into
mozilla-firefox:autolandfrom
pollym:claude-skill-for-retrace

Conversation

@pollym

@pollym pollym commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

This will make it easier to get the original stack trace out from a crash report.

updated image showing claude session with separate retrace skill

Currently verified:

  • running the python script locally
  • using the skill locally

Now the obfuscation change has landed in nightly, have also verified

  • decoding a real socorro crash
  • the play console fallback route for getting hold of an .aab

Lando: link
Bugzilla: bug 2091782

⚠️ This pull request has 6 warnings.
🚫 This pull request has 1 blocker.

@lando-web
lando-web Bot requested a review from a team November 11, 2026 17:01
@pollym
pollym marked this pull request as draft November 11, 2026 17:01
@pollym
pollym force-pushed the claude-skill-for-retrace branch 2 times, most recently from e8f7a94 to 359d564 Compare November 11, 2026 17:15
Comment thread .agents/skills/android/SKILL.md Outdated
---
name: android
description: Workflow guide when working with Android builds or the mobile/ directory.
description: Workflow guide when working with Android builds or the mobile/ directory, or decoding (retracing) an R8-optimised or obfuscated Fenix or Focus stack trace.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given it's not something that needs to be done as frequently as most other Android dev tasks, I'd write a separate skill for this, or even a plugin.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i have pulled it out as a separate skill because i think this will be a very common task (whenever someone is investigating a crash) and I want it to be as discoverable as possible.
i tested that claude could find it without using the word 'retrace'
image

very side note, but i wondered if the android skill should be renamed to android-dev or something, as android itself is a very broad church encompassing most aspects of my job 😅
just a thought

@pollym
pollym force-pushed the claude-skill-for-retrace branch from 359d564 to 4b95b18 Compare November 12, 2026 10:33

@mozilla-code-review mozilla-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 build or test issues have been found in this revision.

5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp(92,23): error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255

@mozilla-code-review mozilla-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 build or test issues have been found in this revision.

5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp(92,23): error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255
5 error lines from the log
/builds/worker/checkouts/gecko/dom/base/DOMIntersectionObserver.cpp:92:23: error: no viable conversion from 'const mozilla::dom::binding_detail::ECMAMapEntry<mozilla::dom::Element *, int>' to 'const Element *'
'mach build -v' did not run successfully. Please check log for errors.
Running post_fatal callback...
Exiting -1
[taskcluster:error] exit status 255

@pollym
pollym marked this pull request as ready for review November 12, 2026 13:20
@lando-web
lando-web Bot requested a review from a team November 12, 2026 13:21
@pollym
pollym requested a review from marco-c November 12, 2026 14:25
This will make it easier for agents to get the original stack trace out from a crash report.
@pollym
pollym force-pushed the claude-skill-for-retrace branch from 4b95b18 to f16fcee Compare November 13, 2026 15:57

This branch has not been deployed

No deployments
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