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

added 37 packages in 10s
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]The manifest matches every wrangler.jsonc
node scripts/deploy.mjs manifest --check
##[endgroup]
shell: bash -e /home/runner/_temp/18df4de710f5440f.sh
deploy/stack.jsonc is consistent with every wrangler.jsonc.
##[group]The deploy tool's tests
npm run test:deploy
##[endgroup]
shell: bash -e /home/runner/_temp/18de4de79edceac4.sh

> test:deploy
> node --test "scripts/deploy/*.test.mjs"

error: no matching package named `base64` found
location searched: crates.io index
required by package `g1t-api v0.1.0 (/home/runner/work/repo/apps/api)`
note: offline mode (via `--offline`) can sometimes cause surprising resolution failures
help: if this error is too confusing you may wish to retry without `--offline`
✔ the manifest matches every wrangler config in the repository (93.97355ms)
✔ every wrangler.jsonc is found, and only checked-in ones (81.069099ms)
✔ problems are found: an unlisted config, a later-stage binding, a wrong database, an unnamed KV (101.506436ms)
✔ stages follow bindings: nothing binds to a unit that ships after it (1.414961ms)
✔ inside a stage, a Worker that does not exist yet goes before those bound to it (1.599941ms)
✔ Rust workers build with the shared script and the same wasm-opt level (1.691932ms)
✔ shared crates and packages are read from workspace metadata (0.52332ms)
✔ the runner's image is built from the runner crate and what it uses, on the base its lock names (0.652591ms)
✔ services/runner/base.json records the base its folder builds (14.724913ms)
✔ an image's hash ignores line endings, and its tags say what they are (287.924475ms)
✔ only the lockfile entries the runner is built from name its image (0.913211ms)
✔ the runner's deploy config names its image by reference, beside its wrangler.jsonc (77.316636ms)
✔ the registry is asked for an image's manifest, without Docker (2.391682ms)
✔ a push counts only when it ends with a digest, and is tried again (1.329661ms)
✔ a static Linux binary is told from a dynamic one (1.894551ms)
﹣ path dependencies agree with Cargo's own resolved graph (1290.29529ms) # cargo metadata could not resolve offline
✔ every import that leaves a unit's folder is covered by its dependencies or inputs (131.305602ms)
✔ a shared crate's change reaches every unit built from it, and no other (1.066581ms)
✔ a shared package's change reaches what imports it (0.19043ms)
✔ a crate's tests, benches and examples deploy nothing (0.845571ms)
✔ a Rust file compiled only for tests is found from what declares it (1.416881ms)
✔ this repository's test-only sources are read from git (793.330756ms)
✔ decide: a change only to tests deploys nothing (1.395391ms)
✔ own folders, declared inputs and root files (1.670041ms)
✔ a Cargo.lock change reaches only crates that use what changed (0.408041ms)
✔ a package-lock change reaches through workspace links (0.68136ms)
✔ decide: changed units deploy, others wait, unknown ones deploy (0.39343ms)
✔ decide: --force deploys unchanged units; a commit missing from history deploys (0.160331ms)
✔ decide: Cargo.lock counts only where it reaches (0.61981ms)
✔ decide: the runner's image rebuilds only when what it is built from changed (0.447821ms)
✔ the plan as data: migrations, and each stage's units in jobs that share a build (1.133381ms)
✔ units are picked by short name, folder or Worker name (0.39753ms)
✔ a CI job installs only what its units need (1.216181ms)
✔ a deploy is annotated with its commit, and read back (0.21574ms)
✔ the live commit: the live version's, looking through secret changes (0.363851ms)
✔ Wrangler's output: pending migrations and the version a deploy made (0.44229ms)
✔ the API's answers: the live commit as Wrangler's would give it (1.094341ms)
✔ the API's answers: a Worker never deployed, and a refusal, never throw (503.417399ms)
✔ the API is used only with the token Wrangler would be given (0.701581ms)
✔ pending migrations: the folder's files less the names in d1_migrations (1.600501ms)
✔ the pool runs everything, no more than its limit at once (16.183374ms)
✔ self-hosting builds every Rust service the manifest says it runs (0.850201ms)
✔ the self-hosting architecture page names every unit (0.27711ms)
✔ resolveStack works on a manifest with no workspace crates or packages (8.825608ms)
✔ decide: a commit older than what runs is never deployed by accident, even forced; --rollback means it (0.30193ms)
✔ a deploy by hand reports to the repository on g1t, and a workflow's does not (1.987062ms)
✔ webhooks: the hourly purge deletes old deliveries by time (2.517802ms)
✔ billing: this month's users are read from an index, not the ledger (49.812283ms)
✔ events: a repository's events of one type, newest first, page by page (2.730582ms)
✔ actions: a self-hosted runner's poll finds queued jobs by namespace, whatever its case (9.607258ms)
✔ chat: a channel's messages and a thread's replies, newest first, page by page (2.383011ms)
✔ chat: the sidebar's unread messages are read from each channel's index, after the last read (1.697461ms)
✔ chat: a page's reactions are read by message, and a workspace's emoji by name (3.234933ms)
scheduler: g1t-webhooks (* * * * *) is still running from the last time; skipped
scheduler: g1t-webhooks (* * * * *): 200 {"outcome":"exception"}
✔ fields read numbers, ranges, lists and steps (1.868592ms)
✔ the services' crons match when hosted g1t's would fire (1.893092ms)
✔ what is due is each matching cron of each service (0.3767ms)
✔ a run asks Wrangler for the handler, and a slow one is not doubled (88.487876ms)
✔ a deploy is announced to status.g1t.sh with the token, and without one nothing is sent (87.694745ms)
✔ an announcement that fails is a warning, never a failed deploy (0.644931ms)
✔ the stages run inside the window: started before, finished after, even when they throw; a dry run says nothing (1.113701ms)
✔ deploy.mjs announces every deploy, and the workflow passes it the token (0.485311ms)
ℹ tests 61
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 1
ℹ todo 0
ℹ duration_ms 4406.457776
