-
Notifications
You must be signed in to change notification settings - Fork 119
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
Include completed_at in serialized batch connect card attributes #3424
Conversation
Hi! Thanks for the contribution. I assume Beyond that - I can see tests fail. You should look the |
Hi! I could change the name of See
The surrounding methods in that file also reference I looked at the I added an I also updated the I want to run the tests before pushing again, but I don't know how. TBH, I didn't see the DEVELOPMENT.md doc until just now. I'll dig into that and circle back when I have some results. |
LOL I guess that's what I get for just glancing at this and not wondering if
Yea there may be a race condition here because we're serializing a value about a file's metadata in the file itself. Consider these 2 conditions:
Maybe we should add and use
This is the test case that needs updating.
|
Yes, I see your point about the race condition. I've reworked the change to define completed_at, instead. I also updated the test case you indicated. I ran into multiple issues trying to run the tests - I'm not really familiar with ruby, or rails, or rake or bundle. I would like to educate myself if there's a good guide available (I didn't find what I needed in DEVELOPMENT.md and elsewhere). I'm just going to submit the change so it will at least align with our discussion so far. We'll see what happens with the tests. Thanks very much for your help with this. The feature this enables has proved to be popular with our users. |
Here's ruby on rails docs for testing. That said, I'm happy to let the CI run the tests as well. Worst case - I can edit the tests myself to get this through, but I think that was the only test you needed to update. https://guides.rubyonrails.org/testing.html
Thank you for the contribution! |
🤦♂️ I meant to check this earlier, but forgot. The commits are not correctly tied to your github account. I was going to merge this as you have it, but I think it's important that you get the appropriate credit. |
6e9e054
to
ef848d4
Compare
Thanks for letting me know about that attribution issue. It should be fixed now, the I will study that documentation before submitting my next change, thanks for the link! |
Please note, I cleaned things up by pushing with --force so the old commit id's are no longer valid. |
LOL, we should be all good to go once the tests pass. I'll backport this to 3.0.x too. I don't know when that'll be released - I'm kinda waiting for other bugs to come in. Thanks again for the contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for up-streaming this.
We are using the
modified_at
session attribute in our Connection View session cards, and we'd like to roll the change up into the official distribution.The
modified_at
value is used to construct a link to our Grafana resource utilization dashboard (see below).I have prepared a corresponding change for the
ood-documentation
repo, but I thought I should see how this pull request goes before submitting a pull request there.Here's the info.html.erb we are using with this change: