[PR #1825] [MERGED] feat: warn but not exit if frontend build does not exist #7601

Closed
opened 2025-11-11 17:31:16 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1825
Author: @cheahjs
Created: 4/28/2024
Status: Merged
Merged: 4/28/2024
Merged by: @tjbck

Base: devHead: feat/allow-backend-to-run-without-frontend


📝 Commits (1)

  • 6a1d60b feat: warn but not exit if frontend build does not exist

📊 Changes

2 files changed (+15 additions, -6 deletions)

View changed files

📝 backend/config.py (+5 -1)
📝 backend/main.py (+10 -5)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for the changes?
  • Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description

Allow running the backend without frontend build files, primarily for speeding up CI tests where we might not want to spend time building the frontend just to test the backend.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1825 **Author:** [@cheahjs](https://github.com/cheahjs) **Created:** 4/28/2024 **Status:** ✅ Merged **Merged:** 4/28/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/allow-backend-to-run-without-frontend` --- ### 📝 Commits (1) - [`6a1d60b`](https://github.com/open-webui/open-webui/commit/6a1d60b1b344e6609068bdc5781b5256cc23763d) feat: warn but not exit if frontend build does not exist ### 📊 Changes **2 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `backend/config.py` (+5 -1) 📝 `backend/main.py` (+10 -5) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [x] **Testing:** Have you written and run sufficient tests for the changes? - [x] **Code Review:** Have you self-reviewed your code and addressed any coding standard issues? --- ## Description Allow running the backend without frontend build files, primarily for speeding up CI tests where we might not want to spend time building the frontend just to test the backend. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:31:16 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7601