chore: exclude local resource artifacts from main sync

This commit is contained in:
2026-05-15 10:16:45 +09:00
parent 442879313f
commit d38d022872
504 changed files with 17074 additions and 3642 deletions

41
src/features/serverCommand/ServerCommandPage.tsx Executable file → Normal file
View File

@@ -17,6 +17,7 @@ import type {
ServerCommandKey,
ServerRestartReservation,
ServerRestartReservationAutoFix,
ServerRestartReservationExecutionPhase,
ServerRestartReservationWorkItem,
} from './types';
import './serverCommand.css';
@@ -201,6 +202,30 @@ function formatAutoFixStatusLabel(status: ServerRestartReservationAutoFix['statu
}
}
function buildReservationExecutionSteps(phase: ServerRestartReservationExecutionPhase) {
const activeIndex =
phase === 'commit-main-worktree'
? 0
: phase === 'restart-test'
? 1
: phase === 'restart-work-server'
? 2
: phase === 'verify-runtime'
? 3
: -1;
return [
'main 작업트리 커밋',
'TEST 재기동',
'WORK 재기동',
'정상 기동 확인',
].map((label, index) => ({
label,
done: activeIndex > index,
active: activeIndex === index,
}));
}
export function ServerCommandPage() {
const { hasAccess } = useTokenAccess();
const [messageApi, contextHolder] = message.useMessage();
@@ -505,6 +530,22 @@ export function ServerCommandPage() {
]}
/>
{reservation.status === 'executing' ? (
<Space direction="vertical" size={8} className="server-command-page__work-list">
<Text strong> </Text>
{buildReservationExecutionSteps(reservation.executionPhase).map((step) => (
<div key={step.label} className="server-command-page__work-item">
<Space size={8} wrap>
<Tag color={step.active ? 'processing' : step.done ? 'success' : 'default'}>
{step.active ? '진행 중' : step.done ? '완료' : '대기'}
</Tag>
<Text strong={step.active || step.done}>{step.label}</Text>
</Space>
</div>
))}
</Space>
) : null}
{reservation.workItems.length > 0 ? (
<Space direction="vertical" size={8} className="server-command-page__work-list">
<Text strong> </Text>