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

add progress logging to the discovery report jobs similar to pre-assembly jobs #694

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

peetucket
Copy link
Member

@peetucket peetucket commented Jun 17, 2020

Why was this change made?

Long running discovery report jobs cannot be monitored to see if they are stuck or still running. This would add a running progress log that could be tailed to monitor progress.

fixes #693

How was this change tested?

once reviewed, can be deployed to stage and tested there with a discovery report job

Which documentation and/or configurations were updated?

none

@peetucket peetucket force-pushed the add-logging-to-discovery-report branch from 883184a to 2790488 Compare June 17, 2020 18:35
@peetucket peetucket marked this pull request as draft June 17, 2020 18:41
@peetucket peetucket force-pushed the add-logging-to-discovery-report branch from 2790488 to a376048 Compare June 17, 2020 18:42
@peetucket peetucket force-pushed the add-logging-to-discovery-report branch from a376048 to b42f18d Compare June 17, 2020 18:43
@peetucket peetucket marked this pull request as ready for review June 17, 2020 18:44
.rubocop.yml Outdated
@@ -60,6 +60,7 @@ RSpec/MultipleExpectations:
Max: 5
Exclude:
- 'spec/features/*'
- 'spec/services/discovery_report_spec.rb'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- 'spec/services/discovery_report_spec.rb'
- 'spec/**/*_spec.rb'

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, though this effectively just disables that cop I believe by ignoring any specs.

@jcoyne jcoyne merged commit cc4fe73 into master Jun 18, 2020
@jcoyne jcoyne deleted the add-logging-to-discovery-report branch June 18, 2020 12:12
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.

Record progress of discovery report jobs in the same way we record progress of pre-assembly jobs
2 participants