dokploy/apps
Narciso cee950b6c8 fix(test): wait for swarm convergence before idempotency re-check
setupMonitoring's "is idempotent" test calls it twice back to back.
Swarm keeps converging a freshly created service (scheduling tasks,
resolving endpoints), which bumps Version.Index on its own shortly
after creation. If that bump lands between the second call's inspect()
and update(), Docker rejects it with "update out of sequence" even
though nothing else touched the service.

This never happens in production — setupMonitoring is only triggered
by a UI button click or once during server setup, both far enough
apart in wall-clock time for Swarm to settle. So the fix stays in the
test: wait for two consecutive Version.Index reads to agree before
making the second call.
2026-08-31 16:38:20 -04:00
..
api feat: upgrade to TypeScript 7 and Next.js 16.3 2026-08-11 01:39:09 -06:00
dokploy fix(test): wait for swarm convergence before idempotency re-check 2026-08-31 16:38:20 -04:00
monitoring fix: enhance container metrics query to support wildcard matching for container names 2026-03-08 16:16:45 -06:00
schedules feat: upgrade to TypeScript 7 and Next.js 16.3 2026-08-11 01:39:09 -06:00