Skip to content

feat(detectors): Cache disabled Detectors in the source-based Detector cache#114193

Merged
kcons merged 1 commit intomasterfrom
kcons/cashmoney
Apr 28, 2026
Merged

feat(detectors): Cache disabled Detectors in the source-based Detector cache#114193
kcons merged 1 commit intomasterfrom
kcons/cashmoney

Conversation

@kcons
Copy link
Copy Markdown
Member

@kcons kcons commented Apr 28, 2026

This broadens the set of cases where the cache can be used including for uptime processing.

Part of ISWF-2512.

@kcons kcons requested a review from a team as a code owner April 28, 2026 16:39
@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 28, 2026

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 28, 2026
Detector.objects.filter(
data_sources__source_id=source_id,
data_sources__type=query_type,
enabled=True,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally this list is pipped directly into process_detectors -- do we need to filter the list inside of process_detectors or before we invoke anything?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's filtering there that has already been deployed, so this should be safe.

@kcons kcons requested a review from saponifi3d April 28, 2026 17:09
@kcons kcons merged commit 0105f52 into master Apr 28, 2026
61 checks passed
@kcons kcons deleted the kcons/cashmoney branch April 28, 2026 17:48
cleptric pushed a commit that referenced this pull request May 5, 2026
…r cache (#114193)

This broadens the set of cases where the cache can be used including for
uptime processing.

Part of ISWF-2512.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants