Skip to content

fix(ci): fork-sync survives tempdir .git cleanup + track stock-logistics-workflow - #12

Merged
dnplkndll merged 1 commit into
mainfrom
fix/fork-sync-tempdir-cleanup
Jul 7, 2026
Merged

fix(ci): fork-sync survives tempdir .git cleanup + track stock-logistics-workflow#12
dnplkndll merged 1 commit into
mainfrom
fix/fork-sync-tempdir-cleanup

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

What

  • A1fork_sync_digest.py: both tempfile.TemporaryDirectory() git-clone blocks now pass ignore_cleanup_errors=True. Today's daily run crashed on teardown with OSError [Errno 39] Directory not empty: '.git' (git's read-only objects vs shutil.rmtree), aborting after loading 21 forks — no sync, no digest.
  • A2 — add ledoent/stock-logistics-workflow to forks.yml (new fork, 18.0/19.0/20.0 tracking).

Why

Prior days were green; the ubuntu-24 runner refresh made the rmtree race deterministic. ignore_cleanup_errors (Py3.10, already the workflow's version) lets the temp dir leak on the ephemeral runner instead of killing the run.

…cs-workflow

check_ledoent_branch/the rebase helper clone into tempfile.TemporaryDirectory;
on teardown shutil.rmtree hit git's read-only objects and raised
OSError [Errno 39] Directory not empty: '.git', aborting the whole daily run
(loaded 21 forks then died). Pass ignore_cleanup_errors=True (Py3.10+) to both.
Also add the new ledoent/stock-logistics-workflow fork to forks.yml.
@dnplkndll
dnplkndll merged commit e235e4e into main Jul 7, 2026
1 check passed
@dnplkndll
dnplkndll deleted the fix/fork-sync-tempdir-cleanup branch July 7, 2026 13:32
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