fix: controller 자체 갱신의 PM2 인자 복구

daemon 기본 명령을 사용해 PM2가 단일 인자 배열을 JSON 문자열로 전달하는 운영 오류를 피한다.
This commit is contained in:
2026-08-20 02:33:36 +00:00
parent 42f390a163
commit fafe4909dc
2 changed files with 3 additions and 2 deletions
@@ -445,8 +445,8 @@ describe('upgradeReleaseController', () => {
expect(starts.at(-1)).toMatchObject({
name: 'sammo:release-controller',
cwd: path.join(workspace, 'app', 'release-controller'),
args: ['daemon'],
});
expect(starts.at(-1)?.args).toBeUndefined();
});
it('restores the old controller definition when the new daemon cannot start', async () => {