Skip to content

fix: add PasskeyUser on its own line so the User patch combines with others - #66

Merged
roble merged 1 commit into
mainfrom
dev-2026-10-31
Oct 31, 2026
Merged

roble merged 1 commit into
mainfrom
dev-2026-10-31

Conversation

@roble

@roble roble commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Why

Follow-up to #65, which was merged before this commit was pushed. v3.7.0 still ships the old user.patch, which edits the one-line implements of App\Models\User. Core 2.8.1's stub lists one interface per line (saucebase-dev/core#35), so the old patch no longer applies there, and billing's CI fails on it.

Changes

  • patches/user.patch: adds PasskeyUser, on its own line (before HasMedia). It only adds lines, so it applies with billing's, api-tokens' and tenancy's in any order.
  • composer.json: saucebase/core ^2.8.1.
  • tests/Feature/UserPatchTest.php: the patch only adds lines, and applies to core's stub with git apply.

Tests

  • auth + billing PHPUnit: 759 passed locally.
  • All 64 orderings of the four modules' User patches apply under patch -p1 and git apply.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 773e570f-e9a9-4e78-be3e-80e3be98b185
Commits

Reviewing files that changed from the base of the PR and between 46c0e1d and d9167ba.

Files selected for processing: 3
  • composer.json
  • patches/user.patch
  • tests/Feature/UserPatchTest.php
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit f97d856 into main Oct 31, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant