-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: audit msg.Timestamp, remove input of msg.Tags.Timestamp PE-7338 #293
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #293 +/- ##
========================================
Coverage 94.44% 94.44%
========================================
Files 10 10
Lines 2988 2988
========================================
Hits 2822 2822
Misses 166 166 ☔ View full report in Codecov by Sentry. |
src/main.lua
Outdated
--- @class ParsedMessage | ||
--- @field Id string | ||
--- @field From string | ||
--- @field Timestamp number | ||
--- @field Tags table<string, any> | ||
|
||
--- @param handlerName string | ||
--- @param pattern fun():string | ||
--- @param handleFn fun(msg: ParsedMessage) | ||
--- @param critical boolean? | ||
--- @param printEvent boolean? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will include ioEvent
src/main.lua
Outdated
@@ -553,7 +569,7 @@ end, function(msg) | |||
addSupplyData(msg.ioEvent) | |||
end | |||
|
|||
return prunedStateResult | |||
-- return prunedStateResult -- TODO: need to return? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appears tests work fine without returning here in prune. its the only function returning so the lua type annotations was calling it out -- will remove
No description provided.