Skip to content

Adapt bumble.py for LAVA conversation view - #2317

Merged
abrignoni merged 4 commits into
abrignoni:mainfrom
frahmco:feat/bumble-lava-messages
Oct 14, 2026
Merged

abrignoni merged 4 commits into
abrignoni:mainfrom
frahmco:feat/bumble-lava-messages

Conversation

@frahmco

@frahmco frahmco commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Partial solution for #1254. Adapts Bumble messages for LAVA conversation view.

This adds 1 column to the bumbleMessages table. The conversations are grouped by the "collection" column in the "database2" table in "Chat.sqlite". This column is used as the conversation discriminator.

The change was ran against the original test images for the artifact (abe_ios16 and jess_ios15). Both ran without issue.

The UIDs for the chat participants are quite long, and in some cases, LAVA did not appear to slice them into 2 lines correctly, but sometimes it did. I'm not sure if this is an issue with this artifact or with the LAVA display. All of the conversations appeared to be correct.

What this changes

  • Adds LAVA "data_views" to bumbleMessages artifacts.
  • Adds "Collection" data header
  • Adds the row "collection" to SELECT statement on Chat.sqlite
  • Adds "row[1]" to data list (collection data)
  • Adjusts row indexes by 1 for data list entries for "Message Direction" and "Message Read"

For a new or changed artifact

  • Ran the tool against a real extraction and confirmed the row counts, not just that it imports.
  • Ran python admin/scripts/check_artifact_output.py <report folder> on that report and fixed or documented every finding. An empty or constant column is often a real result (no group chats, coarse location denied); the fix for those is a sentence in the artifact's notes naming the column and saying it was empty or uniform, which is also what stops the checker reporting it.
  • Checked it against a second app data directory where the platform provides one (a second user, account, or container). --compare <multi-container report> reads the scaling for you: it should be exactly double.
  • notes, description and sample_data say only what the data shows, and the numbers were re-derived from the finished run.

Adds LAVA "data_views" to bumbleMessages artifacts.
Adds "Collection" data header
Adds the row "collection" to SELECT statement on Chat.sqlite
Adds "row[1]" to data list (collection data)
Adjusts row indexes for data list entries for "Message Direction" and "Message Read"
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Thanks for the contribution!

The changed artifact modules cite public research images in their sample_data, so a maintainer can generate the test fixtures from those images. Nothing is needed from you, though you are welcome to add the fixtures yourself with admin/test/scripts/make_test_data.py.

  • bumble.py: cites abe_ios16; a maintainer can generate the fixture.

@github-actions github-actions Bot added the fixture-needed Cites a public image; a maintainer can generate the fixture label Oct 1, 2026
frahmco and others added 3 commits October 1, 2026 14:42
Fix header order to comply with standard (and data_list order)
Change query order so that data_list row[] indices are in order
Add a notes sentence for the new Collection column, note that Created and
Modified Timestamp matched on both test images, say the timestamp unit comes
from the value's size, bump last_update_date and remove trailing whitespace.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 71ba774 into abrignoni:main Oct 14, 2026
11 checks passed
@frahmco
frahmco deleted the feat/bumble-lava-messages branch October 27, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixture-needed Cites a public image; a maintainer can generate the fixture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants