← スキル一覧に戻る

job-restart-feature
by insoln
⭐ 1🍴 0📅 2026年1月11日
SKILL.md
name: job-restart-feature description: Job restart workflow for Slack-MM2 Sync (POST /api/jobs/{job_id}/restart), including backend behavior, UI conditions, and test expectations. Use when implementing or debugging retry of failed/skipped exports. license: Complete terms in LICENSE.txt
Job Restart Feature
When to use
- Implementing or debugging “retry failed/skipped entities” flows
- Adjusting export orchestrator behavior for restarted jobs
- Updating frontend job card UX around restart
- Writing/maintaining unit/integration tests for restart
API contract
Endpoint:
POST /jobs/{job_id}/restart(also available as/api/jobs/{job_id}/restart)
Behavior (high level):
- Only completed jobs can be restarted
- Resets
failed/skippedentities back topending - Clears their error messages
- Triggers export orchestrator for that job
- Successful entities are not reset
UI behavior
- Restart button appears only when:
- job is completed (
successorfailed), and - there are retryable entities (
failedorskipped)
- job is completed (
Testing expectations
- Unit tests cover: not found, invalid status, no retryables, success path
- Integration tests validate end-to-end restart + export trigger
Source of truth
- Feature doc: docs/job-restart-feature.md
- Endpoint implementation: backend/app/api/jobs.py
- Integration coverage: backend/tests/integration/test_job_restart.py
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です