Skip to content

fix: GPG workflow signing, auto-merge, PWA icon fix, and perf optimizations - #70

Merged
kascit merged 1 commit into
mainfrom
fix/workflows-perf-pwa
Aug 2, 2026
Merged

fix: GPG workflow signing, auto-merge, PWA icon fix, and perf optimizations#70
kascit merged 1 commit into
mainfrom
fix/workflows-perf-pwa

Conversation

@kascit

@kascit kascit commented Aug 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Comment thread scripts/generate-fa-subset.js Fixed

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.

Pull request overview

This PR tightens automation and performance for the site: it updates GitHub Actions workflows to better support GPG-signed automation PRs + auto-merge, tweaks frontend boot timing to defer non-critical work, and adjusts PWA/manifest icon references and related build-time asset generation behavior.

Changes:

  • Frontend performance: add external-origin preconnects + preload landing hero assets; defer some JS init until after first paint; remove console banner.
  • PWA/icon pipeline: update manifest icon filenames and adjust icon generation / Font Awesome subset generation scripts.
  • Automation: ensure bot PR commits use imported GPG identity and attempt to enable auto-merge; broaden CI/linter workflow path ignores.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
templates/macros/head.html Adds preconnect/dns-prefetch and homepage hero image preloads.
static/js/core/main.js Defers non-prepaint JS initialization to post-first-paint.
static/icons/site.webmanifest Switches “any” purpose icons to transparent variants.
scripts/generate-icons.js Changes behavior when ImageMagick is missing during icon generation.
scripts/generate-fa-subset.js Injects font-display: swap into kept @font-face blocks when absent.
LLM_RULES.md Reformats and expands repo conventions (workflows, perf directives, icons/PWA).
.github/workflows/sync-data.yml Uses imported GPG identity for commits and attempts to enable auto-merge for sync PRs.
.github/workflows/linter.yml Expands paths-ignore patterns for PR-triggered lint workflow.
.github/workflows/ci.yml Expands paths-ignore patterns for PR-triggered CI workflow.
.github/workflows/bump-versions.yml Uses imported GPG identity for commits and attempts to enable auto-merge for bump PRs.

Comment on lines +84 to +87
{% if current_url == config.base_url or current_url == config.base_url ~ "/" %}
<link rel="preload" as="image" href="{{ get_url(path="images/landing/whood-light.jpg") | safe }}" fetchpriority="high">
<link rel="preload" as="image" href="{{ get_url(path="images/landing/whood.jpg") | safe }}" fetchpriority="high">
{% endif %}
branches: [main]
paths-ignore:
- "README.md"
- "**.md"
Comment thread .github/workflows/ci.yml
branches: [main]
paths-ignore:
- "README.md"
- "**.md"
Comment thread scripts/generate-icons.js
Comment on lines 214 to 220
const command = resolveImageMagickCommand();
if (!command) {
throw new Error(
"ImageMagick is required for icon generation (magick/convert not found).",
console.log(
"Icon generation skipped: ImageMagick is not installed (magick/convert not found).",
);
return;
}
@kascit
kascit force-pushed the fix/workflows-perf-pwa branch from 06ba633 to 7499dac Compare August 2, 2026 12:29
@kascit
kascit force-pushed the fix/workflows-perf-pwa branch from 7499dac to d7e5f30 Compare August 2, 2026 12:38
@kascit
kascit merged commit 38320af into main Aug 2, 2026
19 checks passed
@kascit
kascit deleted the fix/workflows-perf-pwa branch August 2, 2026 12:54
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.

3 participants