Commit Graph

85716 Commits

Author SHA1 Message Date
Mark Shroyer
67bcbff287 Add collatePathMap function
Summary: Adds a function to collate two different path maps by entry name.

Reviewed By: genevievehelsel

Differential Revision: D50989168

fbshipit-source-id: dc6d94970cbb45230e334269d415b8ea226a3878
2023-11-06 17:55:16 -08:00
Evan Krause
fc2206d166 Tweak focus outline size on text fields
Summary:
Tiny bug, I noticed focus outlines were thicker in the corners when focusing on some elements in the commit info view.

Looks like our 2px focus outline is getting clipped somewhere. We can fix it with a slight inward offset. This way it matches other fields.

Reviewed By: muirdm

Differential Revision: D50820584

fbshipit-source-id: 78311b9b268fa252533260384b064f9cfd4f0b47
2023-11-06 14:26:08 -08:00
Evan Krause
d3fc81821c Make update box resize to multiple lines
Summary:
The update message box for adding a message when resubmitting was only one line long. Let's make it multiple lines long so you can more easily write longer messages.

It still defaults to one line so that it's not really in your way if you don't add an update message. But it then expands to fit all the content as you type.

Reviewed By: muirdm

Differential Revision: D50820374

fbshipit-source-id: e59ce6f5eade052075a70ca9bb4b54cf53f6780d
2023-11-06 14:26:08 -08:00
Evan Krause
a4f2612446 Move commit info text area buttons outside of text area
Summary: I found the text area buttons (image upload and AI generation) would get in the way when I'm typing a message. Let's just move these buttons below the text area, and reduce their margins a little to not take up too much extra room.

Reviewed By: muirdm

Differential Revision: D50816067

fbshipit-source-id: fa2151f9261b516e62515f5f1614660d4244b865
2023-11-06 14:26:08 -08:00
Evan Krause
6d339c441d Make top bar sticky
Summary:
The top bar doesn't take up all that much room, but it's fairly valuable options.

Let's make it position: sticky so it stays at the top at all times.

Sticky allows it to take up as much room as necessary in the non-scrolled state, which is what we want so that if the bar wraps or takes variable height, it still pushes down the rest of the content correctly.

Reviewed By: zats

Differential Revision: D50993794

fbshipit-source-id: 78cffc42cddf29b46c463e65bb55489804d988fc
2023-11-06 09:58:11 -08:00
Open Source Bot
6d623e7bed Updating submodules
Summary:
GitHub commits:

10d22ca4b1
fb4c4b4681
8c02de96ac
ee062c8468
520c64fd2e
7d37de5c30
992168e450
106367938b
0e7c1010b5
6000a5ce23

Reviewed By: jurajh-fb

fbshipit-source-id: b7b9c440d5ba83a2dd7cb06811343cdb1f9c1a59
2023-11-06 09:47:40 -08:00
Christopher Ponce de Leon
0972cf92cb Revert D51029740: Namespace doesn't need to be followed by semicolon
Differential Revision:
D51029740

Original commit changeset: 177e3f6e6b0a

Original Phabricator Diff: D51029740

fbshipit-source-id: c71ff386342902f2cfa6552d6a834ea3f2475e32
2023-11-06 08:37:37 -08:00
Richard Barnes
21f86621c2 Namespace doesn't need to be followed by semicolon
Summary:
Auto-generated with
```
fbgs "}; // namespace" -l | sort | uniq | sed 's/fbsource.//' | xargs -n 50 sed -i 's_}; // namespace_} // namespace_'
```

Reviewed By: dmm-fb

Differential Revision: D51029740

fbshipit-source-id: 177e3f6e6b0ab7e986b1147952cd5e2f59d4b1fc
2023-11-06 08:02:11 -08:00
Mateusz Kwapich
06e9fce5ca extract BookmarksCache to separate crate
Summary:
Two reasons for this refactor:
 * compilation speed - now repo_client doesn't depend on warm_bookmarks_cache and its transitive dependencies
 * I intend to add new implementation of this trait that also doesn't need those ddeps

