Skip to content

Releases: facebook/buck2

2023-12-15

15 Dec 02:55
Compare
Choose a tag to compare
2023-12-15 Pre-release
Pre-release
support dsymutil_extra_flags

Summary: ditto

Reviewed By: chatura-atapattu

Differential Revision: D51426025

fbshipit-source-id: 842816a72ed0a79e4b2c1bccd5ae6f66e3b3b0cd

2023-12-01

01 Dec 00:19
Compare
Choose a tag to compare
2023-12-01 Pre-release
Pre-release
Add time_to_first_test_discovery

Summary: This timing information gives an insight of how long it takes to finish building the first test binary when 'buck2 test' is executed. It captures the first test discovery time because it occurs earlier than all the test execution.

Reviewed By: iguridi

Differential Revision: D51673956

fbshipit-source-id: 82ee4c9da2a5971ab805768b0af5595367a1228b

2023-11-15

15 Nov 00:57
Compare
Choose a tag to compare
2023-11-15 Pre-release
Pre-release
Make AnalysisQueryResult struct

Summary: For code navigation. Clear now where `AnalysisQueryResult` is created for example.

Reviewed By: JakobDegen

Differential Revision: D51315032

fbshipit-source-id: 14cf33550ba56d5541a1be154cd2d6dca0106780

2023-11-01

01 Nov 00:23
Compare
Choose a tag to compare
2023-11-01 Pre-release
Pre-release
fix flakiness in test_artifact_access_time

Summary: Test is reliable on CI but it's flaky on devservers, fix it.

Reviewed By: stepancheg

Differential Revision: D50852868

fbshipit-source-id: 47da11b73212bcf28705dd10f978888ad9686d51

2023-10-15

15 Oct 13:23
Compare
Choose a tag to compare
2023-10-15 Pre-release
Pre-release
prelude/rust: Process CARGO_MANIFEST_DIR during rustdoc test

Summary:
Rustdoc tests were not getting the `CARGO_MANIFEST_DIR` processing that
we do for all other compilations.

Reviewed By: dtolnay

Differential Revision: D50303301

fbshipit-source-id: 1c3171e7eccc2d1a0461aa93b65ff82ac880c8c0

2023-10-01

01 Oct 06:43
Compare
Choose a tag to compare
2023-10-01 Pre-release
Pre-release
Augment command execution detail information to test run and test dis…

…covery events

Summary: This diff will attach more information onto test discovery and test run events. Those information will be sent to downstream logging systems.

Reviewed By: get9

Differential Revision: D49745757

fbshipit-source-id: abda9a0ba2823b508d62c731468508b5bde5969a

2023-09-15

15 Sep 01:03
Compare
Choose a tag to compare
2023-09-15 Pre-release
Pre-release
native python: stop setting PAR_LAUNCH_TIMESTAMP

Summary:
This messes with cli telemetry

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: itamaro

Differential Revision: D49275018

fbshipit-source-id: c6f2672f3f532fe865a8afb61e6f84af7a798522

2023-09-01

01 Sep 02:39
Compare
Choose a tag to compare
2023-09-01 Pre-release
Pre-release
Return error from export_as

Summary: `export_as` may construct a type for the typechecker. Type construction may do internal consistency checks. Internal consistency checks may fail. When they fail, better error than panic.

Reviewed By: ianlevesque

Differential Revision: D48857597

fbshipit-source-id: 9339ad0a1e555d4cb5da95852ba6c77d9e4b2f2c

2023-08-15

15 Aug 01:21
Compare
Choose a tag to compare
2023-08-15 Pre-release
Pre-release
Support coerced attrs value() and type

Summary:
You currently can't do anything with the `coerced_attr` except print them out. Let's implement the basic `type` and `value()` methods to work with coerced attrs, similar to how configured attrs has it.

Coerced attrs aren't really converted to `Value<'v>`s, which is why I think it's ok for this implementation to live in buck2_bxl crate, since that's the only place it would be used.

3 of the coerced attrs types (select, concat, and explicit configured dep) aren't well supported in this implementation, but let's at least support the majority of the coerced attrs for a first pass.

Reviewed By: scottcao

Differential Revision: D48323666

fbshipit-source-id: 16e93ed80b77d0d1804db5919547dd725e52d27a

2023-08-01

01 Aug 16:25
Compare
Choose a tag to compare
2023-08-01 Pre-release
Pre-release
buck2/oss: use custom %TEMP% in CircleCI on Windows (#371)

Summary:
This helps to eliminate flakiness of doctests on Windows. Sometime they fail with:
```
error: couldn't create a temp dir: The system cannot find the path specified. (os error 3) at path "C:\\Users\\CIRCLE~1.PAC\\AppData\\Local\\Temp\\rustdoctest86bH8a\\rmetawkIVXG"
```

Probably something in CircleCI runner messes with default TEMP dir, causing rustc to fail with this error.

Tested on 15 reruns of CircleCI job, they all succeeded, so I'm pretty confident this helps, although not sure exactly why. Before that, at least few out of 5 were failing.

Pull Request resolved: https://github.com/facebook/buck2/pull/371

Reviewed By: ndmitchell

Differential Revision: D47917932

fbshipit-source-id: 5d857e2f947e316e61f65764bb1f70b41bf275b8