Skip to content

Tags

Tags

v2026.11.16.00

Toggle v2026.11.16.00's commit message

v2026.11.09.00

Toggle v2026.11.09.00's commit message
Use `[[likely]]`/`[[unlikely]]` instead of whole-condition `FOLLY_LIK…

…ELY`

Summary: `FOLLY_LIKELY(cond)` and `FOLLY_UNLIKELY(cond)` wrap `__builtin_expect`. When the macro is the entire condition of an `if`, the C++20 `[[likely]]` and `[[unlikely]]` attributes on the branch say the same thing in standard C++. Rewrite those statements, for example `if (FOLLY_UNLIKELY(!ok))` becomes `if (!ok) [[unlikely]]`. Uses inside larger expressions and loop conditions are unchanged. No behavior change.

Reviewed By: dtolnay

Differential Revision: D130448441

fbshipit-source-id: a959a50f2368515dfe3d7b7faf8b2d8bfc892540

v2026.10.26.00

Toggle v2026.10.26.00's commit message
Remove unreachable returns in fbcode/ai_infra, fbcode/aiplatform and …

…9 more (+23)

Summary:
Clang's `-Wunreachable-code-return` (reported by continuous lint as `clang-diagnostic-unreachable-code-return`) flags `return` statements that can never execute. This diff fixes 23 of them.

Dead `return`s are deleted when they follow a statement that never completes normally (`throw`, `LOG(FATAL)`, `CHECK(false)`, `std::abort()`, `FAIL()`, ...) or a block whose every path already returns or throws (exhaustive `if`/`else`, `switch` with `default`, `try`/`catch`, `while (true)`). Behaviour is unchanged in every build mode.

Where termination depends on the build mode (`DCHECK(false)`, `DLOG(FATAL)` and `assert(false)` abort only when `NDEBUG` is not defined), the fallback `return` is kept under `#ifdef NDEBUG`, so opt builds behave exactly as before and debug builds no longer carry a dead statement.

Part of T294580822.

Reviewed By: dtolnay

Differential Revision: D127401217

fbshipit-source-id: de6f18156dcf41ecd51257e6e5a34e7cf7996200

v2026.10.19.00

Toggle v2026.10.19.00's commit message

v2026.10.12.00

Toggle v2026.10.12.00's commit message

v2026.10.05.00

Toggle v2026.10.05.00's commit message

v2026.09.28.00

Toggle v2026.09.28.00's commit message
Updating hashes

Summary:
GitHub commits:

3dea588
meta/fb303@5a6f522
meta/fbthrift@e99f1d2
meta/folly@7914a31
meta/mvfst@af2fdf3
meta/proxygen@6490975
pyrefly-org/pyrefly@1d8dc92
meta/wangle@d5066eb
facebookexperimental/rust-shed@8dbdf04

Reviewed By: kainanpeace666

fbshipit-source-id: a967a333156bfb964b09ca363e7500e856494629

v2026.09.21.00

Toggle v2026.09.21.00's commit message
Add an asynchronous transfer executor

Summary:
Add TransferExecutor, a framework-owned asynchronous transfer engine. Callers submit a DetachedItem together with the selected destination CacheComponent and Connector; the executor schedules accepted transfers on a configurable folly::CPUThreadPoolExecutor and tracks them with AsyncScope so shutdown can drain suspended work.

Routing and selector policy remain in the framework rather than being frozen into bound callbacks. The executor is reusable for eviction and promotion and intentionally omits queue bounds, admission metrics, routing, and version checks; pool sizing remains caller policy.

Reviewed By: rlyerly

Differential Revision: D118363420

fbshipit-source-id: cea3c868e5d7569bc24e4d3109bc18029a335ac5

v2026.09.14.00

Toggle v2026.09.14.00's commit message
fbcode/cachelib/shm/ShmManager.cpp

Reviewed By: rlyerly

Differential Revision: D119648038

fbshipit-source-id: 396b516a333ab22f9ef85c17d9af8e813ecc46e7

v2026.09.07.00

Toggle v2026.09.07.00's commit message