You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Tech Scoping] CRON to be created to solve for backup of tickets #180
The bug of tickets from the community not showing up on our website in cases of old organizations has been identified. Details of the issue can be found [here].
After conducting an RCA, we decided to set up a CRON job to periodically push all available ticket information into our servers at a defined frequency (to be determined). This will serve as a backup mechanism to the existing webhooks and not as a replacement
Key Considerations:
CRON frequency: Identify an optimal schedule to balance data freshness with server load.
Data consistency: Ensure CRON jobs do not create duplicate entries or overwrite legitimate updates from the webhook.
Success Criteria:
Mechanism in place to differentiate tickets marked out of scope/'to be deleted' earlier by PT coming in with new CRON.
To Maintain a source-of-truth table to reconcile data discrepancies post CRON processing.
Logs to be added for all CRON runs - success and failures
changed the title [-]CRON to be created to solve for backup of tickets[/-][+][Tech Scoping] CRON to be created to solve for backup of tickets[/+]on Dec 19, 2024
Activity
karntrehan commentedon Dec 19, 2024
Tech flow:
Gotchas:
Rate limits.
Running: Once a day at 2 am IST
To be added to: https://github.com/Code4GovTech/server repo.
[-]CRON to be created to solve for backup of tickets[/-][+][Tech Scoping] CRON to be created to solve for backup of tickets[/+]Shreyash-work-em commentedon Jan 6, 2025
Updates -
tanishk2907 commentedon Jan 9, 2025
CRON report top be shared via discord (new updates channel to be setup in the C4GT server only visible to the c4gt core and engg team)
Can be shared for every run