Files: what a decision needs to know
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- typescript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 1
- Forks
- 1
- Merge moyen
- 9 h 3 min
- PR mergées (30 j)
- 136
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cloudhal-dev/podbay
-
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
cloudhal-dev/podbay#235 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
cloudhal-dev/podbay#234 ·
Les mainteneurs répondent en général sous 1 jour
-
decision enhancement needs lead
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
cloudhal-dev/podbay#116 ·
Les mainteneurs répondent en général sous 1 jour
-
decision enhancement needs lead security
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
cloudhal-dev/podbay#93 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
area: auth decision enhancement needs lead
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
cloudhal-dev/podbay#87 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de cloudhal-dev/podbay
Issues similaires
-
area: bio enhancement good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Hilal-11/snaplnk.io#36 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
elecnix/bellwether#570 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
canblmz1/prefix-safe-json#135 ·
Les mainteneurs répondent en général sous 1 jour
-
triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
ionic-team/capacitor#8759 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
jenkins-infra/plugin-modernizer-stats#220 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours