Skip to content

Remove Netlify demo deployment - #7

Merged
sputn1ck merged 1 commit into
mainfrom
kon/remove-netlify-deploy
Jun 27, 2026
Merged

sputn1ck merged 1 commit into
mainfrom
kon/remove-netlify-deploy

Conversation

@sputn1ck

@sputn1ck sputn1ck commented Jun 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • remove the Netlify production deploy job from CI
  • remove the GitHub Pages service-worker header shim (enable-threads.js)
  • replace the deployment docs with requirements for https://lightning.community/go-wasmsqlite/
  • document that the public route must be served by a header-capable edge/proxy

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-wasm
  • cd example && GOOS=js GOARCH=wasm go build -o main.wasm .
  • WASM_BROWSER_TEST=1 go test -run TestBrowserE2E ./...

Copilot AI review requested due to automatic review settings June 27, 2026 09:12
@sputn1ck
sputn1ck merged commit df8287b into main Jun 27, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread README.md
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 thread .github/workflows/ci.yml
Comment on lines 84 to 88
- name: Install Playwright browser
run: npx playwright install --with-deps chromium

- name: Run Playwright tests
run: npm test
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.

2 participants