]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
webui: Move static build output from repo code to HF Bucket (#22937)
authorAleksander Grygier <redacted>
Thu, 14 May 2026 11:21:41 +0000 (13:21 +0200)
committerGitHub <redacted>
Thu, 14 May 2026 11:21:41 +0000 (13:21 +0200)
commit253ba110bcd372207ca7b0bb56f1ea10d60d53fd
tree07f538a7b4a1921134f0ed10b5e7472818a25065
parent67b2b7f2f2d6dac7962b219168a4c7a20c7359b7
webui: Move static build output from repo code to HF Bucket (#22937)

* ci: add workflow to publish webui to Hugging Face bucket

* ci: add webui release job to release workflow

* ci: test webui release job

* chore: Return to default minification strategy for build output files

* ci: extract webui build into separate workflow and job

* chore: Ignore webui static output + clean up references

* chore: Delete legacy webui static output

* chore: Ignore webui build static output

* fix: Workflow

* fix: Versioning naming

* chore: Update package name

* test: Test CI fix

* refactor: Naming

* server: implement webui build strategy with HF Bucket support

* chore: Remove test workflow

* chore: Use WebUI build workflow call in other workflows

* server: HF Buckets fallback for WebUI build

* refactor: App name variable

* refactor: Naming

* fix: Retrieve loading.html

* fix: workflow syntax

* fix: Rewrite malformed release.yml

* fix: Req param

* test: Re-add missing Playwright installation for CI tests

* refactor: Logic & security improvements

* refactor: Retrieve publishing jobs and DRY the workflows

* fix: Test workflow syntax

* fix: Upstream Release Tag for test workflow

* chore: Remove test workflow

* ci: Run WebUI jobs on `ubuntu-24.04-arm`

* refactor: Post-CR cleanup

Co-authored-by: Sigbjørn Skjæret <redacted>
Co-authored-by: Aleksander Grygier <redacted>
* refactor: CI cleanup

* refactor: Cleanup

* test: Test workflow

* refactor: use LLAMA_BUILD_NUMBER instead of LLAMA_BUILD_TAG for HF Bucket webui downloads

* server: add fallback mechanism for HF Bucket webui downloads from latest directory

* fix: Incorrect argument order in file(SHA256) calls for checksum verification

* refactor: Use cmake script for handling the HF Bucket download on build time

* feat: support local npm build for WebUI assets

* refactor: add `HF_ENABLED` flag to control WebUI build/download provisioning

* refactor: Cleanup

* chore: Remove test workflow

* fix: remove s390x from release workflow

* fix: add webui-build dependency to ubuntu-22-rocm and windows-hip

* Revert "fix: remove s390x from release workflow"

This reverts commit debcfffa9bc1e3112eae41f2d29741b682e4eb19.

* fix: Release workflow file

* fix: Proper release tag used for HF Bucket upload

* fix: Remove duplicate steps in release workflow

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
33 files changed:
.editorconfig
.gitattributes [deleted file]
.github/labeler.yml
.github/workflows/release.yml
.github/workflows/server-self-hosted.yml
.github/workflows/server-webui.yml
.github/workflows/server.yml
.github/workflows/webui-build.yml [new file with mode: 0644]
.github/workflows/webui-publish.yml [new file with mode: 0644]
.gitignore
CMakeLists.txt
common/common.h
grammars/README.md
scripts/webui-download.cmake [new file with mode: 0644]
tools/server/CMakeLists.txt
tools/server/README.md
tools/server/public/bundle.css [deleted file]
tools/server/public/bundle.js [deleted file]
tools/server/public/index.html [deleted file]
tools/server/public/loading.html [deleted file]
tools/server/server-http.cpp
tools/server/webui/README.md
tools/server/webui/package-lock.json
tools/server/webui/package.json
tools/server/webui/scripts/dev.sh
tools/server/webui/scripts/install-git-hooks.sh
tools/server/webui/src/lib/components/app/server/ServerLoadingSplash.svelte
tools/server/webui/src/lib/constants/ui.ts
tools/server/webui/src/lib/services/chat.service.ts
tools/server/webui/src/routes/(chat)/chat/[id]/+page.svelte
tools/server/webui/svelte.config.js
tools/server/webui/tests/stories/Introduction.mdx
tools/server/webui/vite.config.ts