Cloudflare Workers dashboard shows “Unknown” as the source of cf CLI deployments
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
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
The report is about the dashboard's Source column showing Unknown for deployments whose API metadata reports cf_cli, so the cause may lie outside this repository. Start in packages/cli/src/version.ts, where USER_AGENT is defined, and in packages/cli/src/lib/deploy-context.ts, where it reaches the deployment request. Done means confirming which metadata field the dashboard reads and whether the CLI sends it; the issue itself says the dashboard mapping is not established.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary of the issue
After a successful cf deploy --prebuilt --mode production with [email protected], the Workers dashboard's Deployments → Deployment activity → Source column displays Unknown.
Affected page: Cloudflare dashboard → select an account → Workers & Pages → select a Worker → Production → Deployments. Within Deployment activity, the Source column displays Unknown.
Page URL pattern (account and Worker identifiers replaced with placeholders):
https://dash.cloudflare.com/<account-id>/workers/services/view/<worker-name>/production/deployments
Screenshot captured in Cloudflare dashboard Light mode during a follow-up check on 2026-11-02. Cropped to exclude the account URL, Worker name and version IDs; the Deployments navigation and the Ready / Unknown values are unchanged.
For the same version, both the newer Workers API (read through cf workers versions get) and the script-versions REST API report cf_cli. The deployment record also reports cf_cli.
Rechecked on 2026-11-02 at approximately 05:01 UTC, about 15 minutes after deployment, in a newly opened dashboard tab. The version ID shown in the dashboard matches the API responses. The same symptom occurred with 1.0.0-beta.24 before upgrading and redeploying.
Deployment succeeds, the new version serves 100% of traffic, and the application responds over HTTPS. This report concerns the displayed deployment source: it makes a deployment from the official CLI look unrecognized.
Expected behaviour
Display a recognizable label such as Cloudflare CLI for a version whose source is cf_cli.
If additional metadata is required, please document it or have cf deploy supply it. I could not find a source-label option in the deploy command. Please route this to the dashboard/API owners if that is where the discrepancy belongs; I have not established which internal component causes it.
Version of cf used
1.0.0-beta.26 (also observed with 1.0.0-beta.24).
System information and package versions
- macOS 27.2, arm64
- Node.js 26.12.1
@cloudflare/vite-plugin:2.0.0-beta.v.8- Vite:
7.3.7 - Project configuration:
cloudflare.config.ts - Authentication: API token
- Deployment path: prebuilt output published by the locally installed
cfbinary
Reproduction (optional)
These are the steps used with an existing application; I have not reduced it to a minimal public repository or tested the non-prebuilt path.
- Build and publish the configured Worker:
cf build --mode production cf deploy --prebuilt --mode production - Read the active deployment and its version:
cf workers deployments list --worker <worker-name> --mode production cf workers versions get <version-id> --worker-id <worker-name> --mode production - Cross-check that same version with:
GET /accounts/{account_id}/workers/scripts/{script_name}/versions/{version_id} - Open the Cloudflare dashboard page using the navigation path above and compare the matching version’s Source column in Deployment activity.
Relevant error logs (optional)
No deployment error. Selected response fields only; identifiers, bindings and author information are omitted:
| Surface | Observed value |
|---|---|
cf workers deployments list: matching deployment's source |
cf_cli |
cf workers versions get: matching version's source |
cf_cli |
Script-versions REST API: result.metadata.source |
cf_cli (HTTP 200, success: true) |
| Dashboard: same version's Source | Unknown |
| Dashboard: Status / Triggered by | Ready / by API token |
The script-versions API reference explicitly lists cf_cli as a supported source, distinct from unknown.
The beta.26 source defines USER_AGENT = cf-cli/${VERSION} and passes it through the deployment request context. This supports checking the CLI/dashboard integration, but does not establish a specific dashboard mapping or caching bug.
- Ngôn ngữ chính
- TypeScript
- Star
- 993
- Fork
- 65
- Merge trung bình
- 18 giờ 28 phút
- Pull request đã merge (30 ngày)
- 207
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 cloudflare/cf
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/cf#344 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
upstream
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cloudflare/cf#262 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templateCó thể đã có người làm @jamesopstad đã nhận 23 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cloudflare/cf#223 · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
upstream
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cloudflare/cf#179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`cf migrate` fails with `ERR_PNPM_IGNORED_BUILDS` in a pnpm workspace that has not approved workerdĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
cloudflare/cf#511 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudflare/cf
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 2 ngày
-
reproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
anomalyco/opencode#62052 · 1 bình luận ·
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 68/100
strapi/design-system#2084 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Report: &TV InternationalĐang mởcheck:passed streams:remove
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
OAuth documentation for GET /api/v2/users/me/ appears inconsistent with required global read scopeĐang mở
Độ 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