Differential Revision: D51025219

fbshipit-source-id: c328a06d7cebf4a0de53a1f398b8167460c2b0a0
2023-11-06 07:15:48 -08:00
Open Source Bot
7b4dc7aee6 Updating submodules
Summary:
GitHub commits:

837f55942e
19890bdbf8
6b3e9fa51b
300230a571
14f70dc888
f95141d995
c77311aa3c
897171cba9
be79415774
725bd18bad
53930fcd65
5cce9f7a9f

Reviewed By: jailby

fbshipit-source-id: 376e46bb832265dc6b5b022580982c0d354d503e
2023-11-06 07:09:33 -08:00
Zhaolong Zhu
33ac8cbe27 build: set CI to false for yarn build
Summary:
`CI = "true"` treat  warnings as hard errors and halt the build. Let's disable it.

https://dev.to/kapi1/solved-treating-warnings-as-errors-because-of-process-env-ci-true-bk5#:~:text=This%20setting%20allows,after%20this%20change

Reviewed By: quark-zju

Differential Revision: D50993393

fbshipit-source-id: a8425aa247df02fbab7d9c525b67911ebb52df8a
2023-11-06 06:37:35 -08:00
Zhaolong Zhu
cae080834e config: enable windows-symlinks for oss
Reviewed By: sggutier

Differential Revision: D50988965

fbshipit-source-id: d350fe099b3c54ce1dba1a290e7b3f76e98fdf44
2023-11-06 06:37:35 -08:00
Clara Rull
01a91bf384 Remove tunables related to periodic logging
Summary:
This diff removes tunables related to periodic logging of long running requests.
For the case of EdenAPI requests I am keeping it the same way it is set.
For wireproto requests I'm removing the code since the tunables are currently unset. I expect as we use wireproto less and less we will never need those again. The commands will still be logged upon completion as they were up until now

Differential Revision: D50974802

fbshipit-source-id: d54f3686949447a504194e8313a669d99fe83d74
2023-11-06 06:16:43 -08:00
Open Source Bot
36fd971132 Updating submodules
Summary:
GitHub commits:

50b561a348
9e5fb91e8f
d2e577a8c8
5b914e9979
5c3fe8da13
20a4d43c84

Reviewed By: jailby

fbshipit-source-id: 0c960da1dcffd07afe1211e14ddb9f2056912d05
2023-11-06 06:00:02 -08:00
Sergey Kozlov
6001c1326b Add region_datacenter_prefix to add_mapped_common_server_data
Summary: `region` uses long region names, like `sweden` instead of `lla`, which sometimes is more convenient. So add the DC prefix too.

Reviewed By: vjt

Differential Revision: D50790743

fbshipit-source-id: d57104795180155701d7d12a7bc53134dc2728fa
2023-11-06 04:29:18 -08:00
Liubov Dmitrieva
5c4966a127 remove filter_pre_existing_commits_on_infinitepush tunable
Summary:
remove filter_pre_existing_commits_on_infinitepush tunable

this was for roll out, the feature is there to stay

the value is true (in configerator)

Reviewed By: clara-9

Differential Revision: D50991771

fbshipit-source-id: 7f24838f868280885ec726acb024770083c5394d
2023-11-06 03:53:36 -08:00
Open Source Bot
b2be82ac03 Updating submodules
Summary:
GitHub commits:

99b10cc7ec
6dcfdb0e4c
8f1705aa8f

Reviewed By: jailby

fbshipit-source-id: 8b84db3135901da9600e5813189923ad8bbb7418
2023-11-05 19:40:22 -08:00
Open Source Bot
c38c704809 Updating submodules
Summary:
GitHub commits:

116a3f78e4
a110b146a8
ba34c56f65

Reviewed By: jailby

fbshipit-source-id: aaf66e12f8fad0eda9853d7dd02faf0c9a129d90
2023-11-05 04:57:19 -08:00
Open Source Bot
53a96913a9 Updating submodules
Summary:
GitHub commits:

d1f042b967
10c418ee70
66a1ee704d

Reviewed By: jailby

fbshipit-source-id: fdfc83655c14d0cca6123448daadcf407f56dfec
2023-11-04 18:45:15 -07:00
Open Source Bot
5aebc4448e Updating submodules
Summary:
GitHub commits:

c14ea4a738
d1632ffcf1

Reviewed By: jailby

fbshipit-source-id: 76420d81532b40efe43bfd0e41ab01e85e959eb1
2023-11-04 04:04:57 -07:00
Youssef Ibrahim
9f06d5543d repo_client: convert commit_cloud_use_background_session_class tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50977094

fbshipit-source-id: ea180e9aefd646bec891e0b330e812b0761eb251
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
209bca48e1 derived_data: convert derived_data_use_background_session_class tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50976949

fbshipit-source-id: c533ecc437f86c3c9ccb79fb5920d011e618b666
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
304976c1c0 segmented_changelog: convert segmented_changelog_client_max_commits_to_traverse tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50973097

fbshipit-source-id: db07ba1ea7ff865a555d83ee1d6ad95d2b66271b
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
b018862a3a segmented_changelog: convert segmented_changelog_tailer_log_sampling_rate tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50972212

fbshipit-source-id: c3e09688d8fd5d211df0b4d2e51f8f034f51be90
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
820756b9dc segmented_changelog: convert segmented_changelog_idmap_log_sampling_rate tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50972143

fbshipit-source-id: b8f828f4de5dfcdcba4e15511a04e4ada034b74c
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
4a7d6c56e8 segmented_changelog: convert segmented_changelog_force_reload tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50972041

fbshipit-source-id: baf95d4270d291207399d648f246cfa31c8c819d
2023-11-04 03:46:57 -07:00
Youssef Ibrahim
92a69fc4d0 segmented_changelog: convert segmented_changelog_force_reload_jitter_secs tunable to JK
Summary: Part of deprecating mononoke tunables

Differential Revision: D50971748

fbshipit-source-id: e2861c054f4380519c5f39ad3c88ce5fbbb52da2
2023-11-04 03:46:57 -07:00
Open Source Bot
26053e359b Updating submodules
Summary:
GitHub commits:

d9a52a7b4b
d2f52f3b49
9ea32b2463

Reviewed By: jailby

fbshipit-source-id: e5ab66d73267b830a776f7969cb8da16b226f013
2023-11-04 02:36:36 -07:00
Open Source Bot
cde565e53a Updating submodules
Summary:
GitHub commits:

27e873bef5
52f792d8b1
c11f1b374c

Reviewed By: jailby

fbshipit-source-id: 953924f9b05f96faee00b015ffe0c8add1570c10
2023-11-03 21:12:05 -07:00
Gary Zheng
3a79200042 Fix typo in docstring of folly::File fuseDevice_
Summary:
spelling mistake

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

Reviewed By: xavierd

Differential Revision: D50990115

fbshipit-source-id: 4dd5b2067e3cd1e72058cddb916e6c9ec0115eb8
2023-11-03 21:06:51 -07:00
Evan Krause
f865fbf257 Make internal debugging more clear about what it's referring to
Summary: Some folks found these debugging tools, so let's make it clear this is data referring to sl command performance and other ISL internal state. Adding the command name makes this much more clear.

Reviewed By: shunfu

Differential Revision: D50994363

fbshipit-source-id: 1cb5942686ea1d9bba93686fce4beb53bf04d1df
2023-11-03 20:13:09 -07:00
Open Source Bot
2207d0f711 Updating submodules
Summary:
GitHub commits:

0b9cdde39f
d11d74fe62
e52d346cbe

