ANTIGRAVITY LABJP
TAG

fencing token

1 articles
Back to all tags
Related:
background agents1Antigravity1distributed lock1operations1
Agents/2026-06-29Advanced

When Background Agents Run Twice — Stopping Double Execution with Leases and Fencing Tokens

The same scheduled job fires from two machines at once and they overwrite each other's output. Here is how to stop that failure mode at the root in Antigravity 2.0 background agents, using leases and fencing tokens, with working code.