Return 403 ACTION_FORBIDDEN while Copilot is off.
Parse multipart GraphQL requests with the v0.27.5 upload limits. A
non-file field holds at most 1000000 bytes, a file at most 100 MiB, and a
request at most 32 files and map entries. Each limit returns 413 Payload
Too Large.
Limit JSON GraphQL bodies to 16 MiB.
Keep transcript slices in their upload files and leave the 50 MiB slice
check to the transcript runtime, after its duplicate-task check. Drop the
total upload cap. Read at most 100 MiB in setBlob.
Close dedicated session connections on every exit path. Take the domain
workspace lock with one blocking advisory lock.
Cache the search projection probe per storage. Compute
StorageBackendSpec::backend_identity without a client.
Use one millisecond renew script in server-worker. Split the node-semver
parser out of version_guard, and bound the invalid range log.
Remove the manifest test hook from the assetpack read path.
Move the _prisma_migrations replay, the top-level transaction stripping,
and the schema_baseline_0275 gate into phase_a_compat::prisma_baseline.
schema.rs keeps the native component migrations and calls the baseline
through one entry point.
Close the dedicated schema session connection on every exit path.
Add bounded reads (get_limited) and signed downloads (presign_get) to
BlobStorageBackend. The fs and assetpack backends check the size before
they read and cannot sign downloads. S3 signs with SigV4, and R2 behind a
signing worker signs with the upload URL prefix.
Read error bodies up to 64 KiB, keep the raw R2 sign key, and read the
download URL lifetime from presign.expiresInSeconds.
Upgrade assetpack-core to 0.4.2 (default-features = false, file-transform),
assetpack-transform-precomp2 to 0.4.4 (precomp2 0.3.4), brotli to 9, and
zstd to 0.14, and drop the direct lzma-rust2 dependency.
Refactor AssetpackBlobStorage onto sqlx SqlitePool, FileTransformConfig::fast,
FileReader, and TransformDecoderRegistry with zero-clone chunk reads, separate
read/write/transform semaphores, manifest-only promote_object, and Unix-second
object/cache timestamps. Add config.precomp2 (default true), reject precomp2 on
fs configs in both validation and startup parsing, document v0.27.5 coexistence
in docs/rollout-coexistence.md, and cover real 0.1.0 interop, PCF2 segment
bombs, and 16000x16000 PNG regressions.
- Upgrade `y-octo` to `0.4.2` (`y-octo-core 0.1.1`) in `packages/backend`
and add `y-octo-core` to `server-sync` and `server-domain` for write-boundary
v1 scanning.
- Reject new zero-length struct updates in `server-sync::storage::validate_doc_update`
and `server-domain::workspaces::create_workspace_with_init` via
`y_octo_core::decoder_v1::decode_update_v1` while keeping persisted
historical zero-length reads intact.
- Align workspace lifecycle root-doc decoding to `WORKSPACE_LIFECYCLE_MIGRATION_READ_LIMITS`
(`max_structs = 16_000_000`), propagate `ReadError::ResourceLimit` before
committing `storage_reconciliation_checkpoints`, and preserve the
`[affine-doc:resource_limit]` marker in `server-domain::doc_sharing`.
- Keep `ReadError::IncompleteSnapshot` fallback to `Doc::try_from_binary_v1`
in `server-sync` and `server-domain` while enforcing `ReadLimits`.
- Add regression tests for cross-frame zero-length poisoning, workspace init
zero-length rejection, legacy zero-length recovery, multi-client clock gaps,
alias `ResourceLimit` markers, and lifecycle `ResourceLimit` rollback plus retry.
Add public-repo API parity to `affine-server` and run the core cloud
Playwright suite against the Rust all-in-one server.
- Add HS256 Bearer access tokens, native session exchange, refresh,
revoke, and list REST endpoints, login preflight, profile updates,
WebP avatar transcoding and safe removal, and a distributed-locked
expired-session cleanup worker with background lease renewal.
- Unify workspace and per-document ACL evaluation (`acl.rs`), split
REST and GraphQL modules, and add workspace member management,
ownership transfer with readonly and quota invalidation guards, atomic
invite links, `createWorkspace(init)` transactional root snapshots,
`DocType`, `DocPermissions`, `createBlobUpload`, `calendarProviders`,
and SocketIO realtime workspace access and config rooms.
- Extract reachable blob keys with `y-octo` bounded BFS under
`REPEATABLE READ` snapshots with pre-merge budgets and bounded caching,
check per-doc ACL and reserved doc isolation on source-scoped blob
routes, paginate `readable-blob-manifest/v1` with SQL cursor pushdown,
and reject legacy blob reads with `403 UNSUPPORTED_CLIENT_VERSION`.
- Keep fresh DB bootstrap on the default v1 sync protocol until
activated, and accept both absent (v1) and active (v2) lifecycle
checkpoints on existing databases.
- Add `AFFINE_E2E_RUST_SERVER=1` Playwright support and a
`cloud-e2e-rust-server` CI job, extend the live parity scenario to
23 steps, and lower `waitForTimeout` usage from 336 to 312 (ratchet
from 324 to 316).
Add server-domain, server-mail, server-blob, and server-sync under packages/backend with y-octo 0.4.0.
Wire auth, blob, mail worker, and Socket.IO routes into server-http and affine-server.
Extend the parity harness and CSF frame audit checks.
Fix mail error redaction, expired terminal error codes, database clock reads in blob checks, and permission docs.
Add the STE writing skill and update AGENTS.md rules.