Fix Google Chrome history search when Chrome is running#27685
Conversation
|
Thank you for your first contribution! 🎉 🔔 @rgomezcasas @bromanko @crisboarna @andreaselia @rtyke @karolre @Aiee @nagauta @a-laughlin @tleo19 @Tarocch1 @rsperezn @drewbabel @haydencbarnes @pernielsentikaer @j3lte @0xdhrv @xmok @hayk94 you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="fix/google-chrome-utils-lock-fallback"
FORK_URL="https://github.com/Jeffrey95/extensions.git"
EXTENSION_NAME="google-chrome"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR bumps
Confidence Score: 5/5Safe to merge — the change is a targeted patch-version dependency bump with a well-understood, previously verified fix. The only substantive change is upgrading @raycast/utils by two patch versions to restore the database-lock fallback path. The lock file update is consistent with the version change and the peer: true flag additions are an expected npm lockfile v3 artefact. The sole nit is the hardcoded date in CHANGELOG.md instead of the {PR_MERGE_DATE} placeholder. No files require special attention. Important Files Changed
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
extensions/google-chrome/CHANGELOG.md:3
The new changelog entry uses a hardcoded date (`2026-05-07`) instead of the `{PR_MERGE_DATE}` placeholder. The Raycast repository convention is to leave `{PR_MERGE_DATE}` as-is so the release tooling substitutes the actual merge date automatically.
```suggestion
## [Fix Chrome History Search When Chrome Is Running] - {PR_MERGE_DATE}
```
Reviews (2): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile |
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@Jeffrey95). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |
Description
Bumps
@raycast/utilsfrom^2.2.2to^2.2.4to pick up theuseSQLlock fallback fix fornode:sqlite.When Chrome is running, searching Chrome history can fail with
database is locked. The extension already usesuseSQL, which has a fallback that copies the database to a temporary file when SQLite reports the source DB is locked. However, older@raycast/utilsversions only detected lock errors from message text like(5)/(14). With Raycast's newer Node runtime,node:sqlitereports the lock aserrcode: 5with messagedatabase is locked, so the fallback was not triggered.This matches the root cause fixed for Zen Browser in #27373. Updating
@raycast/utilsmakesuseSQLdetect thenode:sqliteerror code and use the existing DB-copy fallback.Fixes #27493
Verification
@raycast/utils2.2.2 while Chrome was running.@raycast/utils2.2.4.npx tsc --noEmit.npm run lint.npm run build.Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder