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/activestorage dependency details #1480
Fix/activestorage dependency details #1480
Conversation
Code Climate has analyzed commit 91e33fc and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Thanks for writing and for the improvements @MrJoy. Regarding the test runs... I pushed some changes to this PR. |
Much improved! I initially had some failures, but that was due to my hack for the license request stub in place. Removing that, and rerunning the failed tests, they all passed. I'm doing a full run again just to be sure, but so far it looks like things work. |
Ok, no, they're failing consistently. I must've not re-run all the failed tests.
The exact specs that are failing. |
Yes, it's a race condition that happens when the cards load up in the dashboard. There are about 14 requests being made in the same time (for each card) and that's where it the race condition manifests itself. Not sure why it only happens on local (the CI passes everytime). Probably the hardware executes at a different speed. We worked on and fixed this issue in Avo 3. I think I'd merge this PR as is so we don't pollute it with a bunch of other unrelated changes and come back with another PR to fix that in Avo 2. WDYT? |
I'm completely fine with merging the PR if you are. |
Description
Minor fixups for noise when ActiveStorage isn't present, and for workstation setup for contributors.
Checklist:
Manual review steps
Executed fragment of code in IRB.
Unfortunately, I'm encountering major problems getting the test suite running locally.
For starters, seemingly every test fails because of a license key check where the license_key value is nil. If I change the stub, then I get other problems:
undefined method
sign_out_path_name' for #Module:0x000000010eff3598`)Unable to find css "turbo-frame[id='dashy_users_metric'][data-card-index='3']"
-- screenshot shows a completely unstyled login page), etc.Basically, just all kinds of weirdness.