quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
148 stars 22 forks source link

Script runner for Staging environment #3186

Open OAGr opened 2 months ago

OAGr commented 2 months ago

Description of suggestion or shortcoming:

Our Staging environment could really use some build runner.

berekuk commented 2 months ago

Yeah.

For the record, yesterday, to check one of your open PRs, I had to do this to populate "Variables" tab:

  1. terraform output dev_db_prisma_url in terraform/stacks/quri in ops repo, to get the correct DATABASE_URL
  2. npx turbo bundle in packages/hub
  3. DATABASE_URL=... node ./dist/buildRecentModelRevision/main.js

(btw, pnpm run build-last-revision is currently broken, because the worker is assumed to be already in .js format, so tsx version doesn't work anymore)