Compare commits

..

1 Commits

Author SHA1 Message Date
Felix Roos c4cec8dd18 fix: supabase lockmanager error in ff 2026-12-04 10:33:01 +01:00
2 changed files with 8 additions and 9 deletions
-9
View File
@@ -136,15 +136,6 @@ There are also eslint extensions / plugins for most editors.
When opening a PR, the CI runner will (once approved by a human) check the code style and eslint, as well as run all tests. You can run the same check with `pnpm check`.
## Publishing a change live on *.strudel.cc
There are a few steps to a contribution to strudel making it to https://strudel.cc/
1. If a maintainer adds a 'serve-hot' label to a pull request on codeberg, it is built and exposed as http://pr-1000.hot.strudel.cc (where 1000 is the pr number). This allows changes to be tried out live, without building locally. However, because it's plain http, some webaudio things etc won't work. A maintainer with server access can assign a certificate for https via a manual process if needed.
2. When a pull request is merged into the main branch by a maintainer, it is automatically built and served under https://hot.strudel.cc/
3. Then a maintainer can trigger an action on codeberg to rebuild https://strudel.cc/ (also known as https://warm.strudel.cc/) from the main branch. This [currently makes strudel refresh for all users](https://codeberg.org/uzu/strudel/pulls/2130), and is intended to happen around once a week, early in the week (when fewer people will be performing with it!), or more often for urgent fixes.
4. There is also https://cold.strudel.cc/, which is intended to reflect the last package release to npm.
## Package Workflow
The project is split into multiple [packages](https://codeberg.org/uzu/strudel/src/branch/main/packages) with independent versioning.
+8
View File
@@ -15,6 +15,14 @@ const { code2hash, errorLogger, evalScope, hash2code, logger } = strudelCore;
export const supabase = createClient(
'https://pidxdsxphlhzjnzmifth.supabase.co',
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InBpZHhkc3hwaGxoempuem1pZnRoIiwicm9sZSI6ImFub24iLCJpYXQiOjE2NTYyMzA1NTYsImV4cCI6MTk3MTgwNjU1Nn0.bqlw7802fsWRnqU5BLYtmXk_k-D1VFmbkHMywWc15NM',
{
// avoid "Uncaught (in promise) Error: Acquiring an exclusive Navigator LockManager lock ... immediately failed"
auth: {
persistSession: false,
autoRefreshToken: false,
detectSessionInUrl: false,
},
},
);
let dbLoaded;