Repository navigation
Remove Netlify demo deployment - #7
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Removes the Netlify-based demo deployment from CI and updates documentation to describe the deployment requirements for hosting the public demo at https://lightning.community/go-wasmsqlite/, including required cross-origin isolation headers and operational notes about redirect loops.
Changes:
- Remove the Netlify production deploy job from the GitHub Actions CI workflow.
- Replace the README’s Netlify section with general deployment requirements for the lightning.community route, including COOP/COEP/CORP header requirements and proxy/redirect guidance.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Replaces Netlify-specific instructions with general deployment requirements and operational guidance for lightning.community hosting. |
| .github/workflows/ci.yml | Deletes the Netlify deployment job from CI to stop demo deployments as part of the workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+398
to
+402
| It must also serve `*.wasm` as `application/wasm`. The repository keeps | ||
| `example/_headers` for static hosts that understand that file format, but | ||
| GitHub Pages does not apply `_headers`; the `lightning.community` route should | ||
| therefore terminate on a header-capable edge/proxy or the reusable Lightning | ||
| Labs WASM static server. |
Comment on lines
84
to
88
| - name: Install Playwright browser | ||
| run: npx playwright install --with-deps chromium | ||
|
|
||
| - name: Run Playwright tests | ||
| run: npm test |
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.
Summary
enable-threads.js)https://lightning.community/go-wasmsqlite/Notes
The current
lightning.community/go-wasmsqlite/failure is a server-side same-location 301 loop before any app JavaScript loads. It cannot be fixed by demo JavaScript; the route/origin needs to avoid redirecting back to itself while adding COOP/COEP/CORP headers.Once the public route serves real isolation headers, the service-worker shim is unnecessary and should be removed so missing headers fail visibly.
Testing
go test ./...make build-wasmcd example && GOOS=js GOARCH=wasm go build -o main.wasm .WASM_BROWSER_TEST=1 go test -run TestBrowserE2E ./...