Skip to the content.

Production trial

Before you rely on SyncLane, run one real integration with it for 30 days. This page is the checklist for that trial: what to set up, what to break on purpose, what to watch and when to stop.

Before the first run

Drills, in the first week

Run each once and write down what happened.

Drill How Expected
Graceful stop Stop the app while a job is running. The job is pending again with its cursor; the log says it was handed back.
Crash kill -9 the process while a job is running. After LeaseDuration another instance (or the restarted one) takes the job and continues from the cursor. lease_lost stays at zero.
Rolling deploy Deploy a new build one instance at a time while jobs run. No job runs twice at once; no migration error.
Two instances Run two instances against the same table for a day. Every job is created once; never two running jobs in one lane.
Provider outage Point one account at a wrong host for an hour. Its jobs fail, back off, defer and finally abandon. Other accounts are not slowed down. Requeue brings it back from the cursor.
Revoked access Revoke one account’s token. Its jobs end abandoned after one attempt if the handler throws JobAbandonedException.

Every day

One query and one look at the dashboard:

SELECT status, count(*)
FROM synclane.jobs
WHERE updated_at > now() - interval '1 day'
GROUP BY status;

Keep a log

One line per incident in a file next to the integration: date, what happened, which job ids, what fixed it, and whether it was SyncLane’s fault, the handler’s or the provider’s. The log is what tells you, at the end, whether SyncLane is ready for the next integration.

Exit: the trial is done when

Stop: pause new features when

Any of these is a bug in the core. Fix it, add a test that reproduces it, and restart the 30 days.