Main to beta#120
Merged
Merged
Conversation
[2.0] Cloud overhaul + coaching + setup versioning + fastest lap snapshots + gdpr GO TIME
The coverage workflow force-pushed the shields.io badge JSON to an orphan `badges` branch on every push to main. Cloudflare Workers Builds, wired to build on branch pushes, then repeatedly tried (and failed) to deploy that branch since it has no package.json/wrangler.jsonc. Publish the badge fields to a GitHub Gist via Schneegans/dynamic-badges-action instead, so no Git branch is created and Cloudflare has nothing extra to grab. coverage-badge.mjs stays the source of truth for the %/color thresholds and now also exports them as workflow step outputs. Drops the workflow's now-unneeded contents:write permission. Documents the GIST_TOKEN secret + COVERAGE_GIST_ID variable wiring in the README.
…esh sign-out
The auth bootstrap awaited supabase.rpc('has_role') inside the
onAuthStateChange callback. supabase-js holds the GoTrue cross-tab Web Lock
(navigator.locks) for the duration of that callback, so awaiting another
auth-dependent call inside it deadlocks token refresh on reload — the SDK
then signs the user out. Downstream, useSubscription clears the subscription
when user goes null, collapsing the plan to "free" and hiding the paid plan
card. The symptom only cleared on a full browser restart because the
contended Web Lock survives page reloads.
Set session/user state synchronously in the callback and defer the role
lookup via setTimeout(0), so no Supabase call is ever awaited while the lock
is held.
…y-bug-zKWyF fix(auth): stop spurious sign-out on refresh (auth-lock deadlock)
…eploy-Y86cI ci(coverage): publish badge to a gist, not the badges branch
Add an asterisk to every cloud-storage line on the plan cards (home + sign-up) pointing to a new footnote: storage on your own device is always unlimited and free, and paid tiers only cover cloud backups of your datalogs (plus supporting development). Addresses recurring user confusion that the app or local log storage costs money. https://claude.ai/code/session_01UCEoj5PWSHdGdyjpfN6C13
…-0-0-l51CN Release 2.0.0: cut changelog version section and bump package version
…asterisk-4X0BG Clarify paid plans only cover cloud backups on pricing cards
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Coverage SummaryLines: 36.91% (2583/6997) · Statements: 36% · Functions: 30.95% · Branches: 37.52% Per-file coverage
|
Merged
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
Related Issues
Type of Change
Checklist
npm run lintpassesnpm run typecheckpassesnpm run test:runpassesnpm run buildsucceedsREADME.md,CLAUDE.md, Credits,CHANGELOG.md)datalogParser.ts, added tests, updated the formats tableNotes for Reviewers