Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookbook Publish CI Stuck: Fails to Complete HTML Conversion and Release Recent Changes #222

Open
onuralpszr opened this issue Oct 28, 2024 · 2 comments

Comments

@onuralpszr
Copy link
Contributor

Hello 👋

I've noticed that after recent pull requests, particularly those involving Korean character changes, the HTML conversion process occasionally gets stuck and doesn't finish. Sometimes, it completes, but in the latest changes, my run was also canceled and stuck. I've observed this pattern more than once in the CI logs as well.

Could someone help investigate this issue? Thank you!

Example CI url : https://github.com/huggingface/cookbook/actions/runs/11543431177/job/32127813838

CI Log


Run source .venv/bin/activate
doc_folder has been set to cookbook/notebooks/
Generating docs for language en
Building docs for cookbook ../cookbook/notebooks//en ../build_dir/cookbook/main/en

Building the MDX files:   0%|          | 0/94 [00:00<?, ?it/s]
Building the MDX files:  36%|███▌      | 34/94 [00:00<00:00, 282.23it/s]
Building the MDX files:  78%|███████▊  | 73/94 [00:00<00:00, 297.26it/s]
Building the MDX files: 100%|██████████| 94/94 [00:00<00:00, 2[35](https://github.com/huggingface/cookbook/actions/runs/11543431177/job/32127813838#step:18:36).37it/s]

postcss-empty: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

warn - The `@variants` directive has been deprecated in Tailwind CSS v3.0.
warn - Use `@layer utilities` or `@layer components` instead.
warn - https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer
8:05:48 PM [vite-plugin-svelte] /tmp/tmpg9[41](https://github.com/huggingface/cookbook/actions/runs/11543431177/job/32127813838#step:18:42)gw6s/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;

8:05:59 PM [vite-plugin-svelte] /tmp/tmpg941gw6s/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Installing node dependencies
Building HTML files. This will take a while :-)
Generating docs for language zh-CN
Building docs for cookbook ../cookbook/notebooks//zh-CN ../build_dir/cookbook/main/zh-CN

Building the MDX files:   0%|          | 0/51 [00:00<?, ?it/s]
Building the MDX files: 100%|██████████| 51/51 [00:00<00:00, 796.46it/s]

postcss-empty: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

warn - The `@variants` directive has been deprecated in Tailwind CSS v3.0.
warn - Use `@layer utilities` or `@layer components` instead.
warn - https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer
8:06:14 PM [vite-plugin-svelte] /tmp/tmpelbj3klt/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;

8:06:19 PM [vite-plugin-svelte] /tmp/tmpelbj3klt/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;
Installing node dependencies
Building HTML files. This will take a while :-)
Generating docs for language ko
Building docs for cookbook ../cookbook/notebooks//ko ../build_dir/cookbook/main/ko

Building the MDX files:   0%|          | 0/10 [00:00<?, ?it/s]
Building the MDX files:  80%|████████  | 8/10 [00:00<00:00, 10.14it/s]
Building the MDX files: 100%|██████████| 10/10 [00:00<00:00, 12.50it/s]

postcss-empty: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

warn - The `@variants` directive has been deprecated in Tailwind CSS v3.0.
warn - Use `@layer utilities` or `@layer components` instead.
warn - https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer
8:06:[43](https://github.com/huggingface/cookbook/actions/runs/11543431177/job/32127813838#step:18:44) PM [vite-plugin-svelte] /tmp/tmpxp0epw_k/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;

8:06:[52](https://github.com/huggingface/cookbook/actions/runs/11543431177/job/32127813838#step:18:53) PM [vite-plugin-svelte] /tmp/tmpxp0epw_k/kit/src/lib/Dropdown.svelte:11:11 Dropdown has unused export property 'selectedValue'. If it is for external reference only, please consider using `export const selectedValue`
 9: export let menuClassNames = "";
10: export let noBtnClass = void 0;
11: export let selectedValue = void 0;
               ^
12: export let useDeprecatedJS = true;
13: export let withBtnCaret = false;
Error: The operation was canceled.

cc @merveenoyan @stevhliu

@onuralpszr onuralpszr changed the title Cookbook publish CI stuck and cancel the operation and not release current changes Cookbook Publish CI Stuck: Fails to Complete HTML Conversion and Release Recent Changes Oct 28, 2024
@stevhliu
Copy link
Member

I'm not entirely sure what the issue could be here! Pinging @mishig25 who probably has a better idea 🙂

@onuralpszr
Copy link
Contributor Author

Friendly reminder ping @mishig25 for help please :)

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

No branches or pull requests

2 participants