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

Adding audits for deprecated api and general error catching #252

Merged
merged 7 commits into from
Jan 20, 2021
Merged

Adding audits for deprecated api and general error catching #252

merged 7 commits into from
Jan 20, 2021

Conversation

avparmar
Copy link
Collaborator

@avparmar avparmar commented Jan 7, 2021

No description provided.

@avparmar avparmar requested a review from warrengm January 7, 2021 20:50
@avparmar avparmar self-assigned this Jan 7, 2021
@google-cla google-cla bot added the cla: yes CLA has been signed label Jan 7, 2021
@avparmar avparmar added the v1.4 PRs and issues for the v1.4 release label Jan 8, 2021
@avparmar avparmar linked an issue Jan 8, 2021 that may be closed by this pull request
@warrengm
Copy link
Contributor

warrengm commented Jan 8, 2021

Implementation LGTM aside from comments. We will probably discuss scoring when you add plugin.js.

For testing, can we create some smoke tests?

const consoleRows = artifacts.ConsoleMessages
.filter((item) => item.level === 'warning' || item.level === 'error')
.filter((item) => item.url && isGpt(item.url))
.filter((item) => item.text.toLowerCase().includes('deprecated'))
Copy link
Contributor

Choose a reason for hiding this comment

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

Or discouraged?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added the condition.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To clarify, added both cases in since we use both words in console messages.

@warrengm
Copy link
Contributor

Ooops! Sorry! I had my comments stuck as draft. Posted them now

@warrengm warrengm merged commit b049ac7 into googleads:master Jan 20, 2021
@avparmar avparmar deleted the gpt-api-audits branch February 24, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA has been signed v1.4 PRs and issues for the v1.4 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit GPT API usage
2 participants