Skip to content

Releases: facebook/buck2

latest

13 Apr 15:18
Compare
Choose a tag to compare
latest Pre-release
Pre-release
Fix typo in "how to handle errors" doc

Summary:
Fix typo in "how to handle errors" doc

join -> join_all

Reviewed By: JakobDegen

Differential Revision: D68369429

fbshipit-source-id: d89082a15dd692c564f8756ace37621c11c478cc

2025-01-15

15 Jan 06:55
Compare
Choose a tag to compare
2025-01-15 Pre-release
Pre-release
Add ErrorTags for DiceErrors

Summary: ^ makes it easier to spot DiceErrors when we encounter them

Reviewed By: JakobDegen

Differential Revision: D68188049

fbshipit-source-id: 01ccc029f7deb4529f78e87a0c3926a86695d326

2025-01-02

02 Jan 11:45
Compare
Choose a tag to compare
2025-01-02 Pre-release
Pre-release
Collect link groups roots into set instead of list

Summary: This change is required for further diffs where we check each node in roots when traversing graph of linkables. We can do it with `list` too, but `set` is simply more perfromant.

Reviewed By: artempyanykh

Differential Revision: D67389696

fbshipit-source-id: a5ea7ace8693dc98b9c823d4453105a4005d0062

2024-12-16

16 Dec 11:21
Compare
Choose a tag to compare
2024-12-16 Pre-release
Pre-release
buck2: explain: switch colors up a bit

Summary: want to show excess cache misses in a different color

Reviewed By: perehonchuk

Differential Revision: D67180041

fbshipit-source-id: 8d64872bd87736f6bad4fccce39835a52905a0da

2024-12-02

02 Dec 10:43
Compare
Choose a tag to compare
2024-12-02 Pre-release
Pre-release
fix test_test_artifacts.py::test_remote_artifact_directory_is_not_mat…

2024-11-15

15 Nov 00:51
Compare
Choose a tag to compare
2024-11-15 Pre-release
Pre-release
argfiles: Clean up dependency on `canonicalize` and `cwd`

Summary: I was hoping to remove the `canonicalize` call here but that turns out to be a bit hard - but let's at least make the reason it has to be there more explicit, and also not reuse the immediate context for the cwd

Reviewed By: stepancheg

Differential Revision: D65845854

fbshipit-source-id: 11cfd4cf8680a99436727cdc3a20191db484a2e4

2024-11-01

01 Nov 09:35
Compare
Choose a tag to compare
2024-11-01 Pre-release
Pre-release
Convert log commands to record InvocationRecord

Summary: Log commands don't have any InvocationRecord generated.  I would like to track details about who/how invokes log commands. Let's ensure they are written to buck2_builds table with no event log option (so scrapped from scribe?).

Reviewed By: iguridi

Differential Revision: D64044944

fbshipit-source-id: d4ec4a9fe3cc12224f8344dea218abe96a49223c

2024-10-15

15 Oct 00:22
Compare
Choose a tag to compare
2024-10-15 Pre-release
Pre-release
Refactor derive(Freeze)

Summary:
Use the same parser for `#[freeze]` on struct and on field. Errors with better spans.

For future changes. What we need is something like

```
#[freeze(frozen = ...)]
```

to `derive(Freeze)` when some fields are generic but freeze is identity. Currently it is not possible, because even if bounds is specified, generated code still uses `T::Frozen` for frozen type parameter.

Reviewed By: JakobDegen

Differential Revision: D64337850

fbshipit-source-id: 970c3ade11061b9f3bd4f55baabf78cc076a9f6d

2024-10-01

01 Oct 00:55
Compare
Choose a tag to compare
2024-10-01 Pre-release
Pre-release
Include ExecutionPlatformResolutionKey in cfg graph cycle detector.

Summary: ^

Reviewed By: JakobDegen

Differential Revision: D63337541

fbshipit-source-id: 42f53c1c9660cc936fff7111b054c26bd6ecb696

2024-09-16

16 Sep 06:01
Compare
Choose a tag to compare
2024-09-16 Pre-release
Pre-release
Fix integer overflow in test_host_cpu_load_info

Reviewed By: JakobDegen

Differential Revision: D62703434

fbshipit-source-id: 27e9d747c25cdc928965b2e6c3406c5dc97c6190