updated get-app#49
Merged
Merged
Conversation
jeffreyaven
commented
Jun 24, 2026
Member
- moved to cloudflare
- added smoke tests
- added windows install script
Port the get-stackql-deploy.io platform-detect/redirect service from a Deno Deploy app to a Cloudflare Worker. The handler logic is unchanged - all three behaviours (UA-based release redirect, /install.sh installer, fallback redirect) use Web-standard APIs, so only the runtime entrypoint changed from Deno.serve to a Module Worker fetch handler. - src/index.ts: ported handler - wrangler.toml: custom_domain route for the apex (Wrangler manages DNS) - package.json, tsconfig.json, .gitignore: worker tooling - README.md: dev, deploy, and DNS cutover instructions Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pins the dependency tree for reproducible installs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The first wrangler deploy fails the custom-domain trigger with a 409 because the old Deno apex record is still present. Document the delete-and-redeploy fix and the dashboard override alternative. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Serve a PowerShell installer from the worker so Windows users get a one-liner (irm https://get-stackql-deploy.io/install.ps1 | iex) matching the curl | sh flow on Linux/macOS. It downloads and expands the Windows zip into the current directory. Update the worker README and getting-started docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- /install now detects the calling shell from the User-Agent and serves the sh installer for curl/wget or the PowerShell installer for irm/iwr. /install.sh and /install.ps1 remain as explicit verbose options. - Fetching install.sh from PowerShell (or install.ps1 from curl/wget) returns a short message in the right shell's language pointing at the correct command, instead of a cascade of interpreter errors. - install.sh detects POSIX-shell-on-Windows (MINGW/MSYS/CYGWIN) and install.ps1 detects PowerShell-on-non-Windows, each pointing at the other installer. - Replace "unsupported OS/arch" wording with friendly "no prebuilt binary for your CPU/system" messages linking the releases and docs pages. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
test-get-app.sh and test-get-app.ps1 verify the live get-stackql-deploy.io worker: Cloudflare origin, every installer path / wrong-shell guard, the UA-based root redirects, and a real end-to-end install + run of the platform binary. The sh script stops at its Windows-shell guard when run under Git Bash; run it on macOS/Linux for the full install path. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Each check now prints a green PASS or red FAIL, all checks run instead of bailing on the first failure, and both scripts end with a colored summary box and a non-zero exit on any failure. The sh script gates ANSI codes on a TTY so piped output stays clean; the PowerShell script uses -ForegroundColor. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.