Skip to content

Releases: facebook/watchman

v2025.12.22.00

22 Dec 16:04

Choose a tag to compare

Add documentation for pywatchman.WatchmanError

Summary:
## Instructions about RACER Diffs:
**Commandeer this diff (recommended) or land with accept2ship tag.**

**This diff was generated by Racer AI agent on behalf of [Brian Johnson](https://www.internalfb.com/profile/view/8646079) for T246430665. If the diff quality is poor, consider contacting the user to provide clearer instructions on the task.**

- If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**)
- If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate.
- If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff.
- **For M10N reviewers:** as you review AI-generated diffs, we ask you to give them the same priority as human-generated diffs, and take action in a timely manner by either accepting, rejecting, or resigning as a reviewer. For diffs that don't meet the quality bar (e.g. code doesn't compile, not readable or introduces functionality regressions), we ask that you use the following hashtags to provide clear signals to improve our tools - `#monlowqualitydiff` `#monwrongreviewerdiff`

## Summary:
Added documentation string to the `WatchmanError` exception class in the pywatchman Python client library. The docstring describes:
- The purpose of the exception as the base class for watchman client errors
- When the exception is raised (communication failures, invalid responses, command errors)
- The attributes available on the exception (msg and cmd)

This improves code discoverability and helps developers understand how to properly use and handle watchman exceptions.
 ---
> Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/)
[Session](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Trace)

Reviewed By: xavierd

Differential Revision: D87866042

fbshipit-source-id: b75a10db7926284a5cf542cc635c49b039709340

v2025.12.15.00

15 Dec 16:04

Choose a tag to compare

Fix clippy::unnecessary_map_or issues in fbcode/watchman/cli/src

Reviewed By: dtolnay

Differential Revision: D88837554

fbshipit-source-id: 4af50a0b4cba44e789d03b297d90c515a435baf4

v2025.11.24.00

24 Nov 16:10

Choose a tag to compare

fix windows build setuptools error (#1316)

Summary:
Pull Request resolved: https://github.com/facebook/watchman/pull/1316

The upgrade of setuptools in D79195099 broke pywatchman  build,  Github windows CI erroring with  `AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'` https://github.com/facebook/watchman/actions/runs/19440507973/job/55622405533#step:131:1188 .  It was only affecting windows as only windows CI is building dependencies form source, the others use system dependencies.

Fix by pinning watchman to the previous setuptools version

Fix to help iterate locally:
*  fix the cargo.py remove behaviour to use rmtree_more.  This fixes repeat local builds while debugging. After the first build was getting `PermissionError: [WinError 5] Access is denied: 'Z:\build\fbthrift\source\.git\objects\pack\pack-250eb41d409d8c0f512fdb239d0225fa35d50c3d.idx'`

Reviewed By: bigfootjon

Differential Revision: D87655865

fbshipit-source-id: 8948b0ffe38f304fa96051bf6ac3a0455ef1a16e

v2025.11.17.00

17 Nov 16:04

Choose a tag to compare

Updating submodules

Summary:
GitHub commits:

https://github.com/facebook/buck2-prelude/commit/4e4ea3b8fd03092ef6dd067a89209eac90a776c5
https://github.com/facebook/fb303/commit/241346ad3b4b369d5dd2f8b150026e48db9079c8
https://github.com/facebook/fbthrift/commit/8e6545eb2b8154f22df16beea001b2c101d3bca7
https://github.com/facebook/folly/commit/ccbc047846405110f25452f33aac09e69c2d7a5a
https://github.com/facebook/mvfst/commit/75729b338a58ed33bcaf10eb7889aa4c40033122
https://github.com/facebook/proxygen/commit/1e32421f9346b7295be154770b28fa23a023fc87
https://github.com/facebook/wangle/commit/585c32c0aed4db6efda311e3312f148ed8265ccc
https://github.com/facebookexperimental/edencommon/commit/9d51e83f6cbce510cf2e472660a674ae4800cba3
https://github.com/facebookexperimental/rust-shed/commit/91e263b4ed44b55c15cf90696a84bd50885c31e1
https://github.com/facebookincubator/fizz/commit/677a3b871595a6a6a10d0e62aa8b99cd301a80e5
https://github.com/facebookincubator/llm_orchestrator/commit/d12919a5ae4b016b948a8d92ac84ed859006a878

Reviewed By: pranavcivi

fbshipit-source-id: 578d8e91c3257772834ad43212a1740fc799af7c

v2025.11.10.00

10 Nov 16:04

Choose a tag to compare

performance-move-const-arg in eden.cpp

Reviewed By: xavierd

Differential Revision: D86492736

fbshipit-source-id: 905579b4977eff34d0e0054723225131cdd147c9

v2025.11.03.00

03 Nov 16:03

Choose a tag to compare

Updating submodules

Summary:
GitHub commits:

https://github.com/facebook/fb303/commit/cf636f03b85848dab8c10b27b17c483de62791a5
https://github.com/facebook/fbthrift/commit/24ae39399c38caf88d94471bca5af85c51d661db
https://github.com/facebook/folly/commit/785a1706e6383c289bab1c57ecb05015f98dcf52
https://github.com/facebook/mvfst/commit/2b620afa2b572794033255dbcafff9ddfec22c93
https://github.com/facebook/proxygen/commit/89b8efbc40451bec435b9bb63db319c90a88825b
https://github.com/facebook/wangle/commit/ed1c3cc1d65086f5f3ae4aed93c554fc0543f214
https://github.com/facebookexperimental/edencommon/commit/e2191cc1d390815e5703522d6f3e7f78f5b64bbf
https://github.com/facebookexperimental/rust-shed/commit/dec177a684abb94987453df59afcf41c06fe8786
https://github.com/facebookincubator/fizz/commit/54e436386a1f592f90646190735dcb1563a0565e

Reviewed By: bigfootjon

fbshipit-source-id: 08551ff9caccaae4011df2eea35bea0915e7ef43

v2025.10.27.00

27 Oct 15:04

Choose a tag to compare

clang-format | Format fbsource with clang-format 21.

Reviewed By: ChristianK275

Differential Revision: D85317706

fbshipit-source-id: b399c5c4b75252999442b7d7d2778e7a241b0025

v2025.10.20.00

20 Oct 15:04

Choose a tag to compare

Updating submodules

Summary:
GitHub commits:

https://github.com/facebook/fb303/commit/8fda3bf58d1276848ebe9769563899fc26e43724
https://github.com/facebook/fbthrift/commit/af5480bfee3b8b41e897f43ef52ee03e805ed6f6
https://github.com/facebook/folly/commit/2cd8e79e618341ba51cc699184604212298cd803
https://github.com/facebook/mvfst/commit/8761455676760f902285f67242f00c73b810ae29
https://github.com/facebook/proxygen/commit/0bb249765ad9e564a536ae972f69229e76ff7582
https://github.com/facebook/wangle/commit/4cbbda20514c23768ed600d0f5c4dd91837875e2
https://github.com/facebookexperimental/edencommon/commit/730791f44528f16c06a8f6bd86be115098a62c4e
https://github.com/facebookexperimental/rust-shed/commit/0ac0bd757dd02482007a081b7bc49ede85a4d05b
https://github.com/facebookincubator/fizz/commit/ba61853233249af5033abc18b4dc8e35d7166180

Reviewed By: sdwilsh

fbshipit-source-id: 7a74f5b2bbfdb44e16d6a26bea0ab01bb75f9020

v2025.10.13.00

13 Oct 15:30

Choose a tag to compare

Move to ftpmirror for all gnu

Summary:
X-link: https://github.com/facebookexperimental/moxygen/pull/79

as in title

Reviewed By: roticv

Differential Revision: D84388344

fbshipit-source-id: 96057b6b1c5f282451b8c2b582649c379cac9ecb

v2025.10.06.00

06 Oct 15:04

Choose a tag to compare

Updating submodules

Summary:
GitHub commits:

https://github.com/facebook/fb303/commit/71a57016b2b94ad865452317c5bb1af94ea96826
https://github.com/facebook/fbthrift/commit/3b40b6eaf298f3b6514d31826bd69878ed654696
https://github.com/facebook/mvfst/commit/1ead1ba13b9703e32426fd00fb2649cc2f17025b
https://github.com/facebook/proxygen/commit/ab9e898da2421c89703a71202973bb72e3de6f5b
https://github.com/facebook/wangle/commit/35482f8e5295a7b947b69ec423e2fe32a2eb124b
https://github.com/facebookexperimental/edencommon/commit/7fe2861d7db1b9fb3361944b4a181f37f130463b
https://github.com/facebookexternal/wrist-factory/commit/dc0d9c3701fdc35803465bc4d324866e9adbe962

Reviewed By: pranavcivi

fbshipit-source-id: 7c20f028ca239b3ab7868490b45f8e58b64e404f