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

Added record update job error api back to capture unknown errors #8144

Merged

Conversation

honeyankit
Copy link
Contributor

@honeyankit honeyankit commented Oct 4, 2023

Context

  • This PR adds the new feature flag named record_update_job_unknown_error. It has been created to be always enabled when running on our cloud infrastructure but remains inactive for GHES. The reason behind this differentiation is that older versions of GHES do not support the functionality of reporting unknown errors. This change ensures smooth operation across various environments without compromising on functionality where supported.

  • This feature flag will be used to skip any api_client.record_update_job_unknown_error call to capture the unknown error when running in GHES environment.

  • This new feature flag record_update_job_unknown_error is already created in Dependabot-api and deployed to production.

  • The PR which introduced the new api record_update_job_unknown_error for reference.

@honeyankit honeyankit self-assigned this Oct 4, 2023
@deivid-rodriguez deivid-rodriguez force-pushed the honeyankit/report-unknown-error-to-update-job-error branch 2 times, most recently from b10685c to 9ecd92f Compare October 5, 2023 15:17
@deivid-rodriguez deivid-rodriguez force-pushed the honeyankit/report-unknown-error-to-update-job-error branch from 9ecd92f to aca7bfd Compare October 5, 2023 16:39
@honeyankit honeyankit marked this pull request as ready for review October 5, 2023 19:14
@honeyankit honeyankit requested a review from a team as a code owner October 5, 2023 19:14
@honeyankit honeyankit merged commit cb25959 into main Oct 5, 2023
97 checks passed
@honeyankit honeyankit deleted the honeyankit/report-unknown-error-to-update-job-error branch October 5, 2023 23:24
brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
…endabot#8144)

* added update job error api back to file fetcher

* added update job error api back to update_files_commands

* added update job error api back to error_handler

* added update job error api back to base command

Co-authored-by: Ankit Kumar Honey <honeyankit@github.com>

* Fixed the lint issue by removing unused method argument

---------

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
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.

None yet

3 participants