-
Notifications
You must be signed in to change notification settings - Fork 53
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
Regression from 8.8.0 to 8.8.1 with TestData module #303
Comments
@javierjulio sorry to hear you're experiencing this issue, but thank you for bringing it to our attention.
Have you had any luck with a reproduction case yet?
Yes please. Any additional insight into how you are interacting with the store will be useful. Thank you. |
Given the stacktrace you provided, I took a stab at what I think is likely a fix. Can you test against the branch in this PR, and let me know if that resolves your problem? |
@keelerm84 I'm trying to use that branch now but I'm running into a I've tried various things to get
|
@keelerm84 I forked the repository to install the gem using the fork with two updates. I could not get the gem to install from source with its current setup. I made 2 changes that if you like I can contribute in a PR so the gem can be installed from source in the future. Delete the following line as it should be unnecessary, otherwise it fails with a bundler error:
I've shared the error in the previous comment. Update this line to use
I don't think I've ever seen |
@keelerm84 the fix seems to be working great, thank you! I've run our test suite in CI over 30 times now using a modified feature branch in a fork with the earlier mentioned changes and it works. I no longer encounter that flaky error. We were encountering it on every other test run in CI. Before testing your fix, I confirmed that 8.8.1 would fail again and it did on the first test run in CI. With your fix though it's been all green so thank you. |
@javierjulio that's fantastic. I'm glad to hear the fix is working for you. I'm still bothered by why this issue was occurring in the first place. Were you able to share a reproduction case prior to the fix I can use to further investigate the underlying issue?
Happy to review any changes you want to commit back. |
@keelerm84 I'm sorry, I don't have a reproduction yet due to what is involved. I'm trying to figure out how to scale it down and replicate. I figured it was still worth reporting considering the level of changes to accommodate a Ruby bug, so thank you. Since it involves some setup, I'd be happy to share what I'm doing with you and see if I can help create a reproduction. Would it be ok if I email you? In the meantime, I'll open a PR with the changes to allow the gem to be installed from source. |
I went ahead and released the fix as v8.8.2 so you can use an official release for now. And yes, please feel free to email me directly ([email protected]). I would love to understand the source of this if I can. Thank you so much! |
@keelerm84 awesome, thank you! I will send you an email now. |
Describe the bug
We updated from 8.8.0 to 8.8.1 and started to run into a regression with the TestData module. Our test suite would often fail with a flaky test when running 8.8.1. For now we've downgraded to 8.8.0.
We are running Ruby 3.3.5 which reviewing the change in 8.8.1 seemed logical to update as it's just a bug fix although we aren't aware of the issue affecting us. It was surprising to encounter a regression with TestData and figured it's worth to report it.
This is a sample error and stacktrace we encounter with 8.8.1 in our test suite:
Was there meant to be a change with the TestData integration in the 8.8.1 release? I can provide the module set up and the set-feature-flag test helper method we use for that TestData integration if it helps. We run our rspec tests in parallel using the turbo_tests gem.
I will try to create a reproduction and follow up with that. I figure it would help to share this if any hint with the error and stacktrace.
SDK version
8.8.1
Language version, developer tools
Ruby 3.3.5
OS/platform
Linux Alpine
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: