GeezerVison is showing github.com — Add protected GitHub Actions delivery for Atlas Search Worker by dezren39 · Pull Request #12568 · developing-today/code
Conversation
dezren39
commented
Nov 22, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Add separate, manually dispatched upload and promotion workflows for the already-deployed Atlas Search Worker.
- Upload uses
cf workers versions create and prints the new version ID without changing traffic.
- Promotion requires a specific version ID, checks Cloudflare's deployable-version set, creates the deployment at 100%, reads back the active split, and verifies the existing
/health response.
- Add
cloudflare.config.ts for the current Worker name, workers.dev route, SERVICE_BASE, SQLite QueryCache, and existing secret bindings. Keep wrangler.toml for local dev and Vitest.
- Disable the old
npm run deploy Wrangler path so production changes go through the explicit GitHub Actions flow.
The workflows only run by workflow_dispatch on main, use atlas-search-production, and never read laptop SOPS or Bitwarden stores. Upload supplies the existing Worker secrets from GitHub environment secrets using cf --secrets-file; secrets are not placed in repository files.
Environment prerequisite
The repository currently has no atlas-search-production environment. The workflow references it but this PR does not create or change GitHub settings. Before use, configure required reviewers for that environment and add CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID, ATLAS_SEARCH_GATE_TOKEN, ATLAS_SEARCH_SERVICE_TOKEN, ATLAS_SEARCH_ACCESS_CLIENT_ID, and ATLAS_SEARCH_ACCESS_CLIENT_SECRET there.
Verification
- Official compatibility pair:
[email protected] with Node 24.22.0; exact Worker build delegate pins are Wrangler 4.152.0 and Workers Types 5.20261019.1.
npm ci with Node 24.22.0.
npm test: 22 passed.
npm run typecheck: passed.
cf workers versions create --dry-run with Cloudflare credentials unset and dummy secret values: bundle/config validation passed; no Cloudflare API request or upload.
actionlint 1.7.12: passed for both new workflows.
No live deployment or GitHub settings were changed. Related delivery source: #6788 (closed, unassigned); repository CODEOWNERS lists @developing-today/codeowners and @dezren39.
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.
coderabbitai
Bot
commented
Nov 22, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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:
67753d35-350e-4966-989a-8242a7a65b10
Commits
-
Reviewing files that changed from the base of the PR and between 1d6ca73 and 1b4023c.
Files ignored due to path filters: 1
-
pkgs/atlas-search/worker/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 5
-
.github/workflows/atlas-search-worker-promote.yml
.github/workflows/atlas-search-worker-upload.yml
pkgs/atlas-search/worker/README.md
pkgs/atlas-search/worker/cloudflare.config.ts
pkgs/atlas-search/worker/package.json
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 22, 2026
|
Shepherd verdict (queue task 24100): closing — superseded by current main. Salvage note per protocol §8.
Claim-check: no human reviews or review findings on this PR (the only comment is a CodeRabbit rate-limit notice; reviews and review comments are empty). Mergeability re-checked against current main (3a9b0baec): CONFLICTING / DIRTY. A merge-tree against main conflicts in exactly four files — pkgs/atlas-search/worker/README.md, cloudflare.config.ts (add/add), package.json, and package-lock.json — and in each case main's version is the evolved successor of this PR's:
Salvage: the only pieces not on main are the two workflow files, preserved at head 1b4023cca67ae01ab72c84d5957f4ac3421fa9fe on branch codex/atlas-search-worker-actions (branch intentionally kept): .github/workflows/atlas-search-worker-upload.yml and .github/workflows/atlas-search-worker-promote.yml — in particular the promote workflow's deployable-version check, 100% deployment read-back, and /health verification are worth reusing if atlas-search is ever given a bespoke release workflow. Any revival should be a fresh slice built on the CF-1 standard and current main, not a rebase of this branch (its four config/manifest files should be taken from main wholesale).
Closing this PR rather than merging a stripped-down remainder, which would re-decide the delivery policy main has already settled. No closing keyword / linked issue is affected: the PR references #6788, which is already closed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|