Open jldec opened 1 month ago
select
* // <-- actual set of messages
from message
where messageId in (
select
messageId // <-- reactive list of reports producing messages that match
from reportsView
where lintRuleId = 'dublicated-pattern'
)
While we won't store the report results we will need to have there state in memory to keep track of the signals/events we need to trigger.
Lint rules are scheduled and evaluated by the sdk.
This issue aims to capture the requirements for a lint report scheduler such that lint reports behave nicely (don't overwhelm the CPU or hog the event loop) while still meeting expectations of delivering correct and up-to-date reports.
additional context in:
Requirements
cc: @martin.lysk1 (please comment in the main GH thread)