Skip to content

feat(tera2): upgrade to Zola 0.23, Tera 2, and parallelize build pipelines - #80

Merged
kascit merged 4 commits into
mainfrom
chore/update-tool-versions
Aug 23, 2026
Merged

feat(tera2): upgrade to Zola 0.23, Tera 2, and parallelize build pipelines#80
kascit merged 4 commits into
mainfrom
chore/update-tool-versions

Conversation

@kascit

@kascit kascit commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Overview

  • Zola 0.23.4 & Tera 2.0 Full Migration:

    • Converted all 14 page and layout templates to Tera 2 components.
    • Converted all 31 shortcodes in templates/shortcodes/ to {% component ... %}.
    • Migrated shortcode calls across Markdown content to JSX syntax ({{ <component_name ... /> }}).
    • Updated taxonomy templates to use Zola 0.23 taxonomy object fields.
    • Handled optional struct arguments with ...rest.
  • Multithreading & Concurrency Optimizations:

    • scripts/optimize-static-assets.js: Async worker pool scaling with os.cpus().length, smart filtering of already-optimized responsive variants.
    • scripts/generate-responsive-images.js: Parallel ImageMagick conversions across CPU cores.
    • scripts/generate-icons.js: Parallel icon rendering across CPU cores.
    • scripts/minify-js.js: Parallel Terser minification workers.
  • Cross-Platform & Multi-Architecture Build Support:

    • Dynamic OS and CPU architecture binary resolution in .github/actions/setup-build-env/action.yml.
    • Fixed Node DEP0190 child process deprecation warnings by passing shell: process.platform === 'win32'.
    • Cleaned and consolidated shared path utilities across all scripts.

Copilot AI lite review requested due to automatic review settings August 23, 2026 08:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kascit
kascit merged commit ebbb09a into main Aug 23, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants