Skip to content

Ensure parent directory exists for lock file creation#12

Merged
Sakura-Ex merged 2 commits into
mainfrom
fix/taskdir
Mar 1, 2026
Merged

Ensure parent directory exists for lock file creation#12
Sakura-Ex merged 2 commits into
mainfrom
fix/taskdir

Conversation

@Sakura-Ex

Copy link
Copy Markdown
Owner

This pull request includes a minor version update and a small improvement to the locking mechanism in the plugin. The most important changes are:

Version update:

  • Updated the plugin version from 0.3.0 to 0.3.1 in mcdreforged.plugin.json.

Lock file handling:

  • Ensured the parent directory of the lock file exists before attempting to create the lock file in sakura_flow/manager.py (acquire method).

Sakura-Ex and others added 2 commits February 23, 2026 20:03
在获取文件锁前先创建父目录,避免因目录不存在导致的锁文件创建失败
@Sakura-Ex
Sakura-Ex marked this pull request as ready for review March 1, 2026 08:44
@Sakura-Ex
Sakura-Ex merged commit 6cb6ef1 into main Mar 1, 2026
3 checks passed
@Sakura-Ex
Sakura-Ex deleted the fix/taskdir branch March 1, 2026 08:48
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