Remove leftover Cloud66 custom_web process from Procfile
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 88/100
Hướng nghiên cứu
Tiến trình thừa là dòng custom_web: bundle exec puma trong Procfile ở thư mục gốc; hãy xóa dòng đó và giữ nguyên release và web. Sau đó chạy grep -rni "custom_web\|cloud66" ., loại trừ node_modules, và kiểm tra app.json xem có cùng tên hay không. Hoàn thành khi grep không còn tìm thấy tham chiếu nào và nội dung PR có "Closes #7330"; không áp dụng kiểm thử và Procfile.dev giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What
The production Procfile still has a custom_web process left over from when the app was deployed on Cloud66:
release: bundle exec rake db:migrate && bundle exec rake after_party:run
web: bundle exec puma
custom_web: bundle exec puma # <- remove
It came from commit 05d5801e7 ("tell cloud66 to use puma like we currently do"). The app runs on Heroku now, and nothing uses custom_web. Heroku lists it as a dyno type that is scaled to 0. It's harmless but confusing: it looks like a second web process.
The Heroku dashboard also shows a worker: bundle exec rake jobs:work dyno type scaled to 0. It isn't in the Procfile (Heroku is remembering it from an old Procfile). Background jobs currently run through a Heroku Scheduler entry (rake jobs:workoff every 10 min), not a worker dyno.
Task (contributor)
- Delete the
custom_web: bundle exec pumaline fromProcfile -
grep -rni "custom_web\|cloud66" .(excludingnode_modules) and remove any other leftover Cloud66 references, if there are any - Check that
app.jsondoesn't referencecustom_web - Open a PR that says "Closes #"
There are no Ruby code changes and nothing to test locally. bin/dev uses Procfile.dev, which this doesn't touch.
Follow-up (maintainer, after merge and deploy)
Once a deploy runs without custom_web in the Procfile, Heroku should drop it from the formation. If it or worker is still listed, check with:
heroku ps:type -a casa-production
Both are scaled to 0, so they cost nothing; this is cleanup only.
Out of scope
Don't add a worker: line. Turning on a worker dyno is a separate cost/ops decision; the job queue runs through Scheduler for now (see #7291).
- Ngôn ngữ chính
- Ruby
- Star
- 382
- Fork
- 547
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 46
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 rubyforgood/casa
-
dependencies Difficulty: Easy Good First Issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
rubyforgood/casa#7325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Difficulty: Easy Good First Issue Help Wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rubyforgood/casa#7311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Difficulty: Easy Good First Issue Help Wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rubyforgood/casa#7310 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Difficulty: Easy Good First Issue Help Wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rubyforgood/casa#7309 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🖥️ Frontend Difficulty: Easy Good First Issue Help Wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rubyforgood/casa#7308 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rubyforgood/casa
Issue tương tự
-
JWT::EncodedToken raises TypeError for a non-object headerCó thể đã có người làm @anakinj đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jwt/ruby-jwt#780 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
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 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
zold-io/zold-ruby-sdk#85 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 62/100