Skip to content

refactor(db): 廃止予定ファイル削除・インポートパス統一 (#550)#577

Merged
Kewton merged 1 commit intodevelopfrom
feature/550-deprecated-cleanup
Mar 28, 2026
Merged

refactor(db): 廃止予定ファイル削除・インポートパス統一 (#550)#577
Kewton merged 1 commit intodevelopfrom
feature/550-deprecated-cleanup

Conversation

@Kewton
Copy link
Copy Markdown
Owner

@Kewton Kewton commented Mar 28, 2026

Summary

  • 廃止予定フォワーディングファイル5つ(db-instance, db-repository, db-migrations, db-migration-path, db-path-resolver)を削除
  • 約130ファイルのインポートパスを正規パス(@/lib/db/)に統一
  • @deprecated 関数・定数を削除(auto-yes-poller, auto-yes-state, cmate-parser)
  • tsconfig.server.json の include リスト更新

Test plan

  • TypeScript型チェック(tsc --noEmit)Pass
  • ESLint Pass(0 warnings/errors)
  • Unit Test 5507テスト全Pass(281ファイル)
  • Build Pass

Closes #550

🤖 Generated with Claude Code

…hs (#550)

- Replace ~120 @/lib/db-* alias imports with @/lib/db/db-* canonical paths
- Replace ~20 relative path imports (./db-instance, ../db-migrations, etc.)
- Update require() dynamic imports in job-executor, schedule-manager, cron-parser
- Remove @deprecated exports: getAutoYesPollerWorktreeIds, getAutoYesStateWorktreeIds, CONTROL_CHAR_REGEX
- Delete 5 forwarding files: db-instance.ts, db-repository.ts, db-migrations.ts, db-migration-path.ts, db-path-resolver.ts
- Update tsconfig.server.json include list
- All 281 unit test files pass (5507 tests), lint clean, build:all passes

Resolves #550

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kewton Kewton merged commit d6d81e6 into develop Mar 28, 2026
5 checks passed
@Kewton Kewton deleted the feature/550-deprecated-cleanup branch March 28, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant