GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — github-backup: add protected cf Versions release workflow by dezren39 · Pull Request #12567 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Adds an opt-in GitHub Actions release path for the existing developing-today-backup Worker while leaving the operator deploy tool unchanged.

  • upload uses cf workers versions create and stops before traffic changes.
  • A separate promote dispatch requires the full version UUID, checks the two required secret bindings and the existing GHB_EVENTS KV namespace ID, then promotes exactly that UUID at 100%. It verifies the latest deployment and /health afterward.
  • The workflow runs only by manual dispatch from main, uses a protected GitHub environment, grants contents: read, and pins checkout/setup-node by SHA plus Node/npm, cf, and Wrangler versions.
  • Adds the cf TypeScript config generated by cf migrate; the existing Worker name, compatibility date, source entrypoint, and KV namespace are retained. The existing wrangler.toml, deploy.mjs, and deploy.sh remain unchanged.

[email protected] was released Nov 17 and supports Config 1.0 / Build Output v1. Wrangler 4.163.0 is pinned to meet that release's delegated build requirement. cf release notes · Cloudflare Wrangler migration guidance · Node 24.22.0.

Before first use

Configure the developing-today-backup-production GitHub environment with at least one required reviewer and restrict deployments to main. Add CLOUDFLARE_ACCOUNT_ID as an environment variable and these environment secrets: CLOUDFLARE_API_TOKEN with Workers Editor scoped to this Worker, BACKUP_WORKER_BEARER, and BACKUP_WEBHOOK_SECRET from the existing Bitwarden entries. No repository settings or secrets were changed in this PR.

Verification

  • npm ci --no-audit --no-fund succeeded with Node 24.22.0 / npm 11.19.1; installed cf 1.0.0-rc.1 and Wrangler 4.163.0 matched the workflow pins.
  • node --test test/index.test.mjs test/release-version.test.mjs: 16 passed.
  • cf workers versions create --dry-run built the Worker with fixture-only secrets and showed the existing KV namespace ID plus both secret binding names; no upload occurred.
  • cf workers versions get --dry-run, cf workers deployments create --dry-run, and cf workers deployments list --dry-run rendered the expected API operations. The create dry-run showed the specified UUID at 100%; no API request or traffic change occurred.
  • Both workflow YAML files parsed, all embedded run scripts passed bash -n, and git diff --check passed.

No live deployment or traffic promotion was run. The GitHub environment protection and its secrets remain cutover prerequisites.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 2 commits November 22, 2026 13:40
@dezren39
github-backup: add protected cf versions release workflow
4b1f6fe
@dezren39
Merge remote-tracking branch 'origin/main' into github-backup/gha-cf-…
e8e2768
…versions
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 949823b5-9374-4a07-b74d-a83c2ca6ec5b
Commits

Reviewing files that changed from the base of the PR and between 1d6ca73 and e8e2768.

Files ignored due to path filters: 1

  • infra/github-backup/worker/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 7

  • .github/workflows/github-backup-tests.yml
  • .github/workflows/github-backup-worker-release.yml
  • infra/github-backup/docs/RUNBOOK.md
  • infra/github-backup/worker/cloudflare.config.ts
  • infra/github-backup/worker/package.json
  • infra/github-backup/worker/release-version.mjs
  • infra/github-backup/worker/test/release-version.test.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 22, 2026
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
AUDIT-7 Lane 1 — PR-SWEEP tracking (open PRs, 4 repos) #13872
Open
AUDIT-7 Lane 1 follow-up: rebase-and-merge queue for 90 blocked PRs (batches A–H) #13903
Closed
Project Management book — fifth house book, coverage audit, sidelines, Space #13900
Closed
@dezren39
dezren39 marked this pull request as ready for review November 24, 2026 08:16
@dezren39
dezren39 merged commit df60582 into main Nov 24, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the github-backup/gha-cf-versions branch November 24, 2026 08:16
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 24, 2026
Open-PR clearance programme 2026-11-24: every open PR merged, fixed+merged, or tasked #14166
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.