Skip to content

Commit 38aa577

Browse files
committed
chore: update progress for US-177
1 parent a340a0f commit 38aa577

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

progress.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,3 +2203,33 @@ PRD: ralph/kernel-hardening (46 stories)
22032203
- generateKeyPairSync returns KeyObjects by default (no encoding options) or PEM strings when publicKeyEncoding/privateKeyEncoding are specified — mirrors Node.js behavior
22042204
- Three bridge refs suffice for all 6 API functions: sign, verify, and generateKeyPairSync; async variants (generateKeyPair) and KeyObject constructors (createPublicKey/createPrivateKey) are handled purely on the sandbox side
22052205
---
2206+
2207+
## 2026-03-18 - US-176
2208+
- What was implemented: pg (node-postgres) project-matrix fixture verifying Pool, Client, types, Query classes load and have expected methods
2209+
- Files changed:
2210+
- packages/secure-exec/tests/projects/pg-pass/package.json — new fixture with pg 8.13.1
2211+
- packages/secure-exec/tests/projects/pg-pass/fixture.json — pass expectation
2212+
- packages/secure-exec/tests/projects/pg-pass/src/index.js — imports pg, verifies Pool/Client/types/Query exports and prototype methods, checks type parser APIs and defaults module
2213+
- docs/nodejs-compatibility.mdx — added pg to Tested Packages table
2214+
- **Learnings for future iterations:**
2215+
- pg Pool/Client constructors with config trigger net.Socket on pool.end() — avoid calling connect/end/query in sandbox fixtures
2216+
- Fixture tests class existence and prototype methods without instantiating Pool/Client (which attempt network connections)
2217+
- require("pg/lib/defaults") gives access to default config values (host, port) for verification without triggering network
2218+
- Query class is exported directly from pg as a named export
2219+
---
2220+
2221+
## 2026-03-18 - US-177
2222+
- What was implemented: Added drizzle-orm project-matrix fixture that verifies ORM schema definition and query building in the sandbox
2223+
- Files changed:
2224+
- packages/secure-exec/tests/projects/drizzle-pass/package.json — fixture package with drizzle-orm 0.45.1 dep
2225+
- packages/secure-exec/tests/projects/drizzle-pass/fixture.json — standard pass fixture config
2226+
- packages/secure-exec/tests/projects/drizzle-pass/src/index.js — defines pgTable schema, checks column metadata, verifies eq/and/sql operators
2227+
- docs/nodejs-compatibility.mdx — added drizzle-orm to Tested Packages table
2228+
- scripts/ralph/prd.json — marked US-177 passes: true
2229+
- **Learnings for future iterations:**
2230+
- drizzle-orm CJS require works for both main entry ("drizzle-orm") and subpath ("drizzle-orm/pg-core")
2231+
- Table name accessed via Symbol.for("drizzle:Name"), not a plain property
2232+
- pgTable auto-adds "enableRLS" to column names — include it in sorted column list expectations
2233+
- drizzle-orm has zero dependencies — installs fast, good candidate for lightweight ORM testing
2234+
- e2e-project-matrix kernel tests fail for ALL fixtures (pre-existing), not a drizzle-specific issue
2235+
---

0 commit comments

Comments
 (0)