Skip to content

Per-account quota: decide the figure after global photo processing (10 GB stopgap since 09.09.2026) #115

Description

@Devski

Opened 09.09.2026 (Dawid, in conversation). The per-account quota (A9) went from 1 GB to 10 GB the same day, in one constant (QUOTA_BYTES in src/lib/quota.ts), because the first real orbit archive could not be uploaded on dev: 1.8 GB of PNG frames, which a zip cannot shrink, against a 1 GB account. Dawid wants uploads of that kind allowed. 10 GB is a stopgap figure, not a decision about the product; this issue is where the figure gets decided.

When

After photo processing is global (#71, imgproxy or its alternative) and after #69 has narrowed the counted number to the largest kept representation of every asset, with the R360 archive out of the sum as SPEC A12/A13 already say. Both change what a gigabyte of quota buys, so the figure is set after them, not before.

What to decide

  • The free quota per account, and whether the R360 archive stays outside it (SPEC §10, "A free 10 GB for everyone"; the archive row "to revisit with the paid-model conversation").
  • The pain threshold in §10: at 10 GB it is ~1,000 full accounts for ~€75/month (OVHcloud, zero egress). Recompute with the real figure and the real share of accounts that fill up.
  • Whether ARCHIVE_MAX_BYTES (5 GB, the single CopyObject limit on AWS) still bounds the archive correctly on OVHcloud now that an archive that size fits the quota. Dawid's 1.8 GB trial exercises a copy above 1 GB on the real bucket; the 5 GB edge stays unverified (comment in src/lib/archive-upload.ts).

What the change of 09.09.2026 touched

QUOTA_BYTES, the two "quota exceeded" messages in pl/en, the e2e text, SPEC A9 and the §10 row, the frame-set quota test (which now fills the account to leave room for two 360-frame sets instead of relying on three sets passing 1 GB).

Spec: SPEC.md A9, A12, A13, §10 · Related: #69, #71, #30 · Label: decision, enhancement

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    decisionOpen decision from SPEC section 12enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions