ZeroOne English technical blog

Astro Incremental Builds: Configure cacheKey Without Serving Stale Pages
2026-08-20
Frontend
Use Astro 7.2 experimental incremental builds with stable cacheKey values, a persisted cacheDir, and force rebuilds when hidden dependencies change.
802 words
|
4 minutes
Cover Image of the Post
Docker Compose restart Ignores New Environment Variables: Recreate the Container
2026-08-20
DevOps
Docker Compose restart reuses the old container environment. Render the new values, recreate only the affected service, and verify the result safely.
736 words
|
4 minutes
Cover Image of the Post
GitHub Actions upload-artifact 409: Fix “Artifact Already Exists”
2026-08-20
DevOps
Fix GitHub Actions upload-artifact 409 conflicts with unique matrix names, sequential overwrite only when appropriate, or a final merge job.
869 words
|
4 minutes
Cover Image of the Post
pnpm ERR_PNPM_LOCKFILE_CONFIG_MISMATCH: Fix Catalogs in Docker
2026-08-20
DevOps
Fix pnpm ERR_PNPM_LOCKFILE_CONFIG_MISMATCH in Docker by preserving pnpm-workspace.yaml or using pnpm deploy for a self-contained production image.
853 words
|
4 minutes
Cover Image of the Post
Astro Cloudflare “Fetch API cannot load: /”: Fix Prerender Failures
2026-08-19
Astro
Fix Astro Cloudflare prerender failures saying “Fetch API cannot load: /” by finding the relative server fetch and switching runtimes only when needed.
895 words
|
4 minutes
Cover Image of the Post
GitHub Actions $/: Use Same-Repository Actions Without checkout
2026-08-19
DevOps
Use GitHub Actions’ `$/` self-repository syntax to call local actions and reusable workflows at the running commit, without a checkout or ref suffix.
768 words
|
4 minutes
Cover Image of the Post
pnpm ERR_PNPM_INVALID_PROXY: Fix Empty HTTP_PROXY and HTTPS_PROXY
2026-08-19
DevOps
Fix pnpm’s ERR_PNPM_INVALID_PROXY in CI when HTTP_PROXY or HTTPS_PROXY is empty, with safe unsetting, valid proxy URLs, and config checks.
804 words
|
4 minutes
Cover Image of the Post
Vite “Failed to Resolve Import” Alias: Align tsconfig, Vite, and Vitest
2026-08-19
Frontend
Fix Vite’s “Failed to resolve import” alias errors by aligning tsconfig paths with Vite or Vitest, using absolute paths, and checking the real project root.
886 words
|
4 minutes
Cover Image of the Post