Skip to content

Fix/r2 sync region#409

Merged
jeffreyaven merged 5 commits into
devfrom
fix/r2-sync-region
Jun 27, 2026
Merged

Fix/r2 sync region#409
jeffreyaven merged 5 commits into
devfrom
fix/r2-sync-region

Conversation

@jeffreyaven

Copy link
Copy Markdown
Member

No description provided.

jeffreyaven and others added 5 commits June 27, 2026 08:10
The blue-green cutover to the Cloudflare Worker is done (dev + prod on R2/D1),
so origin/MIGRATION.md and origin/RUNSHEET.md are no longer needed. Drop them and
the README's dangling Migration link. Deno/S3 decommission steps are tracked
separately as an operational checklist (tmp/DENO_DECOMMISION.md, not committed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Tests dev and prod on both the workers.dev hostnames and the production DNS
names. Covers the full URL contract (ping/pong, providers.yaml, a real .tgz with
gzip + immutable cache-control, 404, 405, /analytics, /analytics/last24hours),
checks responses are served by Cloudflare (server + cf-ray headers), and runs
live stackql registry list + pull against each origin. Colored PASS/FAIL output
with a summary; non-zero exit on any failure.

Preflight installs stackql from get-stackql.io if not present in cwd. Manual only
(not wired into CI). Note: pulls and .tgz fetches log to D1 analytics by design.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…L-safe

On WSL the script is typically run from a Windows drive mount (/mnt/c, DrvFs).
Bash reads a script incrementally and re-seeks the file fd as it executes; on
DrvFs that can be corrupted by the burst of subprocesses the documented
`curl -fsSL https://get-stackql.io/install | sh` step spawns mid-run, producing
a spurious 'unexpected EOF while looking for matching quote' parse error.

Wrap all execution in main() invoked at EOF so bash parses the entire file in
one pass before any subprocess runs. Keeps the documented install command as-is.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jeffreyaven jeffreyaven merged commit 826a1f1 into dev Jun 27, 2026
5 checks passed
@jeffreyaven jeffreyaven deleted the fix/r2-sync-region branch June 27, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant