Skip to content

merge to main - all glory to Jesus Christ our Lord#893

Open
keeandev wants to merge 15 commits into
mainfrom
dev
Open

merge to main - all glory to Jesus Christ our Lord#893
keeandev wants to merge 15 commits into
mainfrom
dev

Conversation

@keeandev

@keeandev keeandev commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

keeandev and others added 13 commits May 30, 2026 17:58
…ory to God (#879)

* feat: add linear import script to git ignore for now

* refactor: make invite and offload handlers React Compiler-compatible

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor: isolate component to reduce rerenders for typing performance

* fix: remove aso-skills repo

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(fia): key pericope cache and download queue by language code

FIA steps were cached under pericope id only, so French content could
load in English projects. Scope disk cache, queue dedupe, and hooks by
(fiaLanguageCode, pericopeId). Sanitize legacy queue rows on hydrate.

Fixes LQ-17

* fix: remove git submodule

* style(fia): run prettier on LQ-17 files

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: open fia drawer if content is not cached yet - can be temporary solution to make sure the migration to the new pericope cache structure works

* fix: formatting

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire identify/reset to auth session and analytics consent so support can filter PostHog persons by user UUID.
Stop disabling analytics when CI is set and remove workflow
EXPO_PUBLIC_POSTHOG_DISABLED overrides so preview and production
simulator builds from EAS can be downloaded and exercised with real
PostHog credentials. Local development stays off via __DEV__ unless keys
are pulled with eas env:pull.

Co-authored-by: Cursor <cursoragent@cursor.com>
* feat: bump posthog to 3 day old version

* feat(analytics): add PostHog error tracking and source map uploads

Enable exception autocapture on native and web. Inject debug IDs via Metro,
wire the Expo plugin for native builds, upload maps on EAS deploy/OTA, and
add npm update scripts that publish then upload.
* feat(assets): highlight publish button when local assets exist

* style(assets): use secondary styling for play button

* style(assets): move publish button after share button
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
langquest Ready Ready Preview, Comment Jun 16, 2026 9:25pm

Request Review

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 5, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
langquest-resend-webhook-router c840fde Commit Preview URL

Branch Preview URL
Jun 16 2026, 09:27 PM

@supabase

supabase Bot commented Jun 5, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project unsxkmlcyxgtgmtzfonb because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@socket-security

socket-security Bot commented Jun 5, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedposthog-react-native@​4.37.1 ⏵ 4.46.119810062100 +1100
Updatedposthog-react-native-session-replay@​1.5.1 ⏵ 1.6.010010075 +598100
Added@​posthog/​cli@​0.7.168210087100100
Updatedposthog-js@​1.357.1 ⏵ 1.379.288 +2210083 -16100 +1100

View full report

@github-actions github-actions Bot 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.

⚠️ Native Build Required - See the comment below for details.

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

⚠️ Native Build Required - Manual Approval Needed

This PR requires a native build because the fingerprint has changed compared to the base branch.

🔎 What changed
--- before (expoConfig)
+++ after (expoConfig)
@@ -57,8 +57,6 @@
     ],
     "package": "com.etengenesis.langquest.development",
     "permissions": [
-      "android.permission.FOREGROUND_SERVICE",
-      "android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK",
       "android.permission.MODIFY_AUDIO_SETTINGS",
       "android.permission.RECORD_AUDIO"
     ]
@@ -104,7 +102,6 @@
   ],
   "plugins": [
     "expo-asset",
-    "expo-audio",
     "expo-build-properties",
     "expo-dev-client",
     "expo-font",
@@ -113,6 +110,13 @@
     "expo-router",
     "expo-sharing",
     "expo-sqlite",
+    "posthog-react-native/expo",
+    [
+      "expo-audio",
+      {
+        "enableBackgroundPlayback": false
+      }
+    ],
     [
       "expo-build-properties",
       {
@@ -150,7 +154,7 @@
     "url": "https://u.expo.dev/fafd03a9-a42c-44c7-849c-b0f84fbffe93"
   },
   "userInterfaceStyle": "automatic",
-  "version": "2.2.1",
+  "version": "2.2.2",
   "web": {
     "bundler": "metro",
     "favicon": "./assets/icons/icon_light.png"

--- before (packageJson:scripts)
+++ after (packageJson:scripts)
@@ -11,6 +11,11 @@
   "export:dev:web": "EXPO_ATLAS=true npm run export:web -- --dev",
   "export:dev:all": "EXPO_ATLAS=true npm run export:all -- --dev",
   "export:analyze": "npx expo-atlas .expo/atlas.jsonl",
+  "posthog:upload-sourcemaps": "posthog-cli hermes upload --directory dist",
+  "update": "eas update && npm run posthog:upload-sourcemaps",
+  "update:preview": "eas update --branch preview && npm run posthog:upload-sourcemaps",
+  "update:production": "eas update --branch production && npm run posthog:upload-sourcemaps",
+  "update:development": "eas update --branch development && npm run posthog:upload-sourcemaps",
   "generate-env": "npx tsx ./scripts/generate-env.ts",
   "reset-project": "node ./scripts/reset-project.js",
   "clean-install": "git clean -xdf node_modules package-lock.json && npm i",

--- before (rncoreAutolinkingConfig:ios)
+++ after (rncoreAutolinkingConfig:ios)
@@ -89,7 +89,7 @@
     "platforms": {
       "ios": {
         "podspecPath": "node_modules/posthog-react-native-session-replay/posthog-react-native-session-replay.podspec",
-        "version": "1.5.1",
+        "version": "1.6.0",
         "configurations": [],
         "scriptPhases": []
       }
🔍 Full JSON diff (for debugging)
[
  {
    "op": "added",
    "addedSource": {
      "type": "file",
      "filePath": "node_modules/posthog-react-native/dist/tooling/expoconfig.js",
      "reasons": [
        "expoConfigPlugins"
      ],
      "hash": "db5651ccb1a059fa0aa613cd4731bf96ce1404e6"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "node_modules/posthog-react-native-session-replay",
      "reasons": [
        "rncoreAutolinkingAndroid",
        "rncoreAutolinkingIos"
      ],
      "hash": "2b60dc94acb6a196f3133fa535501b054a69ae13"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "node_modules/posthog-react-native-session-replay",
      "reasons": [
        "rncoreAutolinkingAndroid",
        "rncoreAutolinkingIos"
      ],
      "hash": "9681e3397de4000e61de83a623b030f9b43ffb6e"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "contents",
      "id": "expoConfig",
      "contents": "{\"android\":{\"adaptiveIcon\":{\"backgroundColor\":\"#ffffff\",\"foregroundImage\":\"./assets/icons/adaptive-icon.png\",\"monochromeImage\":\"./assets/icons/adaptive-icon-mono.png\"},\"intentFilters\":[{\"action\":\"VIEW\",\"autoVerify\":true,\"category\":[\"BROWSABLE\",\"DEFAULT\"],\"data\":[{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/notifications\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/registration-confirmation\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/reset-password\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"scheme\":\"langquest-dev\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/notifications\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/registration-confirmation\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/reset-password\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"scheme\":\"langquest-dev\"}]}],\"package\":\"com.etengenesis.langquest.development\",\"permissions\":[\"android.permission.FOREGROUND_SERVICE\",\"android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK\",\"android.permission.MODIFY_AUDIO_SETTINGS\",\"android.permission.RECORD_AUDIO\"]},\"buildCacheProvider\":\"eas\",\"experiments\":{\"reactCompiler\":true,\"typedRoutes\":true},\"extra\":{\"eas\":{\"projectId\":\"fafd03a9-a42c-44c7-849c-b0f84fbffe93\"},\"router\":{}},\"icon\":\"./assets/icons/icon_light.png\",\"ios\":{\"associatedDomains\":[\"applinks:langquest.org\",\"applinks:preview.langquest.org\"],\"bundleIdentifier\":\"com.etengenesis.langquest.development\",\"config\":{\"usesNonExemptEncryption\":false},\"icon\":{\"dark\":\"./assets/icons/icon_dark.png\",\"light\":\"./assets/icons/icon_light.png\"},\"infoPlist\":{\"NSMicrophoneUsageDescription\":\"LangQuest needs access to your microphone to record voice translations.\"},\"requireFullScreen\":true,\"supportsTablet\":true},\"name\":\"LangQuest (Dev)\",\"orientation\":\"portrait\",\"owner\":\"eten-genesis\",\"platforms\":[\"android\",\"ios\",\"web\"],\"plugins\":[\"expo-asset\",\"expo-audio\",\"expo-build-properties\",\"expo-dev-client\",\"expo-font\",\"expo-image\",\"expo-localization\",\"expo-router\",\"expo-sharing\",\"expo-sqlite\",[\"expo-build-properties\",{\"ios\":{\"deploymentTarget\":\"15.5\"}}],[\"expo-splash-screen\",{\"backgroundColor\":\"#f5f5ff\",\"dark\":{\"backgroundColor\":\"#131320\",\"image\":\"./assets/icons/icon_dark.png\"},\"image\":\"./assets/icons/icon_light.png\",\"imageWidth\":150}],[\"testflight-dev-deploy\",{\"enabled\":true}]],\"runtimeVersion\":{\"policy\":\"appVersion\"},\"scheme\":\"langquest-dev\",\"sdkVersion\":\"55.0.0\",\"slug\":\"langquest\",\"updates\":{\"url\":\"https://u.expo.dev/fafd03a9-a42c-44c7-849c-b0f84fbffe93\"},\"userInterfaceStyle\":\"automatic\",\"version\":\"2.2.1\",\"web\":{\"bundler\":\"metro\",\"favicon\":\"./assets/icons/icon_light.png\"}}",
      "reasons": [
        "expoConfig"
      ],
      "hash": "255a5c41dc1d51e86c4c54a9aafdf4645bea9ef0"
    },
    "afterSource": {
      "type": "contents",
      "id": "expoConfig",
      "contents": "{\"android\":{\"adaptiveIcon\":{\"backgroundColor\":\"#ffffff\",\"foregroundImage\":\"./assets/icons/adaptive-icon.png\",\"monochromeImage\":\"./assets/icons/adaptive-icon-mono.png\"},\"intentFilters\":[{\"action\":\"VIEW\",\"autoVerify\":true,\"category\":[\"BROWSABLE\",\"DEFAULT\"],\"data\":[{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/notifications\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/registration-confirmation\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"pathPattern\":\"/.*/reset-password\",\"scheme\":\"https\"},{\"host\":\"langquest.org\",\"scheme\":\"langquest-dev\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/notifications\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/registration-confirmation\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"pathPattern\":\"/.*/reset-password\",\"scheme\":\"https\"},{\"host\":\"preview.langquest.org\",\"scheme\":\"langquest-dev\"}]}],\"package\":\"com.etengenesis.langquest.development\",\"permissions\":[\"android.permission.MODIFY_AUDIO_SETTINGS\",\"android.permission.RECORD_AUDIO\"]},\"buildCacheProvider\":\"eas\",\"experiments\":{\"reactCompiler\":true,\"typedRoutes\":true},\"extra\":{\"eas\":{\"projectId\":\"fafd03a9-a42c-44c7-849c-b0f84fbffe93\"},\"router\":{}},\"icon\":\"./assets/icons/icon_light.png\",\"ios\":{\"associatedDomains\":[\"applinks:langquest.org\",\"applinks:preview.langquest.org\"],\"bundleIdentifier\":\"com.etengenesis.langquest.development\",\"config\":{\"usesNonExemptEncryption\":false},\"icon\":{\"dark\":\"./assets/icons/icon_dark.png\",\"light\":\"./assets/icons/icon_light.png\"},\"infoPlist\":{\"NSMicrophoneUsageDescription\":\"LangQuest needs access to your microphone to record voice translations.\"},\"requireFullScreen\":true,\"supportsTablet\":true},\"name\":\"LangQuest (Dev)\",\"orientation\":\"portrait\",\"owner\":\"eten-genesis\",\"platforms\":[\"android\",\"ios\",\"web\"],\"plugins\":[\"expo-asset\",\"expo-build-properties\",\"expo-dev-client\",\"expo-font\",\"expo-image\",\"expo-localization\",\"expo-router\",\"expo-sharing\",\"expo-sqlite\",\"posthog-react-native/expo\",[\"expo-audio\",{\"enableBackgroundPlayback\":false}],[\"expo-build-properties\",{\"ios\":{\"deploymentTarget\":\"15.5\"}}],[\"expo-splash-screen\",{\"backgroundColor\":\"#f5f5ff\",\"dark\":{\"backgroundColor\":\"#131320\",\"image\":\"./assets/icons/icon_dark.png\"},\"image\":\"./assets/icons/icon_light.png\",\"imageWidth\":150}],[\"testflight-dev-deploy\",{\"enabled\":true}]],\"runtimeVersion\":{\"policy\":\"appVersion\"},\"scheme\":\"langquest-dev\",\"sdkVersion\":\"55.0.0\",\"slug\":\"langquest\",\"updates\":{\"url\":\"https://u.expo.dev/fafd03a9-a42c-44c7-849c-b0f84fbffe93\"},\"userInterfaceStyle\":\"automatic\",\"version\":\"2.2.2\",\"web\":{\"bundler\":\"metro\",\"favicon\":\"./assets/icons/icon_light.png\"}}",
      "reasons": [
        "expoConfig"
      ],
      "hash": "41b904cc251d15d551dfa8b865048b3d17ceea18"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "contents",
      "id": "packageJson:scripts",
      "contents": "{\"start\":\"expo start --dev-client\",\"start:offline:android\":\"npm run start -- --localhost --android\",\"start:prod\":\"npm run start -- --no-dev --minify\",\"export:android\":\"EXPO_ATLAS=true npx expo export --platform android\",\"export:ios\":\"EXPO_ATLAS=true npx expo export --platform ios\",\"export:web\":\"EXPO_ATLAS=true npx expo export --platform web\",\"export:all\":\"EXPO_ATLAS=true npx expo export\",\"export:dev:android\":\"EXPO_ATLAS=true npm run export:android -- --dev\",\"export:dev:ios\":\"EXPO_ATLAS=true npm run export:ios -- --dev\",\"export:dev:web\":\"EXPO_ATLAS=true npm run export:web -- --dev\",\"export:dev:all\":\"EXPO_ATLAS=true npm run export:all -- --dev\",\"export:analyze\":\"npx expo-atlas .expo/atlas.jsonl\",\"generate-env\":\"npx tsx ./scripts/generate-env.ts\",\"reset-project\":\"node ./scripts/reset-project.js\",\"clean-install\":\"git clean -xdf node_modules package-lock.json && npm i\",\"clean-rebuild:android\":\"npm run clean-install && npx expo prebuild --platform android --clean\",\"clean-rebuild:ios\":\"npm run clean-install && npx expo prebuild --platform ios --clean\",\"clean-rebuild\":\"npm run clean-install && npx expo prebuild --clean\",\"android\":\"expo run:android --variant debugOptimized --device\",\"android:memory\":\"NODE_OPTIONS=--max-old-space-size=8192 expo run:android --variant debugOptimized --device\",\"android:multi\":\"npm run start\",\"android:device\":\"expo run:android --device --no-bundler\",\"android:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:android --device --variant release\",\"android:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:android --device --variant release\",\"ios\":\"expo run:ios --device\",\"ios:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:ios --device --variant release\",\"ios:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:ios --device --variant release\",\"web\":\"npm run powersync:copy-assets && expo start --web\",\"db:view\":\"npx drizzle-lab@latest visualizer --project-id LangQuest\",\"test\":\"jest --watchAll\",\"lint\":\"eslint\",\"lint:fix\":\"eslint --fix\",\"lint:inspect\":\"npx @eslint/config-inspector\",\"format\":\"prettier --check .\",\"format:fix\":\"prettier --write .\",\"typecheck\":\"tsc --noEmit\",\"powersync:start\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local up -w\",\"powersync:stop\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local down\",\"resend\":\"npx emulate@latest --service resend --port 4000\",\"env:start\":\"concurrently -n supabase -c green \\\"npm:sb start\\\" && concurrently -k -n edge-fn,powersync,resend -c yellow,cyan,magenta \\\"npm:sb:serve-functions\\\" \\\"npm:powersync:start\\\" \\\"npm:resend\\\"\",\"env:stop\":\"npm run powersync:stop && npm run sb stop && rm -f supabase/functions/.env\",\"env\":\"npm run generate-env && npm run env:start && npm run env:stop\",\"env:clean\":\"npm run sb:clean && npm run powersync:clean\",\"powersync:copy-assets\":\"npx powersync-web copy-assets\",\"powersync:diagnostics\":\"docker run --pull always -p 8082:80 --platform linux/amd64 journeyapps/powersync-diagnostics-app\",\"powersync:clean\":\"npm run powersync:stop && docker volume rm -f powersync_mongo_storage\",\"sb:clean\":\"git clean -xdf supabase/**/.DS_Store && npm run sb db reset && npm run sb stop\",\"decrypt-env\":\"dotenvx run -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload\",\"sb\":\"npm run decrypt-env -- npx supabase@beta\",\"decrypt-env:file\":\"dotenvx get -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload 2>/dev/null | node -e \\\"const j=JSON.parse(require(fs).readFileSync(/dev/stdin,utf8));Object.entries(j).forEach(([k,v])=>console.log(k+=\\\"+v+\\\"))\\\" > supabase/functions/.env\",\"sb:serve-functions\":\"npm run decrypt-env:file && npm run sb functions serve -- --env-file supabase/functions/.env\",\"sb:functions:deploy:send-email:dev\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref yjgdgsycxmlvaiuynlbv\",\"sb:functions:deploy:send-email:prod\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref unsxkmlcyxgtgmtzfonb\",\"package-lock:fix\":\"npm install --package-lock-only\",\"shadcn\":\"shadcn\",\"knip:check\":\"knip\",\"postinstall\":\"patch-package\",\"prepare\":\"git config core.hooksPath .githooks\",\"adb:tunnel\":\"adb reverse tcp:8081 tcp:8081\",\"android:eas:build:preview\":\"eas build --platform android --profile preview\"}",
      "reasons": [
        "packageJson:scripts"
      ],
      "hash": "058f699875922c7542592d2307bae5b999abade1"
    },
    "afterSource": {
      "type": "contents",
      "id": "packageJson:scripts",
      "contents": "{\"start\":\"expo start --dev-client\",\"start:offline:android\":\"npm run start -- --localhost --android\",\"start:prod\":\"npm run start -- --no-dev --minify\",\"export:android\":\"EXPO_ATLAS=true npx expo export --platform android\",\"export:ios\":\"EXPO_ATLAS=true npx expo export --platform ios\",\"export:web\":\"EXPO_ATLAS=true npx expo export --platform web\",\"export:all\":\"EXPO_ATLAS=true npx expo export\",\"export:dev:android\":\"EXPO_ATLAS=true npm run export:android -- --dev\",\"export:dev:ios\":\"EXPO_ATLAS=true npm run export:ios -- --dev\",\"export:dev:web\":\"EXPO_ATLAS=true npm run export:web -- --dev\",\"export:dev:all\":\"EXPO_ATLAS=true npm run export:all -- --dev\",\"export:analyze\":\"npx expo-atlas .expo/atlas.jsonl\",\"posthog:upload-sourcemaps\":\"posthog-cli hermes upload --directory dist\",\"update\":\"eas update && npm run posthog:upload-sourcemaps\",\"update:preview\":\"eas update --branch preview && npm run posthog:upload-sourcemaps\",\"update:production\":\"eas update --branch production && npm run posthog:upload-sourcemaps\",\"update:development\":\"eas update --branch development && npm run posthog:upload-sourcemaps\",\"generate-env\":\"npx tsx ./scripts/generate-env.ts\",\"reset-project\":\"node ./scripts/reset-project.js\",\"clean-install\":\"git clean -xdf node_modules package-lock.json && npm i\",\"clean-rebuild:android\":\"npm run clean-install && npx expo prebuild --platform android --clean\",\"clean-rebuild:ios\":\"npm run clean-install && npx expo prebuild --platform ios --clean\",\"clean-rebuild\":\"npm run clean-install && npx expo prebuild --clean\",\"android\":\"expo run:android --variant debugOptimized --device\",\"android:memory\":\"NODE_OPTIONS=--max-old-space-size=8192 expo run:android --variant debugOptimized --device\",\"android:multi\":\"npm run start\",\"android:device\":\"expo run:android --device --no-bundler\",\"android:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:android --device --variant release\",\"android:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:android --device --variant release\",\"ios\":\"expo run:ios --device\",\"ios:preview\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=preview expo run:ios --device --variant release\",\"ios:release\":\"npx cross-env EXPO_PUBLIC_APP_VARIANT=production expo run:ios --device --variant release\",\"web\":\"npm run powersync:copy-assets && expo start --web\",\"db:view\":\"npx drizzle-lab@latest visualizer --project-id LangQuest\",\"test\":\"jest --watchAll\",\"lint\":\"eslint\",\"lint:fix\":\"eslint --fix\",\"lint:inspect\":\"npx @eslint/config-inspector\",\"format\":\"prettier --check .\",\"format:fix\":\"prettier --write .\",\"typecheck\":\"tsc --noEmit\",\"powersync:start\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local up -w\",\"powersync:stop\":\"docker compose -f supabase/docker-compose.yml --env-file .env.local down\",\"resend\":\"npx emulate@latest --service resend --port 4000\",\"env:start\":\"concurrently -n supabase -c green \\\"npm:sb start\\\" && concurrently -k -n edge-fn,powersync,resend -c yellow,cyan,magenta \\\"npm:sb:serve-functions\\\" \\\"npm:powersync:start\\\" \\\"npm:resend\\\"\",\"env:stop\":\"npm run powersync:stop && npm run sb stop && rm -f supabase/functions/.env\",\"env\":\"npm run generate-env && npm run env:start && npm run env:stop\",\"env:clean\":\"npm run sb:clean && npm run powersync:clean\",\"powersync:copy-assets\":\"npx powersync-web copy-assets\",\"powersync:diagnostics\":\"docker run --pull always -p 8082:80 --platform linux/amd64 journeyapps/powersync-diagnostics-app\",\"powersync:clean\":\"npm run powersync:stop && docker volume rm -f powersync_mongo_storage\",\"sb:clean\":\"git clean -xdf supabase/**/.DS_Store && npm run sb db reset && npm run sb stop\",\"decrypt-env\":\"dotenvx run -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload\",\"sb\":\"npm run decrypt-env -- npx supabase@beta\",\"decrypt-env:file\":\"dotenvx get -f supabase/.env -f supabase/.env.preview -f supabase/.env.local --overload 2>/dev/null | node -e \\\"const j=JSON.parse(require(fs).readFileSync(/dev/stdin,utf8));Object.entries(j).forEach(([k,v])=>console.log(k+=\\\"+v+\\\"))\\\" > supabase/functions/.env\",\"sb:serve-functions\":\"npm run decrypt-env:file && npm run sb functions serve -- --env-file supabase/functions/.env\",\"sb:functions:deploy:send-email:dev\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref yjgdgsycxmlvaiuynlbv\",\"sb:functions:deploy:send-email:prod\":\"npm run sb functions deploy send-email -- --no-verify-jwt --project-ref unsxkmlcyxgtgmtzfonb\",\"package-lock:fix\":\"npm install --package-lock-only\",\"shadcn\":\"shadcn\",\"knip:check\":\"knip\",\"postinstall\":\"patch-package\",\"prepare\":\"git config core.hooksPath .githooks\",\"adb:tunnel\":\"adb reverse tcp:8081 tcp:8081\",\"android:eas:build:preview\":\"eas build --platform android --profile preview\"}",
      "reasons": [
        "packageJson:scripts"
      ],
      "hash": "478cb33701749ddb3e5e2798af7363daba1be215"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "contents",
      "id": "rncoreAutolinkingConfig:ios",
      "contents": "{\"@op-engineering/op-sqlite\":{\"root\":\"node_modules/@op-engineering/op-sqlite\",\"name\":\"@op-engineering/op-sqlite\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@op-engineering/op-sqlite/op-sqlite.podspec\",\"version\":\"15.2.5\",\"configurations\":[],\"scriptPhases\":[]}}},\"@powersync/op-sqlite\":{\"root\":\"node_modules/@powersync/op-sqlite\",\"name\":\"@powersync/op-sqlite\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@powersync/op-sqlite/powersync-op-sqlite.podspec\",\"version\":\"0.9.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-async-storage/async-storage\":{\"root\":\"node_modules/@react-native-async-storage/async-storage\",\"name\":\"@react-native-async-storage/async-storage\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec\",\"version\":\"2.2.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-community/netinfo\":{\"root\":\"node_modules/@react-native-community/netinfo\",\"name\":\"@react-native-community/netinfo\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-community/netinfo/react-native-netinfo.podspec\",\"version\":\"11.5.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-community/slider\":{\"root\":\"node_modules/@react-native-community/slider\",\"name\":\"@react-native-community/slider\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-community/slider/react-native-slider.podspec\",\"version\":\"5.1.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-documents/picker\":{\"root\":\"node_modules/@react-native-documents/picker\",\"name\":\"@react-native-documents/picker\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-documents/picker/react-native-document-picker.podspec\",\"version\":\"12.0.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"expo\":{\"root\":\"node_modules/expo\",\"name\":\"expo\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/expo/Expo.podspec\",\"version\":\"55.0.4\",\"configurations\":[],\"scriptPhases\":[]}}},\"posthog-react-native-session-replay\":{\"root\":\"node_modules/posthog-react-native-session-replay\",\"name\":\"posthog-react-native-session-replay\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/posthog-react-native-session-replay/posthog-react-native-session-replay.podspec\",\"version\":\"1.5.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-audio-concat\":{\"root\":\"node_modules/react-native-audio-concat\",\"name\":\"react-native-audio-concat\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-audio-concat/AudioConcat.podspec\",\"version\":\"0.9.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-gesture-handler\":{\"root\":\"node_modules/react-native-gesture-handler\",\"name\":\"react-native-gesture-handler\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-gesture-handler/RNGestureHandler.podspec\",\"version\":\"2.30.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-keyboard-controller\":{\"root\":\"node_modules/react-native-keyboard-controller\",\"name\":\"react-native-keyboard-controller\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-keyboard-controller/react-native-keyboard-controller.podspec\",\"version\":\"1.20.7\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-pager-view\":{\"root\":\"node_modules/react-native-pager-view\",\"name\":\"react-native-pager-view\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-pager-view/react-native-pager-view.podspec\",\"version\":\"8.0.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-reanimated\":{\"root\":\"node_modules/react-native-reanimated\",\"name\":\"react-native-reanimated\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-reanimated/RNReanimated.podspec\",\"version\":\"4.2.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-safe-area-context\":{\"root\":\"node_modules/react-native-safe-area-context\",\"name\":\"react-native-safe-area-context\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec\",\"version\":\"5.6.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-screens\":{\"root\":\"node_modules/react-native-screens\",\"name\":\"react-native-screens\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-screens/RNScreens.podspec\",\"version\":\"4.23.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-svg\":{\"root\":\"node_modules/react-native-svg\",\"name\":\"react-native-svg\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-svg/RNSVG.podspec\",\"version\":\"15.15.3\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-worklets\":{\"root\":\"node_modules/react-native-worklets\",\"name\":\"react-native-worklets\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-worklets/RNWorklets.podspec\",\"version\":\"0.7.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-zip-archive\":{\"root\":\"node_modules/react-native-zip-archive\",\"name\":\"react-native-zip-archive\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-zip-archive/RNZipArchive.podspec\",\"version\":\"7.0.2\",\"configurations\":[],\"scriptPhases\":[]}}}}",
      "reasons": [
        "rncoreAutolinkingIos"
      ],
      "hash": "064672229a277914c43889149016e514666df5d8"
    },
    "afterSource": {
      "type": "contents",
      "id": "rncoreAutolinkingConfig:ios",
      "contents": "{\"@op-engineering/op-sqlite\":{\"root\":\"node_modules/@op-engineering/op-sqlite\",\"name\":\"@op-engineering/op-sqlite\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@op-engineering/op-sqlite/op-sqlite.podspec\",\"version\":\"15.2.5\",\"configurations\":[],\"scriptPhases\":[]}}},\"@powersync/op-sqlite\":{\"root\":\"node_modules/@powersync/op-sqlite\",\"name\":\"@powersync/op-sqlite\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@powersync/op-sqlite/powersync-op-sqlite.podspec\",\"version\":\"0.9.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-async-storage/async-storage\":{\"root\":\"node_modules/@react-native-async-storage/async-storage\",\"name\":\"@react-native-async-storage/async-storage\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec\",\"version\":\"2.2.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-community/netinfo\":{\"root\":\"node_modules/@react-native-community/netinfo\",\"name\":\"@react-native-community/netinfo\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-community/netinfo/react-native-netinfo.podspec\",\"version\":\"11.5.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-community/slider\":{\"root\":\"node_modules/@react-native-community/slider\",\"name\":\"@react-native-community/slider\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-community/slider/react-native-slider.podspec\",\"version\":\"5.1.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"@react-native-documents/picker\":{\"root\":\"node_modules/@react-native-documents/picker\",\"name\":\"@react-native-documents/picker\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/@react-native-documents/picker/react-native-document-picker.podspec\",\"version\":\"12.0.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"expo\":{\"root\":\"node_modules/expo\",\"name\":\"expo\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/expo/Expo.podspec\",\"version\":\"55.0.4\",\"configurations\":[],\"scriptPhases\":[]}}},\"posthog-react-native-session-replay\":{\"root\":\"node_modules/posthog-react-native-session-replay\",\"name\":\"posthog-react-native-session-replay\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/posthog-react-native-session-replay/posthog-react-native-session-replay.podspec\",\"version\":\"1.6.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-audio-concat\":{\"root\":\"node_modules/react-native-audio-concat\",\"name\":\"react-native-audio-concat\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-audio-concat/AudioConcat.podspec\",\"version\":\"0.9.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-gesture-handler\":{\"root\":\"node_modules/react-native-gesture-handler\",\"name\":\"react-native-gesture-handler\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-gesture-handler/RNGestureHandler.podspec\",\"version\":\"2.30.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-keyboard-controller\":{\"root\":\"node_modules/react-native-keyboard-controller\",\"name\":\"react-native-keyboard-controller\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-keyboard-controller/react-native-keyboard-controller.podspec\",\"version\":\"1.20.7\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-pager-view\":{\"root\":\"node_modules/react-native-pager-view\",\"name\":\"react-native-pager-view\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-pager-view/react-native-pager-view.podspec\",\"version\":\"8.0.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-reanimated\":{\"root\":\"node_modules/react-native-reanimated\",\"name\":\"react-native-reanimated\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-reanimated/RNReanimated.podspec\",\"version\":\"4.2.1\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-safe-area-context\":{\"root\":\"node_modules/react-native-safe-area-context\",\"name\":\"react-native-safe-area-context\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec\",\"version\":\"5.6.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-screens\":{\"root\":\"node_modules/react-native-screens\",\"name\":\"react-native-screens\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-screens/RNScreens.podspec\",\"version\":\"4.23.0\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-svg\":{\"root\":\"node_modules/react-native-svg\",\"name\":\"react-native-svg\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-svg/RNSVG.podspec\",\"version\":\"15.15.3\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-worklets\":{\"root\":\"node_modules/react-native-worklets\",\"name\":\"react-native-worklets\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-worklets/RNWorklets.podspec\",\"version\":\"0.7.2\",\"configurations\":[],\"scriptPhases\":[]}}},\"react-native-zip-archive\":{\"root\":\"node_modules/react-native-zip-archive\",\"name\":\"react-native-zip-archive\",\"platforms\":{\"ios\":{\"podspecPath\":\"node_modules/react-native-zip-archive/RNZipArchive.podspec\",\"version\":\"7.0.2\",\"configurations\":[],\"scriptPhases\":[]}}}}",
      "reasons": [
        "rncoreAutolinkingIos"
      ],
      "hash": "0b748c55a8478d0805206fc8c3656b1cb227e416"
    }
  }
]

Action Required: After confirming with the team, another team member must approve this PR to proceed with merging.

👉 Approve this PR - Click "Review changes/Submit review" → "Approve" to dismiss this review and allow merging.

* fix(supabase): declare all edge function secrets in config.toml

Add AUTH_SITE_URL and other missing secrets used by edge functions via
Deno.env.get() to [edge_runtime.secrets] so they are available in
production deployments.

Missing secrets added:
- AUTH_SITE_URL (send-email invite/auth links)
- SUPABASE_SERVICE_ROLE_KEY (dashboard + feedback functions)
- DASHBOARD_QUEUE_CRON_SECRET (dashboard queue cron auth)
- SUPABASE_DB_URL / PS_DATA_SOURCE_URI (clone-worker, process-queue)
- EMAIL_SOFT_BOUNCE_THRESHOLD (email suppression)
- INVITE_MAX_RESEND_ATTEMPTS / INVITE_MAX_OUTBOUND_SENDS (invite guard)

Co-authored-by: Keean <keeandev@users.noreply.github.com>

* fix(supabase): drop auto-injected edge secrets from config

Remove SUPABASE_SERVICE_ROLE_KEY and SUPABASE_DB_URL from
[edge_runtime.secrets]; both are provided by the Supabase edge runtime.

Co-authored-by: Keean <keeandev@users.noreply.github.com>

* fix(supabase): only declare AUTH_SITE_URL in edge secrets for now

Limit [edge_runtime.secrets] additions to variables present in
.env.production and .env.preview. Remove other newly added secrets
until their values are added to those env files.

Co-authored-by: Keean <keeandev@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Keean <keeandev@users.noreply.github.com>
@socket-security

socket-security Bot commented Jun 11, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm posthog-js is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/posthog-js@1.379.2

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/posthog-js@1.379.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Set enableBackgroundPlayback: false in expo-audio plugin config and
shouldPlayInBackground: false across all audio mode setup sites so
Android builds no longer declare FOREGROUND_SERVICE_MEDIA_PLAYBACK.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Keean <keeandev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant