DebugInformationFile doesn't contain 'kind' field what causes deobfuscation errors
Description
On self-hosted GlitchTip instance, Project type Android (reports source - Kotlin application) backend logic cannot process deobfuscation due non existing field "kind" in difs_debuginformationfile table, data column.
What did you expect to happen?
Submitted by Kotlin application report successfully deobfuscated and developers can read full stacktrace.
What happened instead?
Submitted by Kotlin application report doesn't deobfuscated and developers cannot read full stacktrace.
Steps to Reproduce
- Generate Proguard Mapping by Minify (R8), obfuscation process
- Execute command like
.\gradlew :app:uploadSentryProguardMappingsRelease --console=plainwith pre-installed environment which will process all following requests to self-hosted instance, not Google Sentry - Check that debug symbols was uploaded
- Initiate crash or ANR of Kotlin application to trigger report sending
- Check that arrived report contains obfuscated data
Proposed Solution / Resolution
With python /code/manage.py shell, I'm apply WA with manual patching difs_debuginformationfile PostgreSQL table.
Before patching:
id | created | name | data | file_id | project_id
----+-------------------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+---------+------------
4 | 2026-08-11 22:12:19.207783+00 | proguard/1b92cb21-1a20-9dd7-b3ac-c21cda6a3466.txt | {"arch": "any", "debug_id": "1b92cb21-1a20-9dd7-b3ac-c21cda6a3466", "features": ["mapping"], "symbol_type": "proguard"} | 4 | 1After patching:
id | created | name | data | file_id | project_id
----+-------------------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------+---------+------------
4 | 2026-08-11 22:12:19.207783+00 | proguard/1b92cb21-1a20-9dd7-b3ac-c21cda6a3466.txt | {"arch": "any", "kind": "debug", "debug_id": "1b92cb21-1a20-9dd7-b3ac-c21cda6a3466", "features": ["mapping"], "symbol_type": "proguard"} | 4 | 1As you see, data column was edited by adding "kind" field with value "debug". After that, all subsequent report successfully deobfuscated and contains all important data for developers.
For permanent fix, we can apply following patch:
diff --git a/apps/difs/api.py b/apps/difs/api.py
@@
dif.data = {
"arch": metadata["arch"],
+ "kind": "debug",
"debug_id": normalize_debug_id(proguard_id),
"symbol_type": "proguard",
"features": ["mapping"],
}- I will investigate and submit a Merge Request.
- I am reporting this for the community. (I understand a fix depends on maintainer availability).