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 74d69101e1481fd899e4f5703973abc4d3b713b4
Checked out 74d69101e1481fd899e4f5703973abc4d3b713b4
##[group]Install Wrangler
npm ci --workspaces=false --no-audit --no-fund
##[endgroup]
shell: bash -e /home/runner/_temp/18dc5c76d8a8d0f8.sh

added 39 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 "chat,agents"
##[endgroup]
shell: bash -e /home/runner/_temp/18df5c7ad398c5d0.sh
== migrations: g1t-chat (1), g1t-agents (1)
[chat-migrations]  ⛅️ wrangler 4.146.0
[chat-migrations] ────────────────────
[chat-migrations] Resource location: remote 
[agents-migrations]  ⛅️ wrangler 4.146.0
[agents-migrations] ────────────────────
[agents-migrations] Resource location: remote 
[agents-migrations] Migrations to be applied:
[agents-migrations] ┌──────────────────────┐
[agents-migrations] │ name                 │
[agents-migrations] ├──────────────────────┤
[agents-migrations] │ 0013_archived_by.sql │
[agents-migrations] └──────────────────────┘
[agents-migrations] ? About to apply 1 migration(s)
[agents-migrations] Your database may not be available to serve requests during the migration, continue?
[chat-migrations] Migrations to be applied:
[agents-migrations] 🤖 Using fallback value in non-interactive context: yes
[agents-migrations] 🌀 Executing on remote database g1t-agents (454dd730-b6cb-42a3-885f-a02f9adbfce0):
[agents-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[chat-migrations] ┌────────────────────────┐
[chat-migrations] │ name                   │
[chat-migrations] ├────────────────────────┤
[chat-migrations] │ 0004_former_agents.sql │
[chat-migrations] └────────────────────────┘
[chat-migrations] ? About to apply 1 migration(s)
[chat-migrations] Your database may not be available to serve requests during the migration, continue?
[chat-migrations] 🤖 Using fallback value in non-interactive context: yes
[chat-migrations] 🌀 Executing on remote database g1t-chat (e837affd-a435-4408-9345-14d55d520316):
[chat-migrations] 🌀 To execute on your local development database, remove the --remote flag from your wrangler command.
[agents-migrations] 🚣 Executed 2 commands in 1.28ms
[agents-migrations] ┌──────────────────────┬────────┐
[agents-migrations] │ name                 │ status │
[agents-migrations] ├──────────────────────┼────────┤
[agents-migrations] │ 0013_archived_by.sql │ ✅     │
[agents-migrations] └──────────────────────┴────────┘
[chat-migrations] 🚣 Executed 2 commands in 0.68ms
[chat-migrations] ┌────────────────────────┬────────┐
[chat-migrations] │ name                   │ status │
[chat-migrations] ├────────────────────────┼────────┤
[chat-migrations] │ 0004_former_agents.sql │ ✅     │
[chat-migrations] └────────────────────────┴────────┘

unit                    stage       result  version    time  note
----------------------  ----------  ------  ---------  ----  ----
chat (D1 g1t-chat)      migrations  ok      1 applied  9.4s
agents (D1 g1t-agents)  migrations  ok      1 applied  9.2s
