Job: Migrations
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet --depth=1 origin refs/heads/main
[command]git checkout --quiet --force -B main 33da85c42bf0fc91f049f13ffca64edc2339612a
Checked out 33da85c42bf0fc91f049f13ffca64edc2339612a
##[group]Install Wrangler
npm ci --workspaces=false --no-audit --no-fund
##[endgroup]
shell: bash -e /home/runner/_temp/18dda6d77e1ed1fa.sh

added 37 packages in 15s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Apply pending migrations
node scripts/deploy.mjs migrate --only "work,billing,actions"
##[endgroup]
shell: bash -e /home/runner/_temp/18dea6dbd587f411.sh
== migrations: g1t-work (1), g1t-billing (1), g1t-actions (2)
[work-migrations]  ⛅️ wrangler 4.146.0
[work-migrations] ────────────────────
[work-migrations] Resource location: remote 
[billing-migrations]  ⛅️ wrangler 4.146.0
[billing-migrations] ────────────────────
[billing-migrations] Resource location: remote 
[actions-migrations]  ⛅️ wrangler 4.146.0
[actions-migrations] ────────────────────
[actions-migrations] Resource location: remote 
[billing-migrations] Migrations to be applied:
[billing-migrations] ┌───────────────────────────────┐
[billing-migrations] │ name                          │
[billing-migrations] ├───────────────────────────────┤
[billing-migrations] │ 0049_superseded_proposals.sql │
[billing-migrations] └───────────────────────────────┘
[billing-migrations] ? About to apply 1 migration(s)
[billing-migrations] Your database may not be available to serve requests during the migration, continue?
[billing-migrations] 🤖 Using fallback value in non-interactive context: yes
[billing-migrations] 🌀 Executing on remote database g1t-billing (695a6979-fd07-4850-bc97-904a6b4b7a04):
[billing-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[work-migrations] Migrations to be applied:
[work-migrations] ┌────────────────────────┐
[work-migrations] │ name                   │
[work-migrations] ├────────────────────────┤
[work-migrations] │ 0030_comment_edits.sql │
[work-migrations] └────────────────────────┘
[work-migrations] ? About to apply 1 migration(s)
[work-migrations] Your database may not be available to serve requests during the migration, continue?
[work-migrations] 🤖 Using fallback value in non-interactive context: yes
[work-migrations] 🌀 Executing on remote database g1t-work (f35a9022-e36b-4547-b596-9ab9d5f1c47a):
[work-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[billing-migrations] 🚣 Executed 2 commands in 0.86ms
[billing-migrations] ┌───────────────────────────────┬────────┐
[billing-migrations] │ name                          │ status │
[billing-migrations] ├───────────────────────────────┼────────┤
[billing-migrations] │ 0049_superseded_proposals.sql │ ✅     │
[billing-migrations] └───────────────────────────────┴────────┘
[work-migrations] 🚣 Executed 3 commands in 4.20ms
[work-migrations] ┌────────────────────────┬────────┐
[work-migrations] │ name                   │ status │
[work-migrations] ├────────────────────────┼────────┤
[work-migrations] │ 0030_comment_edits.sql │ ✅     │
[work-migrations] └────────────────────────┴────────┘
[actions-migrations] Migrations to be applied:
[actions-migrations] ┌─────────────────────────┐
[actions-migrations] │ name                    │
[actions-migrations] ├─────────────────────────┤
[actions-migrations] │ 0008_actions_access.sql │
[actions-migrations] ├─────────────────────────┤
[actions-migrations] │ 0009_run_attempts.sql   │
[actions-migrations] └─────────────────────────┘
[actions-migrations] ? About to apply 2 migration(s)
[actions-migrations] Your database may not be available to serve requests during the migration, continue?
[actions-migrations] 🤖 Using fallback value in non-interactive context: yes
[actions-migrations] 🌀 Executing on remote database g1t-actions (95ccaa88-8e15-4b90-81e2-0d02d8ce869d):
[actions-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[actions-migrations] 🚣 Executed 2 commands in 1.10ms
[actions-migrations] ┌─────────────────────────┬────────┐
[actions-migrations] │ name                    │ status │
[actions-migrations] ├─────────────────────────┼────────┤
[actions-migrations] │ 0008_actions_access.sql │ ✅     │
[actions-migrations] ├─────────────────────────┼────────┤
[actions-migrations] │ 0009_run_attempts.sql   │ 🕒️    │
[actions-migrations] └─────────────────────────┴────────┘
[actions-migrations] 🌀 Executing on remote database g1t-actions (95ccaa88-8e15-4b90-81e2-0d02d8ce869d):
[actions-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[actions-migrations] 🚣 Executed 9 commands in 6.07ms
[actions-migrations] ┌─────────────────────────┬────────┐
[actions-migrations] │ name                    │ status │
[actions-migrations] ├─────────────────────────┼────────┤
[actions-migrations] │ 0008_actions_access.sql │ ✅     │
[actions-migrations] ├─────────────────────────┼────────┤
[actions-migrations] │ 0009_run_attempts.sql   │ ✅     │
[actions-migrations] └─────────────────────────┴────────┘

unit                      stage       result  version    time   note
------------------------  ----------  ------  ---------  -----  ----
work (D1 g1t-work)        migrations  ok      1 applied  11.0s
billing (D1 g1t-billing)  migrations  ok      1 applied  10.8s
actions (D1 g1t-actions)  migrations  ok      2 applied  11.3s
