Patch the vendored NativePHP plugin from a stored stock copy - #188
Merged
Merged
Conversation
|
Warning Review limit reachedNext included review available in 9 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
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. Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
fgilio
force-pushed
the
fix/patch-from-stock
branch
from
September 6, 2026 13:05
c88c22c to
77df948
Compare
The patch set applied each edit to whatever the vendored file held, so a tree patched by an earlier revision of the script either blocked the run or, when the old anchors still matched, ended up with both revisions' edits. Every patch change needed its own upgrade path. The runner now keeps a copy of each stock target under vendor/nativephp/desktop/.rfa-stock on the first run and patches that copy on every later run, writing the result over the live file. A patched target without a stock copy is refused with a reinstall hint. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqwYa86be82YSKkJYb9VLz
fgilio
force-pushed
the
fix/patch-from-stock
branch
from
September 6, 2026 13:06
77df948 to
4b10db7
Compare
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqwYa86be82YSKkJYb9VLz
This was referenced Sep 6, 2026
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.
Why
Every patch in
scripts/patch-nativephp.phpanchored on the text the previous revision of the script left behind. Changing a patch meant adding an upgrade path from its old output, and the review of #184, #185, and #186 found three such paths missing:axiosbindings and no error.What
The runner keeps a copy of each stock target under
vendor/nativephp/desktop/.rfa-stockon the first run over a fresh vendor tree. Every later run patches that copy and writes the result over the live file, so a patch only ever anchors on stock or on the output of an earlier patch in the same run.resources/electron, which the build copies whole.Existing checkouts patched by an earlier revision need one reinstall:
rm -rf vendor/nativephp/desktop && composer install.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RqwYa86be82YSKkJYb9VLz