Skip to content

chore(deps): bump @supabase/ssr from 0.12.0 to 0.12.3#950

Merged
BigSimmo merged 13 commits into
mainfrom
dependabot/npm_and_yarn/supabase/ssr-0.12.3
Jul 20, 2026
Merged

chore(deps): bump @supabase/ssr from 0.12.0 to 0.12.3#950
BigSimmo merged 13 commits into
mainfrom
dependabot/npm_and_yarn/supabase/ssr-0.12.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @supabase/ssr from 0.12.0 to 0.12.3; affects the Supabase SSR integration and lockfile dependency resolution only.

Verification

  • npm run verify:pr-local
  • npm run verify:ui not run: no UI, routing, styling, browser behavior, reduced-motion, or forced-colors behavior changed
  • npm run verify:release not run: dependency patch update only; no release or handoff confidence claim in this PR
  • npm run eval:retrieval:quality not run: no retrieval, ranking, selection, chunking, or scoring behavior changed
  • npm run eval:rag -- --limit 15 + npm run eval:quality -- --rag-only not run: no answer generation, synthesis prompt, or answer post-processing behavior changed
  • npm run check:production-readiness not run: no clinical workflow, privacy, environment, Supabase target, source governance, or deployment behavior changed by this dependency bump
  • npm run check:deployment-readiness not run: no deployment startup, hosting, or rollout behavior changed

Risk and rollout

  • Risk: low; this is a scoped patch-version dependency bump for @supabase/ssr with no intended application behavior change beyond upstream fixes and compatibility improvements.
  • Rollback: revert this PR to restore @supabase/ssr to 0.12.0 and regenerate the lockfile from the reverted manifest.
  • Provider or production effects: None

Clinical Governance Preflight

  • Source-backed claims still require linked source verification before clinical use
  • No patient-identifiable document workflow was introduced or expanded without explicit governance approval
  • Supabase target remains Clinical KB Database (sjrfecxgysukkwxsowpy)
  • Service-role keys and private document access remain server-only
  • Demo/synthetic content remains clearly separated from real clinical sources
  • Source metadata, review status, and outdated/unknown-source behavior remain conservative
  • Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed

Notes

  • Dependabot patch update for @supabase/ssr from 0.12.0 to 0.12.3.

Summary by CodeRabbit

  • Bug Fixes

    • Improved detection and reporting of exposed secret values in client-side bundles, reducing false positives and improving scan accuracy.
  • Chores

    • Updated the Supabase server-side rendering package to a newer version for improved compatibility and reliability.

---
updated-dependencies:
- dependency-name: "@supabase/ssr"
  dependency-version: 0.12.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 20, 2026
@dependabot
dependabot Bot requested a review from BigSimmo as a code owner July 20, 2026 01:09
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 20, 2026
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 23 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e9c4b2ac-703e-4d94-9dab-c52dbfca8031

📥 Commits

Reviewing files that changed from the base of the PR and between b236acc and c3c63f2.

📒 Files selected for processing (1)
  • package.json
📝 Walkthrough

Walkthrough

The pull request updates @supabase/ssr to ^0.12.3 and refines client-bundle secret scanning to detect complete Supabase secret values while preserving literal-marker handling.

Changes

Supabase SSR Dependency Update

Layer / File(s) Summary
Update Supabase SSR dependency
package.json
The @supabase/ssr dependency range changes from ^0.12.0 to ^0.12.3.

Client Bundle Secret Detection

Layer / File(s) Summary
Match and record complete Supabase secrets
scripts/check-client-bundle-secrets.mjs
Supabase secret detection now uses a regex for complete secret values and records the matched text for regex and literal markers.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: bigsimmo

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the dependency bump that matches the changeset.
Description check ✅ Passed The description follows the template well, with summary, verification, risk/rollback, governance preflight, and notes filled in.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/supabase/ssr-0.12.3

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

CI triage

CI failed on this PR. Automated classification of the 2 failed job(s):

  • Static PR checksneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • PR requiredneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.

Compared with main CI run #3907 (success).

Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger.

@BigSimmo

Copy link
Copy Markdown
Owner

@coderabbitai Please can you resolve all of the failing CI testing for me and ensure no regression and fix everything for me. Please also resolve the failing Policy CI test as well if present

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

CI fix PR created: #972

Follow #972 for fix progress and CI status. If CI still fails, re-run the fix-ci command to try again.

Note: Fixing CI failures is a beta feature and may encounter errors. Expect some limitations and changes as we gather feedback and continue to improve it.

Note: If your CI is configured to only run on PRs targeting specific branches (e.g., main), it may not trigger on the fix PR. You can merge the fix into your branch and CI will validate on the original PR.

4 failing check(s)
  • GitHub Actions: CI / 1_PR required.txt
  • GitHub Actions: CI / Static PR checks
  • GitHub Actions: CI / PR required
  • GitHub Actions: CI / 4_Static PR checks.txt
1 file(s) modified
  • scripts/check-client-bundle-secrets.mjs
View agent analysis
121 chars > 120 printWidth. Prettier would wrap the ternary. Let me apply typical Prettier formatting for nested ternaries.

Fixed the Prettier formatting failure in `scripts/check-client-bundle-secrets.mjs:54` — the line exceeded the repo's 120-char `printWidth` (121 chars), which is what `npm run format:check` (Static PR checks / 4_Static PR checks) was flagging. Wrapped the ternary assignment onto two lines in the standard Prettier style, matching the project's `.prettierrc` config. No logic was changed.

@BigSimmo

Copy link
Copy Markdown
Owner

@claude resolve PR Policy CI failure

@BigSimmo
BigSimmo enabled auto-merge (squash) July 20, 2026 07:50
@BigSimmo

Copy link
Copy Markdown
Owner

@coderabbitai please resolve failing CI/Build testing

BigSimmo
BigSimmo previously approved these changes Jul 20, 2026

@BigSimmo BigSimmo left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

ok

…d application build requirements (#969)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@BigSimmo

Copy link
Copy Markdown
Owner

@coderabbitai Please ensure that all CI testing is passing

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
scripts/check-client-bundle-secrets.mjs (1)

54-58: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

content.match() only captures the first match per file.

Without the g flag, String.prototype.match() returns only the first occurrence. If a file contains multiple distinct Supabase secrets, only the first is recorded as an offender. The build still fails, but a developer who fixes only the flagged secret will need another build cycle to discover the next one. Consider using matchAll (which requires the g flag on the regex) to surface all matches in a single pass.

♻️ Proposed refactor: use matchAll for complete detection

Add the g flag to the regex on line 18:

-  /\bsb_secret_[A-Za-z0-9_-]{20,}\b/,
+  /\bsb_secret_[A-Za-z0-9_-]{20,}\b/g,

Then iterate all matches in the scanning logic:

-    const matchedText =
-      marker instanceof RegExp ? content.match(marker)?.[0] : content.includes(marker) ? marker : null;
-    if (matchedText) {
-      const relativePath = relative(projectRoot, file).replaceAll("\\", "/");
-      offenders.set(`${relativePath}\0${matchedText}`, { marker: matchedText, relativePath });
+    const relativePath = relative(projectRoot, file).replaceAll("\\", "/");
+    if (marker instanceof RegExp) {
+      for (const match of content.matchAll(marker)) {
+        offenders.set(`${relativePath}\0${match[0]}`, { marker: match[0], relativePath });
+      }
+    } else if (content.includes(marker)) {
+      offenders.set(`${relativePath}\0${marker}`, { marker, relativePath });
     }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/check-client-bundle-secrets.mjs` around lines 54 - 58, Update the
RegExp branch in the scanning logic around matchedText to collect every
occurrence in each file, not only the first match. Ensure the configured marker
regex is global for matchAll, iterate all matches, and add each matched value to
offenders while preserving the existing literal-marker behavior and
deduplication key.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@scripts/check-client-bundle-secrets.mjs`:
- Around line 54-58: Update the matched-secret handling in the marker scan and
offender reporting flow so regex matches retain the raw value only for internal
deduplication, while the stored/logged marker uses a masked or truncated
placeholder. Ensure CI output never includes the full matched value, including
when processing sb_secret_... regex detections.

---

Nitpick comments:
In `@scripts/check-client-bundle-secrets.mjs`:
- Around line 54-58: Update the RegExp branch in the scanning logic around
matchedText to collect every occurrence in each file, not only the first match.
Ensure the configured marker regex is global for matchAll, iterate all matches,
and add each matched value to offenders while preserving the existing
literal-marker behavior and deduplication key.
🪄 Autofix (Beta)

❌ Autofix failed (check again to retry)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2ae0cff2-7313-44f6-a286-f3a4d388b3dc

📥 Commits

Reviewing files that changed from the base of the PR and between bb253fb and b236acc.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • scripts/check-client-bundle-secrets.mjs
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

Comment thread scripts/check-client-bundle-secrets.mjs
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

⚠️ Branch updated during autofix.

The branch was updated while autofix was in progress. Please try again.

@BigSimmo
BigSimmo merged commit b3ae061 into main Jul 20, 2026
18 checks passed
@BigSimmo
BigSimmo deleted the dependabot/npm_and_yarn/supabase/ssr-0.12.3 branch July 20, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant