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

[COD-152] feat: analytics added to snykcode flow #1730

Merged
merged 1 commit into from
Apr 4, 2021

Conversation

j-sp4
Copy link
Contributor

@j-sp4 j-sp4 commented Mar 16, 2021

COD-152

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

The pr adds analytics to snykcode flow in the cli

@j-sp4 j-sp4 requested a review from a team as a code owner March 16, 2021 11:17
@@ -25,6 +26,7 @@ export const codePlugin: EcosystemPlugin = {
async test(paths, options) {
try {
await validateCodeTest(options);
analytics.add('sast-scan', true);
Copy link
Contributor

Choose a reason for hiding this comment

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

question: I have a vague memory of these things being required somewhere else. Did you discuss it with somebody who has more BI insights?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, those keys needs to be defined in registry src/lib/analytics/cli.ts, because we are not collecting free-form analytics keys anymore… for reasons

@j-sp4 j-sp4 force-pushed the feat/add-analytics-snyk-code branch 2 times, most recently from abc9fc9 to a442e80 Compare March 19, 2021 11:34
@j-sp4 j-sp4 requested review from a team as code owners March 19, 2021 11:34
@j-sp4 j-sp4 force-pushed the feat/add-analytics-snyk-code branch 3 times, most recently from 928223c to e3d058f Compare March 22, 2021 08:48
@j-sp4 j-sp4 changed the title feat: analytics added to snykcode flow [COD-152] feat: analytics added to snykcode flow Mar 26, 2021
@j-sp4 j-sp4 requested a review from JackuB March 30, 2021 06:40
@j-sp4 j-sp4 force-pushed the feat/add-analytics-snyk-code branch from e3d058f to 143c363 Compare March 30, 2021 09:48
@j-sp4 j-sp4 force-pushed the feat/add-analytics-snyk-code branch from 143c363 to 4e8e35b Compare April 1, 2021 06:38
@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2021

Expected release notes (by @Spoor2709)

features:
add analytics to code client (4e8e35b)

  • I hereby acknowledge these release notes are 🥙 AWESOME 🥙

@orkamara orkamara merged commit 069b8fd into master Apr 4, 2021
@orkamara orkamara deleted the feat/add-analytics-snyk-code branch April 4, 2021 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants