Dependabot bumps to the Next.js app reach production with no preview
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 18/100
Hướng nghiên cứu
Start with the Upload preview version step in preview.yaml and the npm-minor-patch Dependabot group that grouped next and @opennextjs/cloudflare. The issue leaves open whether a preview URL or a smoke check on / should gate merges, so a maintainer decision comes first. Done means Dependabot bumps to the Worker runtime packages are held for human review, and the chosen check is wired into CI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Defect
Dependabot pull requests cannot read CLOUDFLARE_API_TOKEN, so the Upload preview version step in preview.yaml always fails on them. The build step passes, the PR gets a green-enough signal, and the change merges without anyone ever opening a running copy of it. The next push to main promotes it to 100% of production traffic.
This took kagent.dev down today for roughly six hours.
Evidence
- #599 bumped
next16.3.8 → 16.4.0 and@opennextjs/cloudflare1.20.8 → 1.20.10 as part of thenpm-minor-patchgroup. - Its preview run (38520354926) built successfully and failed only at
Upload preview version. No preview URL was posted. - It deployed to production at 15:02 UTC on 2026-10-14. Every route the Worker handles then returned HTTP 500 with Cloudflare error code 1101 (uncaught exception in Worker code).
/docs/kept serving because Cloudflare returns those from the ASSETS binding without invoking the Worker. - The build and the deploy both succeeded. The failure was at request time only, which is exactly what a preview would have caught and what CI cannot.
- #605 reverted the two packages and restored the site.
Note that the declared peer ranges accept this combination: @opennextjs/cloudflare 1.20.10 lists next: ">=15.5.27 <16 || >=16.3.8", and the locked wrangler 4.149.0 satisfies its ^4.148.0. Version constraints would not have blocked this.
Two candidate fixes
- Give the preview upload access to the token on dependabot branches, via a
pull_request_targetjob or a separate workflow that uploads the version from a trusted context. This restores a preview URL on every PR, which is the actual missing signal. - Separate the Worker runtime dependencies from the rest.
next,@opennextjs/cloudflare, andwranglerare the three that can break production at request time. Pinning them out of thenpm-minor-patchauto-group forces a human to open each bump deliberately.
These are not exclusive, and option 2 is the cheaper of the two.
Open question
Is a preview URL enough? A preview catches a crash on /, but only if somebody loads it. A smoke check that requests / against the uploaded preview version and fails the run on a non-200 would catch this class without relying on a reviewer clicking the link. Worth deciding before picking between the two fixes above.
- Ngôn ngữ chính
- TypeScript
- Star
- 21
- Fork
- 69
- Merge trung bình
- 23 giờ 53 phút
- Pull request đã merge (30 ngày)
- 83
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 kagent-dev/website
-
Link Checker Report - kagent OSSĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kagent-dev/website#579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hold until GA: repoint kagent.dev navigation from 0.x to 1.xCó thể đã có người làm @Rachael-Graham đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kagent-dev/website#521 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document session sharingĐang mởdocumentation kagent
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 60/100
kagent-dev/website#562 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
kagent-dev/website#539 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
kagent-dev/website#538 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kagent-dev/website
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stellar/stellar-dev-skill#151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadĐang mởarea:arcade game ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
fderuiter/deruiter.dev#2281 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
scope: data grid type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vicharanashala/ajrasakha#1439 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: TV5Monde AsieĐang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày