feat: update codex live runtime and restart flow
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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('지원하지 않는 서버 키입니다.');
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user