Skip to content

Instantly share code, notes, and snippets.

@mdeguzis
Last active June 17, 2026 11:48
Show Gist options
  • Select an option

  • Save mdeguzis/d35af3dafeb52e6dda04645d1622899d to your computer and use it in GitHub Desktop.

Select an option

Save mdeguzis/d35af3dafeb52e6dda04645d1622899d to your computer and use it in GitHub Desktop.
Proton Pulse remote checkpoint - cross-device session state

Proton Pulse Web Checkpoint - 2026-06-17

Current state

HEAD: 26acbd850 on main -- all CI green, staging and prod in sync.

Live site: https://www.proton-pulse.com/ Staging: https://mdeguzis.github.io/proton-pulse-web-staging/

What was done this session

  • Added Discord nav link (desktop + mobile drawer) with custom SVG icon in topbar.js
  • Fixed staging sync workflow: switched from gh repo sync to direct git push, added persist-credentials: false, fixed PAT needing workflow scope
  • Renamed sync workflow badge to "Sync staging repo"
  • Added Supabase schema test retry logic (2 attempts, 3s backoff) for 5xx responses
  • Restored Supabase credentials to CI workflow
  • Added main branch protection (requires test CI job to pass, blocks force push + deletion)
  • Wrote Web-Deploy-Workflow.md wiki page, linked from Home.md

Pending / next steps

  • Feature branch + GH issue workflow rule added to CLAUDE.md and wiki (just completed)
  • Issue #41: "Not rated yet" filter (not started, Discord post drafted in gist)
  • Admin mobile overflow on Admins tab (still unresolved -- was reverted, needs fresh approach)

Key files

  • js/lib/topbar.js - nav chrome, SVG sprite, Discord icon added
  • .github/workflows/sync-staging-main.yml - syncs main to staging repo on push
  • .github/workflows/ci.yml - Jest + Supabase schema tests, creds restored
  • tests/supabaseSchema.test.js - 30s timeouts, 2-attempt retry on 5xx
  • pp-wiki/Web-Deploy-Workflow.md - new wiki page for deploy flow

Deploy commands

  • Staging: make gh-staging
  • Prod (shell only): make gh-pages-only
  • Prod (full pipeline): make gh-run
  • Watch run: make gh-run-watch
  • Emergency bypass: FORCE_DEPLOY=1 make gh-pages-only

Branch protection

main now requires CI test job to pass. Force push and deletion blocked.

Branching rules (new, just added)

  • Features: feature branch + GH issue required. Archive branch when issue closes.
  • Bugs: dev branch acceptable, but GH issue still required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment