dokploy/packages/server
Guillaume Juge 2311f346d4 fix(dns): do not report a restored OVH record as lost
restoreRecord had the restore POST and its zone refresh inside one catch. That
was harmless while refreshZone swallowed failures, but the previous commit made
it throw, which brought a new case into that catch: the restore succeeds and
only the publication fails.

The message then told the user the record "has been deleted" and to recreate it
by hand. It exists at OVH, just unpublished, so following that advice duplicates
it as soon as the zone is refreshed.

The two failures are now reported separately. A failed POST still means the
record is really gone and prints what to recreate. A failed refresh after a
successful restore says the record is back but not served yet, and explicitly
says not to recreate it. Either way the original replacement error is kept, so
the user still learns why the type change failed.

Reported by Greptile on #5258.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-05 11:19:26 +02:00
..
scripts fix(server): update build paths 2024-10-26 15:48:30 -06:00
src fix(dns): do not report a restored OVH record as lost 2026-09-05 11:19:26 +02:00
auth-schema2.ts feat(scim): implement SCIM 2.0 user provisioning support 2026-07-08 14:06:22 -06:00
auth-schema.ts Refactor user schema and update database references: rename 'users_temp' to 'user' across the codebase, update related database queries, and enhance endpoint specifications for swarm settings in various database schemas. 2025-11-08 13:54:32 -06:00
esbuild.config.ts Refactor and update various components in the Dokploy application, enhancing functionality and fixing minor issues across multiple pages and features, including dashboard, settings, and API integrations. 2025-08-16 20:18:08 -06:00
package.json chore(deps): bump nanoid 2026-09-02 21:35:43 +00:00
tsconfig.json feat: upgrade to TypeScript 7 and Next.js 16.3 2026-08-11 01:39:09 -06:00
tsconfig.server.json feat: upgrade to TypeScript 7 and Next.js 16.3 2026-08-11 01:39:09 -06:00
tsconfig.server.no-decl.json [autofix.ci] apply automated fixes 2026-02-16 18:51:10 +00:00