Environment
System:
OS: Windows 11 10.0.26220
CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 784.54 MB / 7.36 GB
Binaries:
Node: 22.18.0 - C:\Program Files\nodejs\node.EXE
npm: 11.5.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.17.0 - C:\Users\stars\AppData\Local\pnpm\pnpm.CMD
Browsers:
Edge: Chromium (140.0.3485.40)
Firefox Developer Edition: 144.0 - C:\Program Files\Firefox Developer Edition\firefox.exe
Describe the bug
Yesterday I deleted an index.md file but forgot to update the navigation.redirect property in _dir.yml. After committing the changes, I went to sleep. This commit ended up building for a full 6 hours in GitHub Actions before GitHub forcibly terminated it.
This is a critical point to note—it rapidly depletes your free GitHub Actions quota.
The build got stuck during pnpm run generate and ran for 6 hours.
See the case here:
https://github.com/Rwagsu/RwagsuOwO/actions/runs/18228189600
In this commit, I renamed index.md to home.md, but I forgot to update the navigation.redirect property in _dir.yml.
-
Ensure your folder contains _dir.yml and index.md, with the navigation.redirect property in _dir.yml pointing to index.md.
-
Run pnpm run generate to trigger the build.
-
It should generate quickly.
-
Rename index.md to another name (e.g., home.md).
-
It fails to generate even after 10 minutes (or even 6 hours).
Translated with DeepL.com (free version)
Reproduction
https://github.com/Rwagsu/RwagsuOwO
Rwagsu/RwagsuOwO@01348e3
Additional context
No response
Logs
The log is too long:
https://github.com/Rwagsu/RwagsuOwO/actions/runs/18228189600
Environment
System:
OS: Windows 11 10.0.26220
CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 784.54 MB / 7.36 GB
Binaries:
Node: 22.18.0 - C:\Program Files\nodejs\node.EXE
npm: 11.5.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.17.0 - C:\Users\stars\AppData\Local\pnpm\pnpm.CMD
Browsers:
Edge: Chromium (140.0.3485.40)
Firefox Developer Edition: 144.0 - C:\Program Files\Firefox Developer Edition\firefox.exe
Describe the bug
Yesterday I deleted an
index.mdfile but forgot to update thenavigation.redirectproperty in_dir.yml. After committing the changes, I went to sleep. This commit ended up building for a full 6 hours in GitHub Actions before GitHub forcibly terminated it.This is a critical point to note—it rapidly depletes your free GitHub Actions quota.
The build got stuck during
pnpm run generateand ran for 6 hours.See the case here:
https://github.com/Rwagsu/RwagsuOwO/actions/runs/18228189600
In this commit, I renamed
index.mdtohome.md, but I forgot to update the navigation.redirect property in_dir.yml.Ensure your folder contains
_dir.ymlandindex.md, with thenavigation.redirectproperty in_dir.ymlpointing toindex.md.Run
pnpm run generateto trigger the build.It should generate quickly.
Rename
index.mdto another name (e.g.,home.md).It fails to generate even after 10 minutes (or even 6 hours).
Translated with DeepL.com (free version)
Reproduction
https://github.com/Rwagsu/RwagsuOwO
Rwagsu/RwagsuOwO@01348e3
Additional context
No response
Logs