feat: update codex live runtime and restart flow

This commit is contained in:
2026-04-23 18:10:43 +09:00
parent b0b9980a6c
commit 6e863feafd
36 changed files with 1636 additions and 358 deletions

View File

@@ -108,6 +108,7 @@ export function ServerCommandPage() {
const [lastActionByKey, setLastActionByKey] = useState<Record<ServerCommandKey, LastActionInfo>>({
test: { output: null, executedAt: '', restartState: 'completed' },
rel: { output: null, executedAt: '', restartState: 'completed' },
prod: { output: null, executedAt: '', restartState: 'completed' },
'work-server': { output: null, executedAt: '', restartState: 'completed' },
'command-runner': { output: null, executedAt: '', restartState: 'completed' },
});
@@ -211,7 +212,7 @@ export function ServerCommandPage() {
Server Command
</Title>
<Paragraph className="server-command-page__copy">
TEST, REL, WORK-SERVER, COMMAND-RUNNER .
TEST, REL, PROD, WORK-SERVER, COMMAND-RUNNER .
</Paragraph>
<Row gutter={[12, 12]} className="server-command-page__summary-grid">
<Col xs={12} md={6}>

View File

@@ -129,7 +129,7 @@ function normalizeServerCommandItem(value: unknown): ServerCommandItem {
const item = value as Partial<Record<keyof ServerCommandItem, unknown>>;
const key = typeof item.key === 'string' ? item.key : '';
if (key !== 'test' && key !== 'rel' && key !== 'work-server' && key !== 'command-runner') {
if (key !== 'test' && key !== 'rel' && key !== 'prod' && key !== 'work-server' && key !== 'command-runner') {
throw new Error('지원하지 않는 서버 키입니다.');
}

View File

@@ -1,4 +1,4 @@
export type ServerCommandKey = 'test' | 'rel' | 'work-server' | 'command-runner';
export type ServerCommandKey = 'test' | 'rel' | 'prod' | 'work-server' | 'command-runner';
export type ServerCommandItem = {
key: ServerCommandKey;