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

Fix reruns with same build #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

vfxcode
Copy link
Collaborator

@vfxcode vfxcode commented Oct 26, 2022

A bit of Quality of Life improvement. Makes consecutive reproduction runs easier.

There is no reason to have to randomize the build_id on each
reproduction run, thus we can just override the rspecq state
when we publish the queue.
Considering that we, now, can re-run the same builds using `--reproduce`
it makes sense to simplify the re-run command we report in sentry.
@@ -127,8 +129,8 @@ OptionParser.new do |o|
end
end.parse!

opts[:build] ||= ENV["RSPECQ_BUILD"]
opts[:worker] ||= ENV["RSPECQ_WORKER"]
opts[:build] ||= ENV["RSPECQ_BUILD"] || DEFAULT_BUILD
Copy link
Contributor

Choose a reason for hiding this comment

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

This however makes sense only when reproduction is true.

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

2 participants