cloudflare / cloudflare/developer-platform

Deleted Pages deployment hostname continues serving assets

オープン
#67 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
api product:pages
主要言語
言語のデータがありません
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

### Which Cloudflare product?

Pages (Direct Upload)

### Wrangler version

4.120.0

### What happened?

A Pages deployment was deleted successfully and no longer appears in either `wrangler pages deployment list` or the Cloudflare Pages deployments API. More than 20 hours later, its hash-based `*.pages.dev` deployment hostname still returns HTTP 200 and serves the deployment's original static assets.

Retrying deletion with the original full deployment UUID now returns API error `8000009` (“The deployment ID you have specified does not exist”), while the deployment hostname remains live.

The current production deployment and custom domain are behaving correctly. I am withholding the account, project, deployment UUID, and hostname from this public issue because the stale deployment contains internal analytics exports. I can provide those details privately to a Cloudflare maintainer.

### Expected behavior

Deleting a Pages deployment should make its hash-based deployment hostname and assets unavailable, ideally returning 404, within a documented propagation window.

### Reproduction

1. Direct-upload a Pages deployment containing a uniquely identifiable static file.
2. Delete that non-current deployment using Wrangler or the Pages API.
3. Confirm it disappears from deployment listing.
4. Request `https://..pages.dev/`.
5. Observe that the deleted deployment may continue serving the file.

### Additional context

The project uses Pages advanced mode (`_worker.js`) and Direct Upload. The stale asset is served directly from the deleted deployment hostname. Repeating the DELETE request cannot invalidate it because the API considers the deployment nonexistent.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、Wrangler 4.120.0 と Pages deployments API を使って Direct Upload のケースを再現します。現在のものではない deployment を削除し、一覧から消えることを確認してから、その hash ベースの pages.dev hostname と一意の asset をリクエストします。DELETE のレスポンスと hostname の動作を比較します。削除された hostname が asset を提供しなくなり、伝播ウィンドウ内にドキュメントに記載された利用不可レスポンスを返せば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
cloud, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。