Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/server/src/routes/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,9 @@ export async function registerReleaseRoutes(
}
pendingMigrationManifests = evaluation.pending.map((m) => m.manifest);
} catch (err) {
const message = err instanceof Error ? err.message : String(err);
console.warn(
`[release/assisted/launch] migration evaluation failed for ${body.tag}, falling back to legacy metadata: ${message}`
request.log.warn(
{ tag: body.tag, err },
"Migration evaluation failed, falling back to legacy metadata"
);
}

Expand Down
10 changes: 6 additions & 4 deletions apps/server/src/server/agent-lifecycle-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ export function createAgentLifecycleRuntime(
if (archivingAgentIds.has(agent.id)) {
continue;
}
console.log(
`[reconcile] Agent ${agent.id} (${agent.name}) resuming interrupted archive`
appLog.info(
{ agentId: agent.id, agentName: agent.name },
"Resuming interrupted archive"
);
publishUiEvent({
type: "agent.upsert",
Expand Down Expand Up @@ -136,8 +137,9 @@ export function createAgentLifecycleRuntime(
});
trackArchive(agent.id, archivePromise);
} else {
console.log(
`[reconcile] Agent ${agent.id} (${agent.name}) status corrected to stopped`
appLog.info(
{ agentId: agent.id, agentName: agent.name },
"Agent status corrected to stopped"
);
publishUiEvent({
type: "agent.upsert",
Expand Down
Loading