Files: what a decision needs to know
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start by rereading the platform documentation and standards cited in the issue, then record verified platform facts in the Cloudflare ledger. Draft a decision record answering the listed ownership, storage, upload, serving, sharing, mail, quota, and first-slice questions, and check its status with the project lead. Done means the record is accepted or changed and the roadmap places this module relative to the others.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
One of the modules the project lead named for the suite (#57): a person's files with folders, sharing inside the instance, public links, and mail attachments saved to it and attached from it. The feature scope lists it in phase C. Nothing is built, and nothing is pulled forward by this issue: it holds the data a decision record will need.
What was read (2026-11-19, from the platform's current documentation and the standards)
The pages were read through a tool that returns extracts. Every figure is checked again at its source, and goes into the Cloudflare ledger, before it enters a record.
The store (R2)
- An object may be 5 TiB; one upload 5 GiB; a multipart upload has up to 10,000 parts of at least 5 MiB, all but the last the same size; a key is at most 1,024 bytes. Reads, lists and deletes are strongly consistent.
- The Worker's binding can read, write, delete, list and run a multipart upload. It cannot copy or rename, and it cannot make a presigned address: that needs S3 credentials.
- Egress is free; storage and operations are what an instance's owner pays. There is no object versioning and no object lock.
Uploads through the Worker
- A request body is limited by the zone's plan (100 MB on the two smallest), so a large file goes up in parts, each under that limit.
- The documented way to resume is to send a failed part again.
Serving a file from the app's own site
- What stops an uploaded file from running in the app's origin: a download disposition, no type sniffing, a fixed safe type, and a sandboxing content policy; or a separate hostname for people's content.
Previews
- The platform can transform an image of up to 20 MB from the store, with a monthly free allowance and a price after it. Documents have no thumbnail service; a headless browser can render pages at a price.
The tree
- Since the store cannot rename, a folder tree kept in a database with opaque, unchanging object keys makes a rename or a move one row. A Durable Object's database holds 10 GB, and one row 8 MB.
Sharing
- A link's token: at least 128 bits from a cryptographic generator, an expiry, and a way to take it back.
Not available or not verified
- No scanning of uploaded content can be called from a Worker today.
- Whether the methods a desktop needs to mount a folder (WebDAV) reach a deployed Worker is not verified; only second-hand reports say so.
- Presigned multipart uploads, a password or download-only link as a standard, and the limits of image transformation beyond size were not read.
A decision record must answer
- Whose a file is (a person's, a shared space's), and what the membership rules of mail carry over.
- Where the tree lives and what an object's key is; what deleting means and when the bytes go.
- How a large file goes up, and whether an instance ever holds S3 credentials.
- How a file is served so that it can never run in the app's origin; whether people's content gets its own hostname.
- What a public link is, how long it lives, and who can take it back.
- How mail meets it: an attachment saved to files, a file attached to a message, and what a link in a message means for a reader outside the instance.
- Quotas, since the instance's owner pays for storage.
- What is left out of the first slice on purpose: previews, mounting from a desktop, scanning.
Done when
- The facts above are re-read at their sources and recorded in the ledger where they are platform facts.
- A decision record is proposed and accepted or changed by the project lead.
- The roadmap says where this module stands relative to the others.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 9 giờ 3 phút
- Pull request đã merge (30 ngày)
- 136
Chuẩn bị môi trường
- Không có Dockerfile hay 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 cloudhal-dev/podbay
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
cloudhal-dev/podbay#235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
cloudhal-dev/podbay#234 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
decision enhancement needs lead
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudhal-dev/podbay#116 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
decision enhancement needs lead security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudhal-dev/podbay#93 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: auth decision enhancement needs lead
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudhal-dev/podbay#87 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudhal-dev/podbay
Issue tương tự
-
area: bio enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Hilal-11/snaplnk.io#36 ·
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
elecnix/bellwether#570 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
canblmz1/prefix-safe-json#135 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ionic-team/capacitor#8759 ·
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 88/100
jenkins-infra/plugin-modernizer-stats#220 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày