Skip to content

MANUAL RUN: switch on borg-edge (environment, Cloudflare secrets, BORG_EDGE=1) #878

Closed as not planned

Description

@QuinnsCode

Follow-up to #866 / #877. Agents can't add secrets or environments, so this one is the owner's. #865 (the Free-plan deploy and its edge grid) is folded in here: the first borg-edge run deploys slim borg, writes the grid to the job summary and destroys it, so it covers #865 in the same sitting.

  1. Pick the Cloudflare account. A Free-plan account is best, so the run shows which bindings need Workers Paid.
  2. Settings → Environments → new borg-edge, with required reviewers (like npm).
  3. Environment secrets: CLOUDFLARE_API_TOKEN (Workers Scripts, D1, Workers KV, R2 and Queues: Edit) and CLOUDFLARE_ACCOUNT_ID, for that account.
  4. Repository variable BORG_EDGE=1.
  5. Run borg-edge from the Actions tab once and approve it.
    • If the cost cap refuses a binding as Workers-Paid-only, or the deploy refuses one (Queues and R2 are the likely ones), either set BORG_ALLOW_PAID=1 or put that binding behind a flag in apps/borg/rustybuns.config.ts so the rest still deploys on Free.
  6. Check the job summary: every check ✓, and every limit ✓ (refused). A limit the edge accepts means borg's number in apps/borg/README.md is wrong. Paste the grid here.
  7. Check that destroy and the final sweep left nothing behind.

One run sits inside the free allowances.

Activity

  1. added
    manual runNeeds the owner to run it by hand (tokens, sign-ins); agents can't close it
    on Oct 12, 2026
  2. QuinnsCode commented on Oct 14, 2026

    @QuinnsCode
    OwnerAuthor

    Folded into the one manual-run list, section 9 of #609 (easiest first, with times). This issue's steps stay here; tick the item in #609.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    manual runNeeds the owner to run it by hand (tokens, sign-ins); agents can't close it

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions