Skip to content

majestic-webui: fetch the pre-minified dist release asset - #2193

Merged
widgetii merged 1 commit into
masterfrom
ci/webui-dist-source
Jun 15, 2026
Merged

majestic-webui: fetch the pre-minified dist release asset#2193
widgetii merged 1 commit into
masterfrom
ci/webui-dist-source

Conversation

@widgetii

Copy link
Copy Markdown
Member

Draft / blocked: merge only after OpenIPC/majestic-webui#113 lands and its first dist release artifact is published — otherwise the fetch 404s.

What

majestic-webui CI now builds a minified distribution and publishes it as a rolling dist release asset (OpenIPC/majestic-webui#113). Point the buildroot package at that prepared artifact instead of the raw HEAD source:

  • the webui source in git stays unminified and readable;
  • this firmware build stays hermetic — no JS/CSS toolchain, no minify step in the image build;
  • the nightly still auto-tracks the latest UI (dist follows the webui master).

Saves ~12 KB off the compressed rootfs (verified on hardware).

Changes

  • general/package/majestic-webui/majestic-webui.mk — fetch majestic-webui-dist.tar.gz from the rolling dist release instead of $(call github,…,HEAD).
  • build.yml + build-one.ymldist is a moving ref (constant asset filename), so extend the "Refresh moving-ref package downloads" step to also drop *-dist.tar.gz, keeping it from going stale in the monthly dl cache.

🤖 Generated with Claude Code

majestic-webui CI now builds a minified distribution and publishes it as a rolling
`dist` release asset (OpenIPC/majestic-webui#113). Fetch that prepared artifact instead
of the raw HEAD source: the webui source stays unminified and readable, and this build
stays hermetic (no JS/CSS toolchain). Saves ~12 KB off the rootfs.

`dist` is a moving ref (constant asset filename), so extend the "Refresh moving-ref
package downloads" step to also drop *-dist.tar.gz before each build, keeping it fresh.

NOTE: merge only AFTER OpenIPC/majestic-webui#113 lands and its first `dist` artifact is
published, otherwise the fetch 404s.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@widgetii
widgetii marked this pull request as ready for review June 15, 2026 03:51
@widgetii
widgetii merged commit a84e368 into master Jun 15, 2026
111 of 209 checks passed
@widgetii
widgetii deleted the ci/webui-dist-source branch June 15, 2026 04:34
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

Successfully merging this pull request may close these issues.

1 participant