githubnext/chopinPublic

Let's compose rich plans together

feat(experiments): persist fenced investigation runs and result publication

KCKrzysztof Cieslak authored committed by Krzysztof Cieślak
d87498fPatch
Parentdbceedd
17 files changed+468-1
StackedSplit
apps/server/package.json+1 −0
apps/server/src/experiments/service.test.ts+60 −0
apps/server/src/experiments/service.ts+174 −0
apps/server/src/storage/contract.ts+2 −0
apps/server/src/storage/experiment-contract.ts+31 −0
apps/server/src/storage/experiments.ts+10 −0
apps/server/src/storage/memory/adapter.ts+5 −0
apps/server/src/storage/memory/experiments.ts+40 −0
apps/server/src/storage/port.ts+2 −0
apps/server/src/storage/postgres/adapter.test.ts+1 −0
apps/server/src/storage/postgres/adapter.ts+6 −0
apps/server/src/storage/postgres/experiments.ts+57 −0
apps/server/src/storage/postgres/migrations.ts+3 −0
apps/server/src/storage/postgres/migrations/017_experiments.sql+10 −0
bun.lock+1 −0
packages/experiment/package.json+2 −1
packages/experiment/src/records.ts+63 −0