fix(cron): restore isolated delivery defaults

This commit is contained in:
Peter Steinberger
2026-03-08 00:18:31 +00:00
parent 8a469a12b2
commit 4e07bdbdfd
7 changed files with 342 additions and 11 deletions

View File

@@ -288,6 +288,9 @@ export async function runServiceRestart(params: {
cfg,
env: process.env,
modeOverride: "local",
// Drift checks should compare the persisted gateway token against the
// service token, not let an exported shell env mask config drift.
localTokenPrecedence: "config-first",
}).token;
const driftIssue = checkTokenDrift({ serviceToken, configToken });
if (driftIssue) {