-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add package scripts warning back #1764
Add package scripts warning back #1764
Conversation
@@ -103,7 +103,7 @@ def test_sql_templating_emits_counter( | |||
CLICounterField.TEMPLATES_PROCESSOR: 0, | |||
CLICounterField.PDF_TEMPLATES: 1, | |||
CLICounterField.POST_DEPLOY_SCRIPTS: 1, | |||
CLICounterField.PACKAGE_SCRIPTS: 0, | |||
CLICounterField.PACKAGE_SCRIPTS: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test files have package scripts, so this should be 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to make the distinction that since the pdf is v1, then POST_DEPLOY_SCRIPTS should count as 0 then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it's something we can distinguish in the graphs themselves (like exclude package_scripts = 1). I do not want to touch the post_deploy_scripts part because the goal is to have the bulk part of the code operate in pdf v2 mode, and would make sense to keep the counters for this one with the post_deploy code itself.
It's basically a compromise.
@@ -115,7 +115,6 @@ def test_sql_templating_emits_counter( | |||
CLICounterField.TEMPLATES_PROCESSOR: 0, | |||
CLICounterField.PDF_TEMPLATES: 1, | |||
CLICounterField.POST_DEPLOY_SCRIPTS: 1, | |||
CLICounterField.PACKAGE_SCRIPTS: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is PDF v2, so no need to emit metric for this one.
a096047
6148932
to
a096047
Compare
Pre-review checklist
Changes description
Add package scripts warning back.
It disappeared due to the conversion of package scripts to post deploy scripts.