Reviewed By: jailby

fbshipit-source-id: f93e7aff7a9580509acd161268989ea83a332327
2023-11-03 19:59:32 -07:00
Evan Krause
b31a3d11ef [isl Fix unused variables
Summary: These appear to not be used

Reviewed By: quark-zju

Differential Revision: D50992180

fbshipit-source-id: 7bf1e1b1b9ec2696e63fc8496fb0900e3994db3c
2023-11-03 19:44:38 -07:00
Open Source Bot
f1bfe8de1f Updating submodules
Summary:
GitHub commits:

6b8b0de9ca
957b10698b
d7d9179e99
b48480cfd0

Reviewed By: jailby

fbshipit-source-id: dd7079d98c2b24167935a4e10a5c4f5b0c57b382
2023-11-03 18:34:48 -07:00
Open Source Bot
b80d60d195 Updating submodules
Summary:
GitHub commits:

c7d0b62f61
957efaed7f
ef2fb2c06b
c9b94a4887
850c3be8ea

Reviewed By: jailby

fbshipit-source-id: b944eea46aa235b18d71006f640d0eaedfc45144
2023-11-03 14:09:31 -07:00
Xavier Deguillard
d42bc3f88b inodes: replace manual try/catch with makeFutureWith
Summary:
makeFutureWith is strictly equivalent to a try/catch but requires less code to
handle exceptions, use it.

Reviewed By: genevievehelsel

Differential Revision: D50902990

fbshipit-source-id: 8d887e2c0efd97244763b27c2b3ec2b20145e97e
2023-11-03 14:01:58 -07:00
Open Source Bot
2a51867ff3 Updating submodules
Summary:
GitHub commits:

45c5ea6474
5fca38ef00
8505b26db1
b27692b508
4ff6893cbd
781caf34e0

Reviewed By: jailby

fbshipit-source-id: ba56e928327ac092d11d1f588b55bdfd43af760e
2023-11-03 12:41:21 -07:00
Liubov Dmitrieva
d937c135a0 instrument in Commit Cloud Updates
Summary:
instrument in Commit Cloud Updates with client request info

this is the first time we will be able to match hg rage logs with dev command timers and with Commit Cloud Updates, that should greatly simplify debugging for Commit Cloud issues

this is the first time we will be able to identify in Commit Cloud Updates if the update was initiated from sapling vs scm daemon

Reviewed By: zzl0

Differential Revision: D50973878

fbshipit-source-id: 536e7c741807bd398db01cd4e6ee3e72a442babf
2023-11-03 10:25:38 -07:00
Open Source Bot
5476e43b22 Updating submodules
Summary:
GitHub commits:

73e5e06453
25c99ae588

Reviewed By: jailby

fbshipit-source-id: 89668f13278b123b99f65c314320bc73bbcbed4f
2023-11-03 09:12:15 -07:00
Liubov Dmitrieva
2f874f5fea set up correct client entry point and also enable printing of
Summary:
set up correct client entry point and also enable printing of Client Correlators in logs

These changes will allow us greatly improve debugging experience of Commit Cloud issues

More precisely, it will allow us to easily match a command from hg rage with 3 scuba tables: dev command timers, CommitCloud Updates and Commit Cloud Requests (and more like Mononoke Test Perf, etc).

Reviewed By: zzl0

Differential Revision: D50967961

fbshipit-source-id: 07ccccc0790194078649c6798bff34a13479a247
2023-11-03 09:10:48 -07:00
Liubov Dmitrieva
3653792341 enable printing of the Client Correlator in the logs for
Summary:
enable printing of the Client Correlator in the logs for background commands

It has been really really hard to debug Commit Cloud issues for years. Now we will change that.

The first step is enabling printing of the Client Correlator for background
commands. This way, looking into "hg rage" you will be able to easily match a
command with the telemetry in the Dev Command Timers scuba table!

Moreover, we are going to instrument the Commitcloud Updates and Commit Cloud
Requests scuba tables with Client Request Info as well in the following
diffs, so then it will be just awesome.

Reviewed By: zzl0

Differential Revision: D50967834

fbshipit-source-id: b5f864cb1971630d57b007fa698216fdc8eca231
2023-11-03 09:10:48 -07:00
Liubov Dmitrieva
0ae5d13733 add scm daemon
Summary:
add scm daemon

this will be used to instrument scm daemon

Reviewed By: zzl0

Differential Revision: D50967508

fbshipit-source-id: 87fe3cde032ba605d11df0d86a592ab793e61244
2023-11-03 09:10:48 -07:00
Clara Rull
feb9a818ba Remove per request blobstore qps in scs tunable
Summary:
This tunable controls the amount or blobsotre reads and writes within a single request.
Since it was set in January 2021 (3 years ago) (https://www.internalfb.com/code/configerator/[773df72c41aa]/source/scm/mononoke/tunables/default.cconf?lines=70-71) it has not been changed, so removing it and setting it to the specified value in configerator

Reviewed By: mzr

Differential Revision: D50968709

fbshipit-source-id: c713e0ffde42aab379a3cb6486fab77c1fb506d7
2023-11-03 07:58:32 -07:00
Open Source Bot
6fe1903eb6 Updating submodules
Summary:
GitHub commits:

e7287b3b89
98bcda8e67
0a75b60592

Reviewed By: jailby

fbshipit-source-id: cc1882eefecbb42d31d369a620475a299876f255
2023-11-03 07:34:19 -07:00
Youssef Ibrahim
28b3de876c preloaded_commit_graph_storage: convert preloaded_commit_graph_reloading_interval_secs tunable to JK
Summary: Part of deprecating mononoke tunables

Reviewed By: mzr

Differential Revision: D50970077

fbshipit-source-id: 1fb7077922462571f19c7eb952e666f0da24eed5
2023-11-03 07:04:34 -07:00
Youssef Ibrahim
147cf71aa7 sql_commit_graph_storage convert commit_graph_prefetch_step_limit tunable to JK
Summary: Part of deprecating mononoke tunables

Reviewed By: mitrandir77

Differential Revision: D50970019

fbshipit-source-id: ba91f9265069675738c000c78c4f77eb46d072f3
2023-11-03 07:04:34 -07:00
Youssef Ibrahim
288f08f5d9 caching_commit_graph_storage: convert disable_commit_graph_memcache_for_prefetch tunable to JK
Summary: Part of deprecating mononoke tunables

Reviewed By: mitrandir77

Differential Revision: D50969827

fbshipit-source-id: 2bcfee30db30d4746ce9ee523823079cbf795288
2023-11-03 07:04:34 -07:00
Youssef Ibrahim
8d834fd927 caching_commit_graph_storage: convert disable_commit_graph_prefetch tunable to JK
Summary: Part of deprecating mononoke tunables

Reviewed By: mitrandir77

Differential Revision: D50969758

fbshipit-source-id: 1ca006daf9e1753649f9314fc41424182b0152a3
2023-11-03 07:04:34 -07:00
Youssef Ibrahim
382f6787d3 edenapi: convert enable_streaming_commit_graph_edenapi_endpoint tunable to JK
Summary: Part of deprecating mononoke tunables

Reviewed By: mitrandir77

Differential Revision: D50969669

fbshipit-source-id: a759a77c69bfdc0435c4b13eef4baa0a51a78739
2023-11-03 07:04:34 -07:00
Haitao Mei
a65371e9fe Derived data service - change derived_data_disable_derivation_workers to be a JK
Summary:
As titled

JK was added here: 421f83d8d9

Reviewed By: YousefSalama

Differential Revision: D50969301

fbshipit-source-id: c1fa92c45afaa4b1161c6cf7cfedf42ad081e7ba
2023-11-03 06:26:52 -07:00