sourcegraph/internal/insights
Varun Gandhi 930033ca9b
chore: Replace QueuedCount -> CountByState with bitset parameter (#64302)
Previously, the QueuedCount method was confusing because:

1. By default, it actually returned the count for both the 'queued' and
   'errored' states (despite the name just have 'Queued').
2. There was an additional boolean flag for also returning entries in
    the 'processing' state, but reduced clarity at call-sites.

So I've changed the method to take a bitset instead, mirroring the
just-added Exists API, and renamed the method to a more
generic 'CountByState'.

While this does make call-sites a bit more verbose, I think the
clarity win makes the change an overall positive one.
2024-08-07 16:09:18 +08:00
..
aggregation bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
background chore: Replace QueuedCount -> CountByState with bitset parameter (#64302) 2024-08-07 16:09:18 +08:00
compression bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
database bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
discovery dotcom: Remove on-demand cloning of repositories (#63321) 2024-06-26 14:53:14 -07:00
gitserver insights: Fix overview page (#62986) 2024-05-30 20:50:14 +08:00
pipeline chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
priority bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
query feat(search): remove smart search logic (#64215) 2024-08-01 18:02:35 +03:00
scheduler feat: incomplete datapoints can now resolve the affected repositories (#62756) 2024-05-27 10:32:58 +00:00
store feat: incomplete datapoints can now resolve the affected repositories (#62756) 2024-05-27 10:32:58 +00:00
timeseries bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
types bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
BUILD.bazel gating: Add individual switches for disabling tools features (#63686) 2024-07-16 15:45:38 +02:00
CODENOTIFY Backend: remove enterprise/internal (#54872) 2023-07-12 22:51:02 +02:00
insights.go gating: Add individual switches for disabling tools features (#63686) 2024-07-16 15:45:38 +02:00