Worked test reports

Regression report for an offline draft overwritten on reconnect

After reconnect, retain the draft with the newest revision. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

Does a user lose their newest edit when the connection returns?

The original implementation failed the “Local has newer edit” check. Expected 4 and observed 3. The corrected implementation met both expectations on the same inputs.

What the control case missed

The first check has a newer remote revision so a remote-wins strategy passes. During an offline edit the local revision advances beyond the remote version. On reconnect, the same strategy loses the latest work.

Observed values from the two implementations
CheckExpectedOriginalCorrected
Remote is newer333
Local has newer edit434

What to check before merging

Resolve version ordering before writing remote state over a draft. A single increasing revision works for this model. Concurrent edits on different devices also need conflict resolution or an explicit user choice.

Reproduce the recorded result

Download the Node.js fixture and run node run.mjs offline-draft-sync with Node.js 24. Compare the printed JSON with the recorded results. This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.