Convert chromeAutofill to LAVA @artifact_processor (multi-browser) by abrignoni · Pull Request #768 · abrignoni/ALEAPP · GitHub
Skip to content

Convert chromeAutofill to LAVA @artifact_processor (multi-browser) - #768

Merged
abrignoni merged 1 commit into
mainfrom
lava-batch-28
Jun 20, 2026
Merged

abrignoni merged 1 commit into
mainfrom
lava-batch-28

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Converts the Chromium autofill parser to the LAVA @artifact_processor pattern, following the multi-browser approach (per-browser HTML + per-browser LAVA table + combined return with a Browser Name column).

  • Split the original single function into two decorated artifacts: Chrome Autofill - Entries and Chrome Autofill - Profiles.
  • Entries: normalized the two schema variants (with/without date_created/date_last_used) to a consistent 5-column shape — older schema gets Date Last Used = ''. Date Created/Date Last Used raw → aware UTC datetime (replacing SQL datetime(...,'unixepoch')).
  • Profiles: Date Modified/Date Last Used raw → aware UTC datetime; Phone Number marked phonenumber.
  • Switched to open_sqlite_db_readonly; shared report/LAVA emission via a small helper.

Verified: byte-compile, both functions decorated with 4-arg signature, return 3-tuples, output_types valid, loader resolves both, uses the same lava_process_artifact/lava_insert_sqlite_data per-browser pattern as chromeBookmarks, pylint clean.

@abrignoni
abrignoni merged commit a8aeef7 into main Jun 20, 2026
1 check passed
@abrignoni
abrignoni deleted the lava-batch-28 branch June 20, 2026 03:26
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