sparse-lifeguard-95737
11/07/2022, 3:32 PMlint
in 2.15.0a0 but I’m unsure how to measure it for a report - anyone have tips?fast-nail-55400
11/07/2022, 3:34 PMsparse-lifeguard-95737
11/07/2022, 3:35 PMlint
freezes up / doesn’t finish 😬sparse-lifeguard-95737
11/07/2022, 3:35 PMfast-nail-55400
11/07/2022, 3:36 PMsparse-lifeguard-95737
11/07/2022, 3:40 PMsparse-lifeguard-95737
11/07/2022, 3:41 PMRun Black on _ files
and Lint using Pylint
messages as if those are WIP, but ps ax | grep python
shows nothing runningsparse-lifeguard-95737
11/07/2022, 3:43 PMpython3
processes with pantsd as the parent 🤔sparse-lifeguard-95737
11/07/2022, 3:54 PMpy-spy
points at the RequirementsPexRequest
made by pylint
fast-nail-55400
11/07/2022, 3:54 PMsparse-lifeguard-95737
11/07/2022, 3:54 PMsparse-lifeguard-95737
11/07/2022, 3:54 PMsparse-lifeguard-95737
11/07/2022, 3:55 PMfast-nail-55400
11/07/2022, 3:57 PMfast-nail-55400
11/07/2022, 3:57 PMfast-nail-55400
11/07/2022, 3:57 PMsparse-lifeguard-95737
11/07/2022, 3:59 PMsparse-lifeguard-95737
11/07/2022, 3:59 PMThread 0x700008C41000 (active+gil)
<genexpr> (engine/target.py:538)
_find_registered_field_subclass (engine/target.py:535)
_maybe_get (engine/target.py:550)
get (engine/target.py:597)
<genexpr> (backend/python/util_rules/python_sources.py:91)
__init__ (core/util_rules/source_files.py:42)
new_init (util/meta.py:164)
prepare_python_sources (backend/python/util_rules/python_sources.py:90)
native_engine_generator_send (engine/internals/selectors.py:593)
fast-nail-55400
11/07/2022, 3:59 PM--python-run-against-entire-lockfile
sparse-lifeguard-95737
11/07/2022, 4:00 PMfast-nail-55400
11/07/2022, 4:00 PMsparse-lifeguard-95737
11/07/2022, 4:01 PMsparse-lifeguard-95737
11/07/2022, 4:02 PMlease_files_in_graph (engine/internals/scheduler.py)
is pretty high in the py-spy top
outputfast-nail-55400
11/07/2022, 4:02 PMsparse-lifeguard-95737
11/07/2022, 4:09 PMfast-nail-55400
11/07/2022, 4:13 PMDigest
's to merge together has a lot of data.sparse-lifeguard-95737
11/07/2022, 4:13 PMfast-nail-55400
11/07/2022, 4:14 PMsparse-lifeguard-95737
11/07/2022, 4:14 PM[lint].batch_size
to land in a single lint run - maybe we should tighten that upfast-nail-55400
11/07/2022, 4:14 PMfast-nail-55400
11/07/2022, 4:17 PMdetermine_source_files
sparse-lifeguard-95737
11/07/2022, 4:18 PMpants_from_sources
setupfast-nail-55400
11/07/2022, 4:22 PMlease_files_in_graph
is an engine intrinsic in Rust. bridge function here https://github.com/pantsbuild/pants/blob/e9ae0a39401dec46df28d4f5a2a468cdfe65704e/src/rust/engine/src/externs/interface.rs#L1465 and actual impl here https://github.com/pantsbuild/pants/blob/e9ae0a39401dec46df28d4f5a2a468cdfe65704e/src/rust/engine/fs/store/src/lib.rs#L1054sparse-lifeguard-95737
11/07/2022, 4:37 PMsparse-lifeguard-95737
11/07/2022, 4:39 PMrun_pytest
rule - still waiting for execution to hit the log I added in determine_source_files
😬 )sparse-lifeguard-95737
11/07/2022, 4:48 PMsparse-lifeguard-95737
11/07/2022, 4:48 PM11:47:55.74 [INFO] Merging 11010445 source fields
6 batches of ^^^ so farsparse-lifeguard-95737
11/07/2022, 4:49 PMrequest.sources_fields
in multiple concurrent pylint runsfast-nail-55400
11/07/2022, 4:57 PMfast-nail-55400
11/07/2022, 4:58 PMset(request.sources_fields)
will do just finefast-nail-55400
11/07/2022, 4:59 PMOrdededSet
so that the de-dupe doesn't introduce non-determinism)sparse-lifeguard-95737
11/07/2022, 5:20 PM12:19:50.41 [INFO] Merging 12728 source fields
fast-nail-55400
11/07/2022, 5:35 PMsparse-lifeguard-95737
11/07/2022, 5:35 PMsparse-lifeguard-95737
11/07/2022, 5:36 PMsparse-lifeguard-95737
11/07/2022, 5:36 PMsparse-lifeguard-95737
11/07/2022, 5:45 PMsparse-lifeguard-95737
11/07/2022, 5:53 PMsparse-lifeguard-95737
11/07/2022, 6:51 PM./pants lint ::
actually completes on my repo again 🙂 will set up a PRsparse-lifeguard-95737
11/07/2022, 7:10 PM