Skip to content

things: fix timeout on macOS Tahoe - #22193

Merged
raycastbot merged 2 commits into
raycast:mainfrom
bendrucker:things-fix-sequoia-timeout
Oct 15, 2025
Merged

raycastbot merged 2 commits into
raycast:mainfrom
bendrucker:things-fix-sequoia-timeout

Conversation

@bendrucker

@bendrucker bendrucker commented Oct 15, 2025 •

Copy link
Copy Markdown
Contributor

Description

Fixes timeout errors when opening the "Add New To-Do" command on macOS Tahoe (26.x).

On macOS Tahoe, the "Add New To-Do" command can time out with the error:

Command timed out after undefined milliseconds: osascript

This occurs because the component makes concurrent JXA queries to Things (tags, projects, and areas), which on Tahoe causes race conditions in the AppleEvent queue. Individual queries complete in 1-2 seconds, but concurrent execution results in timeouts. Other components such as TodoList could have the same problem depending on your data size in Things.

The fix consolidates getTags(), getProjects(), and getAreas() into a single getTagsProjectsAndAreas() JXA call, eliminating the race condition while maintaining backward compatibility for other commands.

Closes #22080

Checklist

References

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: things Issues related to the things extension AI Extension platform: macOS OP is contributor The OP of the PR is a contributor of the extension labels Oct 15, 2025
@raycastbot

raycastbot commented Oct 15, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @loris @andreaselia @jfkisafk @thomaslombart @srikirank @vimtor @samuelkraft @vmrjnvc @dinocosta @janosorcsik 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.

You can expect an initial review within five business days.

@bendrucker bendrucker changed the title things: fix timeout on macOS Sequoia things: fix timeout on macOS Tahoe Oct 15, 2025

@greptile-apps greptile-apps 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.

Greptile Overview

Summary

This PR fixes timeout errors when opening the "Add New To-Do" command on macOS Sequoia by consolidating concurrent JXA queries into a single execution.

Key Changes:

  • Consolidated getTags(), getProjects(), and getAreas() into a single getTagsProjectsAndAreas() function to prevent AppleEvent queue race conditions on macOS Sequoia
  • Added new getListsAndTags() convenience function for the add-new-todo command
  • Enhanced error handling by adding operation context to all ThingsError instances and adding specific timeout detection
  • Maintained backward compatibility - individual functions (getTags, getProjects, getAreas, getLists) remain available for other commands
  • Improved debugging by displaying operation context in error messages

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The solution directly addresses the root cause (concurrent JXA calls causing race conditions on Sequoia), maintains full backward compatibility with existing commands, adds helpful debugging context, and follows proper error handling patterns. The changes are well-contained and don't introduce new dependencies or breaking changes.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
extensions/things/src/api.ts 5/5 Consolidates concurrent JXA calls into single getTagsProjectsAndAreas() function to fix timeout issues on macOS Sequoia, adds operation context to all errors
extensions/things/src/add-new-todo.tsx 5/5 Replaces concurrent getTags() and getLists() calls with single getListsAndTags() function, simplifies error and loading state handling

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@bendrucker
bendrucker force-pushed the things-fix-sequoia-timeout branch 4 times, most recently from 9eed45d to 898799f Compare October 15, 2025 07:18
Consolidates concurrent JXA queries to prevent timeouts on macOS 26.x.
Improves error reporting with operation context.
@bendrucker
bendrucker force-pushed the things-fix-sequoia-timeout branch from 898799f to c0b3827 Compare October 15, 2025 07:32
@pernielsentikaer pernielsentikaer self-assigned this Oct 15, 2025

@pernielsentikaer pernielsentikaer 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.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit ca7f378 into raycast:main Oct 15, 2025
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

tktcorporation added a commit to tktcorporation/extensions that referenced this pull request Nov 2, 2025
- chore: add assets and metadata for store submission
- docs: add comprehensive documentation
- test: add comprehensive test coverage
- feat: implement UI components and main search interface
- feat: add internationalization support
- feat: add AI-powered query interpretation
- feat: implement core app search functionality
- feat: add type definitions and fuzzy matching utilities
- feat: initialize app-search extension with project configuration
- Update CODEOWNERs (7b1e59c4)
- Add kagi-news extension (#22389)
- brew: Change "formula" to "formulae" (#22518)
- Update CODEOWNERs (257af696)
- Add string-formatter extension (#21859)
- Update CODEOWNERs (2a0fab28)
- Add helium extension (#22290)
- feat(markdown-codeblock): add newline prefix (#22369)
- Update CODEOWNERs (b20058a1)
- Docker/add windows support (#22455)
- Add Windows platform support (#22453)
- Update CODEOWNERs (aa68611f)
- Add xkcd-password-generator extension (#22433)
- Update CODEOWNERs (8bf2a9d9)
- Add Stagehand extension (#22179)
- Update CODEOWNERs (59d237b7)
- Add micro-snitch-logs extension (#22390)
- Update CODEOWNERs (238052ee)
- Update github extension (#22384)
- Docs: Update the utils docs
- Update CODEOWNERs (42e307ec)
- Add ivpn extension (#22149)
- Add Pagination to List of Playlist Songs (#22145)
- [Update] [Things] Increase timeout in AppleScript and update Node packages to latest (#22512)
- Update figma-files-raycast-extension extension (#22254)
- Update prism-launcher extension (#22458)
- Update unicode-symbols extension (#22510)
- Update jsr extension (#22503)
- Update CODEOWNERs (0fd5ad08)
- Add keeper-security extension (#22296)
- Update filemaker-snippets extension (#22509)
- Update CODEOWNERs (e858971c)
- Add paynow extension (#22380)
- [ipapi.is] fix error when some location field is invalid (#22493)
- Update CODEOWNERs (ccfa9932)
- Update zen-browser extension (#22491)
- Update tembo extension (#22471)
- Delete .github/workflows/add-approve-label.yml (#22501)
- Update `Chatwoot` extension - Add "My Inbox" command + Fix "List Messages" command (#22490)
- [Linear] Use API-provided notification presentation (#22285)
- Update CODEOWNERs (1a7209ee)
- Update harvest extension (#22256)
- Update CODEOWNERs (13787cdf)
- Fix finding button in Tahoe. (#22330)
- Update GitHub Actions workflow for PR approvals (#22487)
- Docs: update for the new API release
- Update CODEOWNERs (77f64775)
- Added support for Asana sections (#21912)
- Update auto-label workflow for PR approvals (#22484)
- Update GitHub Actions workflow to set effective token (#22482)
- Update workflow to use pull_request_review event (#22479)
- Update CODEOWNERs (d5727aab)
- Add action to generate and copy private links (#22273)
- Enhance PR approval labeling workflow (#22477)
- Chatgpt atlas bookmarks improvement (#22371)
- Add windows support  (#22367)
- Update diskutil-mac extension (#22307)
- [Secret Browser Commands] add ChatGPT Atlas, etc (#22348)
- Update deployhq extension (#22319)
- [Serie A] Update extensions (#22427)
- Update CODEOWNERs (a0f6527b)
- Update arc extension (#22272)
- Update CODEOWNERs (82962ede)
- Add file-info extension (#22259)
- [LaLiga] Update extensions (#22452)
- Update CODEOWNERs (9f49ac17)
- Update jotoba extension (#22379)
- Update capture fullpage of website extension (#22392)
- Update CODEOWNERs (9eeb19ae)
- Add `Formizee` extension - The Open-Source Forms Platform (#22281)
- Update CODEOWNERs (3878eb92)
- [Video Downloader] ADD "Open in Explorer" for Windows users. (#22300)
- Add `Sevalla` extension  (#22407)
- Update CODEOWNERs (c4582cbb)
- Add `Attio` extension - Objects, Tasks, Webhooks, Lists, Notes, Members and Teams (1st version) (#22432)
- Update CODEOWNERs (04f103bd)
- Update google tasks extension (#22439)
- Update CODEOWNERs (1e072cd8)
- feat: add KeePassXC entry placeholder support (#22357)
- Update ton-address extension (#22370)
- [Postiz] Fix Creation Failing + Post Enhancements (#22372)
- Update comet extension (#22381)
- Update CODEOWNERs (291204ff)
- [Random] Update dependencies, release for Windows (#22353)
- Update CODEOWNERs (eeb3d87a)
- Update capture fullpage of website extension (#22304)
- Update CODEOWNERs (5204e8d4)
- Add `HomeBox` extension - A simple home inventory management software (#22264)
- Update docklock-plus extension (#22240)
- Update `Autumn` extension - New Features command + Windows Support + Enhancements (#22311)
- Update CODEOWNERs (7385f9dd)
- Update paste as plain text extension (#22328)
- Update CODEOWNERs (0ad576af)
- Add `Vartiq` extension - Manage Projects, Apps, Webhooks, Webhook Messages (#22324)
- Update CODEOWNERs (f28be428)
- Update browser bookmarks extension (#22343)
- Update CODEOWNERs (85c4dc01)
- Update chatgpt atlas extension (#22351)
- Update CODEOWNERs (2468906f)
- Add ChatGPT Atlas extension (#22340)
- Docs: update for the new API release
- Update nightscout extension (#22293)
- Threads: ESLint simplification, dependency updates, new commands, and documentation (#22276)
- Update CODEOWNERs (a2bc7743)
- Add wled-controller extension (#22258)
- Update CODEOWNERs (12a75181)
- Update jetbrains extension - Add Support for Toolbox V3  (#22265)
- Update CODEOWNERs (3c3bfba8)
- Add fathom extension (#22187)
- Update youtube extension (#22250)
- Update CODEOWNERs (2ddb7251)
- Update fetch youtube transcript extension (#22220)
- docs: [YouTube] reflect YouTube extension features instead of the GitLab extension (#22246)
- Update kimai extension (#21809)
- Update multiple extensions to address security vulnerabilities. (#22241)
- Update linkding extension (#22231)
- Update CODEOWNERs (f24e76f7)
- Add http-observatory extension (#22219)
- Update dig extension (#22213)
- Update CODEOWNERs (4dd7c9d8)
- Update apple-reminders extension (#22182)
- Update CODEOWNERs (6336d869)
- Add `Paymenter` extension - View Invoices + View Tickets + View & Create Users (#22232)
- Update CODEOWNERs (f7242a65)
- Update nhl extension (#22237)
- Update CODEOWNERs (6d84bbb2)
- Update obsidian-tasks extension (#21863)
- Update harvest extension: Add favorites command (#22210)
- Update CODEOWNERs (e8d487be)
- Add tududi extension (#22165)
- Update raycast-zoxide extension (#22218)
- Update CODEOWNERs (00c88e12)
- Update cheatsheets extension (#22226)
- New Feature: Bootstrap Icons: AI Search Fallback (#22221)
- Update `Unkey` extension - move to Unkey SDK w/ v2 Endpoints for better performance (#22214)
- feat(nuxt): add Windows compatibility (#22209)
- Update CODEOWNERs (4e5503af)
- Add forscore extension (#22204)
- tabler: handle pagination/search APIs (#22189)
- Update CODEOWNERs (72e0c46f)
- Update plane extension (#22198)
- Update CODEOWNERs (a15e7275)
- Add haystack extension (#22052)
- Update zed-recent-projects extension (#22199)
- things: fix timeout on macOS Tahoe (#22193)
- macosicons: enhance error handling with detailed troubleshooting (#22192)
- feat(nuxt): v2.1.0 (#22104)
- [Bitwarden] Add Windows support (#21940)
- Update CODEOWNERs (0d47291d)
- Update instant-domain-search extension (#22081)
- Update CODEOWNERs (a006b143)
- Update time-machine extension (#22045)
- Update base-stats extension (#21710)
- Update CODEOWNERs (88cf72d9)
- Update contributors (#22175)
- Add Bootstrap Icons extension (#22190)
- Update CODEOWNERs (9e13279b)
- Add edgestore-raycast extension (#22117)
- Update CODEOWNERs (a82922ec)
- New Extension: Metacritic (#21588)
- Update dust-tt extension (#22167)
- [1Password] Adopt the latest extension template (#22109)
- Update CODEOWNERs (b1b36e04)
- Kaomoji Windows Support (#22158)
- Update CODEOWNERs (21f635c6)
- Update changedetection-io extension (#22126)
- Update CODEOWNERs (7aa198cb)
- [IPInfo] Release for Windows (#22075)
- Update threads extension (#21962)
- Update search-npm extension (#22153)
- Update CODEOWNERs (0f83c147)
- Update deployhq extension (#22151)
- Update anna-s-archive extension (#22156)
- Update `brand.dev` extension - Take Screenshots + Retrieve Styleguides + more brand data (#22155)
- fix(keepassxc): retrieve keepassxc app location. (#22073)
- Update bible extension (#22157)
- Update CODEOWNERs (10372204)
- Add serialcast extension (#21795)
- Update CODEOWNERs (b25f5e83)
- Add yazio-tracker extension (#21954)
- Update bible extension (#22112)
- Update grammaring extension (#22113)
- Update CODEOWNERs (e100bc12)
- Update toggle-fn extension (#22130)
- Update CODEOWNERs (1f62a06f)
- [Linear] Schema deprecation and update SDK (#22095)
- Update CODEOWNERs (576ae0c4)
- Update jwt-decoder extension (#22088)
- Update duckduckgo-image-search extension (#22064)
- Update CODEOWNERs (1869fd16)
- Add deployhq extension (#21902)
- Update CODEOWNERs (e46aede5)
- Add bahn-info extension (#21492)
- Update howlongtobeat extension (#22120)
- Update CODEOWNERs (dfa9df71)
- feat: add massCode assistant (#21851)
- Update zoxide-git-projects extension to add alternate application and copy shortcuts (#22143)
- Update CODEOWNERs (14d29e47)
- Add planning-center-api-docs extension (#22029)
- Update CODEOWNERs (df7f1aca)
- Update font-awesome extension (#22085)
- Update google-chrome extension (#22074)
- Update unicode-symbols extension (#22103)
- Update CODEOWNERs (1c08b627)
- [Twitter] Modernize + fix smol controlled form thingy (#21767)
- feat(bento-me): add Windows support. (#22119)
- [Plane] fix crash due to different logo response (#22146)
- Update CODEOWNERs (cc8cf75b)
- Update `Plane` extension - search projects & view their work items + filter work items  (#22106)
- Update CODEOWNERs (187ad3c6)
- Update hackmd extension (#22035)
- Update CODEOWNERs (9befbb8b)
- Update base64 extension (#21507)
- [MapleStory.gg] Add support for Windows (#22086)
- Update CODEOWNERs (8d7ab8d0)
- Update `Supermemory` extension - search and add projects + Removed `useEffect` + Simplified `getApiKey`+ Moved API Key check into HoC (#22102)
- [RICE Score] Port to Windows (#22118)
- [Snake] Add Windows support (#22105)
- [Brand Icons] Routine maintenance (#22087)
- Update CODEOWNERs (da27c425)
- Add `Chatwoot` extension (#22116)
- Update CODEOWNERs (1e28965f)
- update information & a small fix (#22137)
- Add lapack-blas-documentation-search extension (#22031)
- kim/fix/youtube transcripts (#22067)
- Update scheduler extension (#22003)
- Update unicode-symbols extension (#22066)
- Update zeabur extension (#22062)
- Update CODEOWNERs (ac316560)
- Add `OVHcloud` extension - Manage Domain, DNS Records, Nameservers (#22065)
- Update CODEOWNERs (3a9d22a1)
- Update sesh extension (#21914)
- Set Due Date to Everyday for Existing Tasks (#22058)
- Update CODEOWNERs (049667a3)
- Update duckduckgo-image-search extension (#21953)
- Update numpy-documentation-search extension (#22020)
- Update CODEOWNERs (7d895075)
- Add instant-domain-search extension (#21871)
- Update CODEOWNERs (ed57125e)
- Add fakecrime-upload extension (#22010)
- Update CODEOWNERs (92d1043d)
- Add plane extension (#21879)
- [RSS Reader] AI enhanced rss-reader extension (#22000)
- Update CODEOWNERs (e4687ae8)
- Add clean-text extension (#20988)
- Update CODEOWNERs (99f287ce)
- Fix quit-applications extension: Apple Events authorization error with fallback to ps command (#21155)
- Update CODEOWNERs (fdc83ab6)
- Scoop(refactor): implement singleton pattern for scoop command management and hooks for the UI (#21702)
- Update CODEOWNERs (24d2d377)
- feat(search-router): add custom search engine support (#21714)
- Update sportssync extension (#21970)
- Update CODEOWNERs (f31f0658)
- Update zen-browser extension (#21556)
- linear: add status preference to create issue for myself (#21959)
- Update CODEOWNERs (061fee85)
- Add ipinfo extension (#21991)
- Update `Postiz` extension - support v2 endpoint + toggle display (#22044)
- Fix: Address recipe fetching bug (#22033)
- Update CODEOWNERs (32769831)
- Update CT-7567 username in raycast2github.json (#22050)
- Refactor reviewer permission check in workflow (#22041)
- Update some deps to solve vulnerabilities (#22040)
- Update CODEOWNERs (573ea59e)
- Fix some security warnings (#21921)
- [United Nations] Add support for Windows (#22032)
- [Installed Extensions] Add support for Windows (#22036)
- Implement comment creation and updating for PR bot (#22037)
- Decommission Clarify Raycast extension. (#22034)
- Docs: update for the new API release
- Refactor platform label handling in PR bot (#22016)
- Implement platform detection for extensions (#22014)
- Update CODEOWNERs (dd22780a)
- Add near-rewards extension (#21917)
- Update CODEOWNERs (5bcb18d9)
- Add toneclone extension (#21701)
- [dust] feat(login): auto-switcher for user region (#21668)
- Update CODEOWNERs (a97cef3c)
- Add alloy extension (#21849)
- Update CODEOWNERs (0fa6b009)
- [Bitwarden Vault] Add a command to create a login (#21360)
- Update CODEOWNERs (10274f0e)
- Add numpy-documentation-search extension (#22013)
- Update `ipapi.is` extension - Modernize + Windows Support + Enhancements (#21935)
- Update CODEOWNERs (bdd2960d)
- Update datetime format converter extension (#21707)
- Update CODEOWNERs (8f7b8b7b)
- Add `Infisical` extension (#21880)
- Update CODEOWNERs (f3417a17)
- Add `Chatbase` extension - View Agents/Bots, their conversations and messages (#21963)
- add issue type to templates (#22005)
- Update CODEOWNERs (ce65697d)
- Add guitar-tools extension (#21855)
- Update CODEOWNERs (27cae3f6)
- Add shopify-dev-docs-search extension (#21694)
- Update CODEOWNERs (9433c5d4)
- Update comet extension (#21945)
- [epim] Add automatic role status refresh after activation (#22008)
- [raycastbot] Add support for closing issues as duplicate (#21548)
- Update CODEOWNERs (4356e0bd)
- Update `Kaomoji Search` extension - Windows Support + Modernize (#21976)
- Update workflow configurations (#22002)
- Update CODEOWNERs (5a03e66d)
- Add braintick extension (#21545)
- [Say] Fix missing await (#22001)
- Update CODEOWNERs (ae2261c9)
- Add rtl-reader extension (#21549)
- Update CODEOWNERs (aaeda7de)
- Add airsync extension (#21903)
- [Say] Add Stop Say command & enhancements (#21998)
- Docs: Update the utils docs
- Update add-approve-label.yml (#21995)
- Updated WebBites extension (#21987)
- Enhance label addition workflow with debug info (#21990)
- Update add-approve-label.yml (#21989)
- Update reviewer type and token handling in workflow (#21988)
- Refine auto-labeling for approved PRs (#21986)
- Update add-approve-label.yml (#21984)
- Update add-approve-label.yml (#21983)
- Update add-approve-label.yml (#21982)
- Update add-approve-label.yml (#21981)
- Update add-approve-label.yml (#21980)
- Update add-approve-label.yml (#21979)
- Rework of fuzzy-file-search extension (#21675)
- Update add-approve-label.yml (#21977)
- Update add-approve-label.yml (#21975)
- Add GitHub Actions workflow to auto-label approved PRs (skip write+ users only) (#21974)
- Update CODEOWNERs (45a587fb)
-  [Web Converter] Add Windows Support (#21691)
- Update CODEOWNERs (f922e589)
- Add security-search extension (#21711)
- Improve video filename handling and update dependencies (#21958)
- [Grafana] add command Pages (#21952)
- Fix formatting in generate-code-owners.yml (#21951)
- Update CODEOWNERs (070fbee8)
- Implement fallback for core dirs and key files checkout (#21950)
- Refactor sparse checkout and improve Slack notifications (#21949)
- Enhance sparse checkout and improve commit message (#21947)
- Update qrcode generator extension (#21922)
- Enhance URL handling: allow direct opening of URLs and add utility function for URL validation (#21555)
- [Trello] Allow for multiple assignees on card (#21512)
- Update messages extension (#21939)
- Update stripe extension (#21943)
- Update generate-code-owners.yml for sparse-checkout (#21925)
- Add comma-separator extension (#21749)
- Add gomander extension (#21647)
- [Google Transalte] add hotkey to switch between language sets quickly (up and down) (#21918)
- Add supermemory extension (#21811)
- Add nepali-calendar extension (#21708)
- Add folder-organizer extension (#21575)
- Update github extension (#21742)
- [Logseq] Windows support (#21705)
- add an extra space for reward text (#21905)
- Add uranium-raycast-plugin extension (#21501)
- Update 1password extension (#21689)
- Fix: The "Search Bookmarks" command returns an error when the hard-coded default path does not exist (#21706)
- [Raindrop.io] open i