test(supabase): sheet-assets e2e on the sandbox only
pnpm e2e:sheet-assets is now an alias of pnpm db:sandbox sheet-assets-e2e: gateway on 127.0.0.1:57800 (occupied port refused), the runner refuses any URL but the sandbox gateway and any key not issued by the sandbox, before building or any request; no DEV URL, port or key remains.
This commit is contained in:
1 parent
57b93afae6
commit
f924ad056d
6 files changed
+64
-26
No files matched your search
@@ -155,9 +155,11 @@ oversized answer) is final. Exit codes: 0 done, 1 refused (usage, manifest,
|
||||
destination, content, handshake, state, access), 2 an argument that is not
|
||||
UTF-8, 3 network. The DEV address counts only if it is an address of this
|
||||
machine. The key is
|
||||
never printed and goes through no proxy. `pnpm e2e:sheet-assets` runs the
|
||||
whole behaviour against the local stack (upload, rerun, anon and wrong key,
|
||||
refused destinations, unreachable port). The TypeScript tool
|
||||
never printed and goes through no proxy. `pnpm e2e:sheet-assets` (= `pnpm db:sandbox
|
||||
sheet-assets-e2e`) runs the whole behaviour against the sandbox stack, never
|
||||
DEV (upload, rerun, anon and wrong key, refused destinations, unreachable
|
||||
port); the script refuses any URL but `http://127.0.0.1:57800` and any key
|
||||
whose issuer is not `db-sandbox`. The TypeScript tool
|
||||
(`packages/supabase/scripts/upload-sheet-assets.ts`) was deleted at R5.7 (RUST.md §11.23).
|
||||
|
||||
### 3.2 Files worker (Storage, Step 8)
|
||||
|
||||
@@ -1486,10 +1486,10 @@ A drawing never blocks authoring: only the round waits for its verdict.
|
||||
object's integrity undemonstrated (§12.3, §17.3).
|
||||
- `pnpm assets:upload` stays the seed tool of local and sandbox stacks. With
|
||||
the service role's table privileges revoked (F12), the same step gives the
|
||||
tool a narrow read RPC for its planning. `pnpm e2e:sheet-assets` targets the
|
||||
local DEV stack only, so V1-2.1 did not run it (sandbox-only rule); the
|
||||
tool's switch to that RPC is covered by its stub-server tests and pgTAP 006,
|
||||
and the rerun is an owner step of §16.11.
|
||||
tool a narrow read RPC for its planning. `pnpm e2e:sheet-assets` runs on the
|
||||
sandbox stack (`pnpm db:sandbox sheet-assets-e2e`, owner brief 2026-11-02);
|
||||
V1-2.1 did not run it, the tool's switch to that RPC is covered by its
|
||||
stub-server tests and pgTAP 006, and the sandbox run closes V1-2.3.
|
||||
- Objects are never deleted by the worker: its purge guard refuses any purge
|
||||
whose bucket is `anatomical-sheet-assets`, and no trigger enqueues a sheet
|
||||
object.
|
||||
@@ -2043,8 +2043,8 @@ The final approval needs all 30 groups acknowledged, no `to_confirm` and no
|
||||
the purge guard by bucket, sandbox tests and seccomp derivation, an e2e on
|
||||
the sandbox stack with the verification worker running; the avatar suite
|
||||
unchanged in outcome on the sandbox (`pnpm db:sandbox avatar-e2e`, owner
|
||||
decision 2026-11-01: `pnpm e2e:avatar` is now its alias, the DEV script removed); `pnpm e2e:sheet-assets` targets DEV only, its rerun
|
||||
is an owner step (§16.11).
|
||||
decision 2026-11-01: `pnpm e2e:avatar` is now its alias, the DEV script removed); `pnpm e2e:sheet-assets` now runs on the sandbox
|
||||
(`pnpm db:sandbox sheet-assets-e2e`, gateway on 127.0.0.1:57800, refuses DEV).
|
||||
- Release replay: a script loads every published version and drawing of a
|
||||
stack through the new core and fails on any regression.
|
||||
- Application: failure codes to FR and EN messages, editor state (undo,
|
||||
@@ -2177,7 +2177,8 @@ V1-2.7 on.
|
||||
- SQL changes: M6 (§12.3).
|
||||
- Tests: `pnpm worker:test`, hostile corpus, e2e on the sandbox, each failure
|
||||
of §6.5, upgrade rehearsal with a copy of the DEV object; `pnpm e2e:avatar`
|
||||
unchanged; `pnpm e2e:sheet-assets` rerun by the owner on DEV (§16.11).
|
||||
unchanged; `pnpm e2e:sheet-assets` on the sandbox (`pnpm db:sandbox
|
||||
sheet-assets-e2e`).
|
||||
- Acceptance: verdict accepted on a clean sheet; each failure produced and its
|
||||
exit working; a stale or malformed completion writes nothing; avatars and
|
||||
purges unaffected; publication refused without a current passed verdict;
|
||||
@@ -2329,8 +2330,9 @@ Each is an owner action, never run by Claude, after its own checkpoint:
|
||||
6. any submission, approval, publication, deprecation or archive;
|
||||
7. any factor reset (§5.6, §5.7.7) and any `object_conflict` deletion (§9.3);
|
||||
8. rerunning the equine seed;
|
||||
9. rerunning `pnpm e2e:sheet-assets` against DEV once M4 to M6 are applied
|
||||
(§9.5).
|
||||
9. uploading the equine drawing to DEV with the operator tool
|
||||
`pnpm assets:upload` once M4 to M6 are applied (§9.5); `pnpm e2e:sheet-assets`
|
||||
is sandbox-only and not part of this list.
|
||||
|
||||
### 16.12 Deferred (not V1-2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user