Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb7462fb

Browse files
feat: improve transaction safety in CompleteJob function (#17970)
This PR refactors the CompleteJob function to use database transactionsmore consistently for better atomicity guarantees. The large functionwas broken down into three specialized handlers:- completeTemplateImportJob- completeWorkspaceBuildJob- completeTemplateDryRunJobEach handler now uses the Database.InTx wrapper to ensure all databaseoperations for a job completion are performed within a singletransaction, preventing partial updates in case of failures.Added comprehensive tests for transaction behavior for each job type.Fixes#17694🤖 Generated with [Claude Code](https://claude.ai/code)Co-authored-by: Claude <noreply@anthropic.com>
1 parentc6bece0 commitb7462fb

File tree

2 files changed

+569
-292
lines changed

2 files changed

+569
-292
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp