Skip to content

fix(deps): update Hugo modules (mod-utils v6.5.1, mod-blocks v2.1.4)#2035

Merged
markdumay merged 2 commits into
mainfrom
deps/mod-utils-v6.5.1
Jul 16, 2026
Merged

fix(deps): update Hugo modules (mod-utils v6.5.1, mod-blocks v2.1.4)#2035
markdumay merged 2 commits into
mainfrom
deps/mod-utils-v6.5.1

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

Part of the build-time optimization program (Chunk F; template: #2031). Carries the
mod-utils v6.5.1 performance release to hinode and its exampleSite.

Changes

  • github.com/gethinode/mod-utils/v6 v6.5.0 → v6.5.1 in go.mod and exampleSite/go.mod
    (release, from
    mod-utils#346): absent-key argument
    validation is precomputed once per schema in the cached ArgsSchema envelope instead of
    re-validated on every Args call.
  • github.com/gethinode/mod-blocks/v2 v2.1.3 → v2.1.4 (pulled by module resolution:
    hinode v3.2.6 requires it; release
    drops dangling ARIA attributes on preview fallback panes).
  • hugo mod tidy on both modules (removes stale go.sum entries).
  • exampleSite/hugo_stats.json refresh (the minimal-nav-no-parent-args-single-item entry any
    fresh build adds; the tracked copy was stale on main).

Measurements (exampleSite, hugo --gc --minify -s exampleSite)

Apple M1 Pro (10 cores, 32 GB), repo-pinned hugo v0.164.0 extended, hinode main @ 18ff4f6.
Warm-up builds until wall stabilized, then 3 timed runs per variant, medians, no other load:

Variant Median user CPU Median wall (Total in)
stock (mod-utils v6.5.0, mod-blocks v2.1.3) 38.87 s 17.32 s
this branch 33.27 s 14.09 s
delta −14.4% −18.6% (wall is machine-noise-sensitive; CPU is the robust metric)

Consistent with the isolated mod-utils measurement on #346 (−13.6% CPU).

Output verification (byte-diff, double build)

  • Candidate run-vs-run: only the 3 known allowlisted RSS files
    (en/index.xml, en/docs/blocks/index.xml, en/tags/block/index.xml — pre-existing
    intermittent .Content race, see scripts/check-build-determinism.sh on perf: build hygiene (conditional vendoring, CI GOGC, determinism gate, docs) #2034).
  • Candidate vs stock: the same 3 RSS files plus en/docs/blocks/preview/index.html, whose
    entire diff is the removal of role=tabpanel/aria-labelledby from preview fallback panes —
    exactly mod-blocks v2.1.4's released fix. No other output changes.
  • All builds: 0 ERROR lines, page counts 98 EN / 26 FR / 24 NL, WARN sets identical to stock.

Program register (private, for the maintainer):
https://github.com/gethinode/gethinode.com/blob/program/build-time-optimization/docs/superpowers/specs/2026-07-15-build-time-optimization-register.md

🤖 Generated with Claude Code

Bump mod-utils to v6.5.1 (absent-key args validation precomputed in the cached schema
envelope) and pick up mod-blocks v2.1.4 via module resolution (drops dangling ARIA
attributes on preview fallback panes). Measured on the exampleSite: median user CPU
38.87 s -> 33.27 s (-14.4%). Includes the hugo_stats.json refresh any fresh build produces.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for gethinode-demo ready!

Name Link
🔨 Latest commit e120d3e
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-demo/deploys/6a586a709010f900087e48e2
😎 Deploy Preview https://deploy-preview-2035--gethinode-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@markdumay markdumay enabled auto-merge July 16, 2026 05:23
@markdumay markdumay merged commit 5760279 into main Jul 16, 2026
16 checks passed
@markdumay markdumay deleted the deps/mod-utils-v6.5.1 branch July 16, 2026 05:27
@markdumay

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 3.2.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant