Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: resolve max statement in watch-processor #1770

Merged
merged 6 commits into from
Feb 7, 2025
Merged

chore: resolve max statement in watch-processor #1770

merged 6 commits into from
Feb 7, 2025

Conversation

cmwylie19
Copy link
Contributor

Description

Reduce max-statements in watch-processor around watch. This PR depends on a KFC release

Related Issue

Fixes #1697

Relates to #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@cmwylie19 cmwylie19 requested a review from a team as a code owner February 5, 2025 19:59
github-merge-queue bot pushed a commit to defenseunicorns/kubernetes-fluent-client that referenced this pull request Feb 5, 2025
## Description

This type is required for Pepr
[1770](defenseunicorns/pepr#1770) to reduce
complexity

## Related Issue

Fixes #

<!-- or -->

Relates to #[1770](defenseunicorns/pepr#1770) 

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed

Signed-off-by: Case Wylie <[email protected]>
Copy link

socket-security bot commented Feb 5, 2025

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] 🔁 npm/[email protected] Transitive: unsafe +96 49.1 MB pepr-dev

View full report↗︎

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.11%. Comparing base (7a787b9) to head (1e0b94d).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1770      +/-   ##
==========================================
+ Coverage   82.05%   82.11%   +0.06%     
==========================================
  Files          52       52              
  Lines        2212     2214       +2     
  Branches      470      469       -1     
==========================================
+ Hits         1815     1818       +3     
- Misses        368      394      +26     
+ Partials       29        2      -27     
Files with missing lines Coverage Δ
src/lib/processors/watch-processor.ts 79.24% <100.00%> (+1.36%) ⬆️
src/lib/telemetry/metrics.ts 100.00% <100.00%> (ø)

... and 6 files with indirect coverage changes

samayer12
samayer12 previously approved these changes Feb 5, 2025
Copy link
Contributor

@samayer12 samayer12 left a comment

Choose a reason for hiding this comment

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

PR looks good, left two comments that I'd like to consider but aren't worth holding up the PR over (i.e., we can always revisit them later).

@cmwylie19 cmwylie19 added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit a71832b Feb 7, 2025
48 checks passed
@cmwylie19 cmwylie19 deleted the 1697 branch February 7, 2025 16:52
tamirazrab pushed a commit to tamirazrab/pepr that referenced this pull request Feb 10, 2025
## Description

Reduce max-statements in watch-processor around watch. This PR depends
on a KFC release

## Related Issue

Fixes defenseunicorns#1697 
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [x] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed

---------

Signed-off-by: Case Wylie <[email protected]>
Co-authored-by: Sam Mayer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Resolve max-statements warning in src/lib/processors/watch-processor.ts
2 participants