Skip to content

Convert scontextLog, usageHistory, burnerSubscription, burnerContacts to LAVA @artifact_processor#750

Merged
abrignoni merged 1 commit into
mainfrom
lava-batch-11
Jun 19, 2026
Merged

Convert scontextLog, usageHistory, burnerSubscription, burnerContacts to LAVA @artifact_processor#750
abrignoni merged 1 commit into
mainfrom
lava-batch-11

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Converts four more parsers to the LAVA @artifact_processor pattern.

  • scontextLogstarttime/stoptime selected raw and converted to aware UTC (replacing SQL datetime(...,'UNIXEPOCH')); both marked datetime, preserving the >0 guard.
  • usageHistorylrt converted from epoch-ms to aware UTC (replacing utcfromtimestamp); non-numeric/blank values now normalized to '' instead of a stray space; Timestamp marked datetime. Fixed latent E0602 (logfunc was used but never imported — that path is now removed).
  • burnerSubscriptioncreationDate/renewalDate json-extracted raw and converted to aware UTC; Timestamp/Renewal Date marked datetime. Fixed paths (was a bare string, not a 1-tuple → glob iterated char-by-char).
  • burnerContacts — flat conversion; Phone Number marked phonenumber; same paths tuple fix.

Verified: byte-compile, decorated 4-arg signature, returns 3-tuple, output_types valid, paths are tuples, loader resolves, pylint (W1514/unused/errors) clean.

@abrignoni abrignoni merged commit b1537ca into main Jun 19, 2026
1 check passed
@abrignoni abrignoni deleted the lava-batch-11 branch June 19, 2026 22:27
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