Skip to content

Checks that a server app deploys as a container on g1t.page

Deployments

ProductionDeployed

Deployment of main by syntaqx via g1t.page,

container-check-flagonio.g1t.page

Production on g1t.page

Environment
Production
Commit
82d0863main
Made by
syntaqxvia g1t.page
Updated
created

Statuses 3

  1. Queuedsyntaqx ·

    Waiting for a sandbox

    Log

  2. Deployingsyntaqx ·

    Building

    Log

  3. Deployedsyntaqx ·

    Live

    container-check-flagonio.g1t.pageLog

Build on g1t.pageLive · built in 19 s

Build log

Running this Express server as a Worker, from `index.js`; it is deployed as a container instead if it cannot run as one.
$ npm ci

added 68 packages, and audited 69 packages in 1s

28 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.0
npm notice To update run: npm install -g npm@12.2.0
npm notice
g1t wrote this Worker entry for `index.js` (`cloudflare:node`'s httpServerHandler serves its server):
    // Written by g1t: runs this Node.js app as a Worker.
    import "./g1t-prelude.mjs";
    import { httpServerHandler } from "cloudflare:node";
    import * as app from "/work/repo/index.js";
    
    const { Response: NativeResponse } = globalThis.__g1tGlobals;
    const own = app.default && typeof app.default.fetch === "function" ? app.default : null;
    let handler;
    
    // A response made with a replaced Response class, as the runtime's own.
    async function native(answer) {
      const response = await answer;
      if (Object.getPrototypeOf(response) === NativeResponse.prototype) return response;
      return new NativeResponse(response.body, { status: response.status, statusText: response.statusText, headers: response.headers });
    }
    
    export default {
      fetch(request, env, ctx) {
        if (own) return native(own.fetch(request, env, ctx));
        const server = globalThis.__g1tServers.at(-1);
        if (!server) return new NativeResponse("The app started no HTTP server: it never called listen().", { status: 500 });
        handler ??= httpServerHandler(server);
        return handler.fetch(request, env, ctx);
      },
    };
$ npx --yes wrangler@4 deploy --dry-run --config /work/g1t-bundle.node/wrangler.json --outdir /work/g1t-bundle

 ⛅️ wrangler 4.149.0
────────────────────
▲ [WARNING] Import "default" will always be undefined because there is no matching export in "../repo/index.js" [import-is-undefined]

    g1t-entry.mjs:7:16:
      7 │ const own = app.default && typeof app.default.fetch === "function" ...
        ╵                 ~~~~~~~


Total Upload: 1153.55 KiB / gzip: 298.30 KiB
No bindings found.
--dry-run: exiting now.

Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
It started and answered a request, as a Worker.