[Bug]: Dev server auto-start does not work on subdomains of a site
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start in LaravelValetDriver::ensureViteDevServer(), which posts the site name including the subdomain (for example app.mysite) to /ai/dev-ensure and writes the cooldown file under dev-ensure/md5 of that name. Compare with herd processes --site=mysite --json, which reports a path and available processes, to see how the parent site should be resolved from a subdomain. Done when https://app.mysite.test starts the artisan dev stack and no cooldown file is written for the subdomain.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Platform
macOS
Operating system version
27.2.1
System architecture
ARM64 (M1, M2, etc)
Herd Version
2.1.0
PHP Version
8.3-8.5
Bug description
Opening https://app.mysite.test (a wildcard subdomain of the parked site mysite) never starts
the artisan dev stack. Opening https://mysite.test starts it as expected.
LaravelValetDriver::ensureViteDevServer() posts the site name including the subdomain
(app.mysite) to /ai/dev-ensure. Herd does not know a site with that name and declines, so the
driver writes the cooldown file dev-ensure/md5("app.mysite") on every visit.
Linking the subdomain as its own site does not help either:
herd link app.mysite
herd processes --site=app.mysite --json
→ "path": null, every process "available": false
herd processes --site=mysite --json
→ "path": "/path/to/mysite/", every process "available": true
herd parked does not list the linked alias at all, presumably because it points to the same
directory as the parked site.
Steps to reproduce
No response
Relevant log output
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 125
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của beyondcode/herd-community
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)Đang mởmacOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
beyondcode/herd-community#1693 ·
-
macOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
beyondcode/herd-community#1602 ·
-
[Bug]:Đang mởmacOS
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
beyondcode/herd-community#1807 ·
-
macOS
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
beyondcode/herd-community#1797 ·
-
[2.0.3] PHP-FPM dies shortly after login, first request each morning hits "Herd is fixing this site"Đang mởmacOS
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
beyondcode/herd-community#1796 · 1 bình luận ·
Tất cả issue của beyondcode/herd-community
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
clojure-emacs/cider#4235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Request]: WincCó thể đã có người làm @chenyme đã nhận hôm nay. Đang mởpackage-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ScoopInstaller/Extras#19476 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
promplate/code-review#158 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày