Skip to content

Drop legacy ArtifactHtmlReport from 7 Chromium artifacts#861

Merged
abrignoni merged 1 commit into
mainfrom
convert-chromium-batch
Jun 22, 2026
Merged

Drop legacy ArtifactHtmlReport from 7 Chromium artifacts#861
abrignoni merged 1 commit into
mainfrom
convert-chromium-batch

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Removes the legacy ArtifactHtmlReport dependency from seven Chromium artifacts that were in a hybrid state.

The hybrid problem
Each of these was already @artifact_processor-decorated and returned a consolidated result (all browsers + a Browser Name discriminator column). But inside the loop they also redundantly:

  • built a per-browser ArtifactHtmlReport (with get_next_unused_name/.temphtml dynamic naming), and
  • made manual lava_process_artifact + lava_insert_sqlite_data calls creating a separate per-browser LAVA table.

The @artifact_processor wrapper (scripts/ilapfuncs.py) already generates HTML, TSV, timeline, and LAVA from the returned (data_headers, data_list, source_path). So the manual blocks just produced duplicate per-browser tables/reports alongside the consolidated one.

Change
Removed the redundant per-browser report + manual LAVA blocks (and now-unused imports) from:
chromeNetworkActionPredictor, chromeTopSites, chromeOfflinePages, chromeBookmarks, chromeCookies, chromeDIPS, chromeLoginData.

Each now emits a single consolidated LAVA table + HTML report with the Browser Name column — the standard consolidation pattern. No change to parsing, SQL, timestamp conversion, or the returned data.

Verification

  • All 7 compile; pylint clean (-d C,R); no leftover ArtifactHtmlReport/lava_process_artifact/lava_insert_sqlite_data/get_next_unused_name references.
  • PluginLoader loads 494 with all 7 functions present.

These artifacts were already @artifact_processor-decorated and returned a
consolidated (all-browsers + Browser Name) result, but ALSO redundantly
built a per-browser ArtifactHtmlReport and made manual
lava_process_artifact/lava_insert_sqlite_data calls inside the loop. The
decorator's wrapper already generates HTML/TSV/timeline/LAVA from the
returned data, so the manual blocks produced duplicate per-browser tables
and reports.

Removed the redundant per-browser report + manual LAVA blocks (and the
now-unused imports) from: chromeNetworkActionPredictor, chromeTopSites,
chromeOfflinePages, chromeBookmarks, chromeCookies, chromeDIPS,
chromeLoginData. Each now emits a single consolidated LAVA table + HTML
report with the Browser Name discriminator column. No change to parsing,
queries, timestamp handling, or returned data.
@abrignoni abrignoni merged commit 8b59390 into main Jun 22, 2026
2 checks passed
@abrignoni abrignoni deleted the convert-chromium-batch branch June 22, 2026 13:01
stark4n6 pushed a commit to stark4n6/ALEAPP that referenced this pull request Jun 22, 2026
Same hybrid cleanup as abrignoni#861: both were already @artifact_processor-decorated
and returned consolidated (all-browsers + Browser Name) data, but also
redundantly built per-browser ArtifactHtmlReport reports and manual
lava_process_artifact/lava_insert_sqlite_data tables (chromeAutofill via an
_emit_report helper, chromeMediaHistory inline in each of its 3 functions).

Removed the redundant per-browser report + manual LAVA blocks (and now-unused
imports). Each artifact now emits a single consolidated LAVA table + HTML
report with the Browser Name discriminator. No change to parsing, SQL,
timestamp handling, or returned data.
stark4n6 pushed a commit to stark4n6/ALEAPP that referenced this pull request Jun 22, 2026
…ule)

Same hybrid cleanup as abrignoni#861/abrignoni#872: the 5 functions (get_chrome,
get_chromeWebVisits, get_chromeSearchTerms, get_chromeDownloads,
get_chromeKeywordSearchTerms) were already @artifact_processor and returned
consolidated (Browser Name) data, but also redundantly built per-browser
ArtifactHtmlReport reports + manual lava tables via an _emit helper.

Removed _emit and its 5 calls and the now-unused imports. Left
get_browser_name, _history_files, and _webkit_to_utc untouched --
get_browser_name is imported by 9 other Chromium artifacts. No change to
parsing, SQL, timestamps, or returned data.
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.

1 participant