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

fea: transform alert from enum lib into diagnostic #1579

Merged
merged 2 commits into from
Aug 18, 2022

Conversation

moadibfr
Copy link
Contributor

@moadibfr moadibfr commented Aug 5, 2022

Q A
πŸ› Bug fix? no
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues
❓ Documentation no

Description

transform alert from enum lib into diagnostic when using the facade implementing the new api

@codecov-commenter
Copy link

codecov-commenter commented Aug 5, 2022

Codecov Report

Merging #1579 (c5eec8b) into main (b1cf4b5) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1579      +/-   ##
==========================================
- Coverage   78.70%   78.63%   -0.07%     
==========================================
  Files         219      219              
  Lines        6946     6952       +6     
==========================================
  Hits         5467     5467              
- Misses       1282     1288       +6     
  Partials      197      197              
Impacted Files Coverage Ξ”
pkg/analyser/analyzer.go 88.23% <0.00%> (-3.61%) ⬇️
pkg/iac/terraform/state/alerts.go 0.00% <0.00%> (ΓΈ)

@eliecharra eliecharra added the kind/maintenance Refactoring or changes to the workspace label Aug 9, 2022
@eliecharra eliecharra marked this pull request as ready for review August 9, 2022 14:52
@eliecharra eliecharra requested a review from a team as a code owner August 9, 2022 14:52
craigfurman
craigfurman previously approved these changes Aug 11, 2022
Copy link
Contributor

@craigfurman craigfurman left a comment

Choose a reason for hiding this comment

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

2 non-blocking notes, I'll approve in advance πŸ‘

Before we merge this, I/you/we could test this branch out in snyk-iac-test and see if we can spike out bubbling up these non-fatal errors from diagnostics. WDYT?

enumeration/alerter/alert.go Show resolved Hide resolved
enumeration/diagnostic/diagnostic.go Outdated Show resolved Hide resolved
@eliecharra
Copy link
Contributor

Before we merge this, I/you/we could test this branch out in snyk-iac-test and see if we can spike out bubbling up these non-fatal errors from diagnostics. WDYT?

100% in sync with that, let's do a small pairing session on that, shoot me an invite πŸ™πŸ»

craigfurman
craigfurman previously approved these changes Aug 18, 2022
Copy link
Contributor

@craigfurman craigfurman left a comment

Choose a reason for hiding this comment

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

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Refactoring or changes to the workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants