Draft: Add Full & Partial Reconciliation Interval From Rails To Agent
Issue - #460416 (comment 1900197534)+
What does this MR do and why?
We add in validation on full & partial interval seconds, making sure no invalid data is leak into all downstreamings. This is down in the settings
module.
Also we pass in those 2 envs from settings
into reconcilation
flow, and send them to agent via our API.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before this, there is no validation on instance vars, which means the user could set potentially any values, which will cause other issues later
Incorrect input values, validation fails
Negative or Zero Full Interval
Negative or Zero Partial Interval
Partial greater or equal than Full
Full MR local test. We could see the new two fields are included into the response payload
When there is validation error with either fields, there would be runtime error raised, and no reconciliation happen
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.