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

chore(deps): bump stimulus_reflex from 3.5.0-rc3 to 3.5.0-rc4 #12260

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2024

  • Bumps stimulus_reflex ruby gem and JS package from 3.5.0-rc3 to 3.5.0-rc4.
  • Disables StimulusReflex specs, due to below issue

What should we test?

This is the underlying framework used for the dynamic functionality used on the below pages. Simply checking that they work as usual, with no errors in the dev console should be sufficient.

  • BUU Bulk Edit Products (/admin/products with admin_style_v3)
  • A report, eg /admin/reports/packing/customer (old or new design, doesn't matter)

After this one, please stage the next PR which has the same test requirements: #12235


Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Dependencies

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies javascript Pull requests that update Javascript code labels Mar 12, 2024
@rioug
Copy link
Collaborator

rioug commented Mar 12, 2024

@dacook do you want to test this before merging ?

Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

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

Hmm, at least one of the fixes sounds promising, I wonder if that will help with any of our problems:

https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.5.0.rc4

It was actually fixed in Sept last year, so it's a bit concerning that it took so long to release. Even more concerning that SR has only been released as a "release candidate" for a very long time now; what's holding it back I wonder?

So anyway, yeah I reckon we should test it. I would just go for general usability with the main SR screens:

  • v3 bulk edit products
  • bulk orders

@drummer83
Copy link
Contributor

So anyway, yeah I reckon we should test it. I would just go for general usability with the main SR screens:

  • v3 bulk edit products

  • bulk orders

@dacook
I'm asuming that 'bulk orders' means the bulk order actions like mentioned here in 'What should we test'?

I will go ahead and test this and then park it until your confirmation.

@drummer83 drummer83 self-assigned this Mar 20, 2024
@drummer83 drummer83 added the pr-staged-au staging.openfoodnetwork.org.au label Mar 20, 2024
@drummer83
Copy link
Contributor

Hi @dacook,

After staging we get a warning about a version mismatch. Is this somehting we have to look into?

Order list, bulk actions:
grafik

Bulk editing of products:
Same warning for Admin Style v3 only.

Adding feedback-needed label and waiting for your comment.

Thanks!

@drummer83 drummer83 added feedback-needed and removed pr-staged-au staging.openfoodnetwork.org.au labels Mar 20, 2024
@dacook dacook self-assigned this Mar 20, 2024
@dacook dacook force-pushed the dependabot/npm_and_yarn/stimulus_reflex-3.5.0-rc4 branch from a3c239a to 0cc8c70 Compare March 20, 2024 23:37
@dacook dacook added ruby Pull requests that update Ruby code and removed feedback-needed labels Mar 20, 2024
@dacook
Copy link
Member

dacook commented Mar 21, 2024

Thanks for pointing this out @drummer83 . I've now upgraded the gem, and found that this will unlock another JS upgrade. Yay!

Oh, but the third-party testing framework we use doesn't work with this version yet... Back to the drawing board..

@dacook dacook added the blocked label Mar 21, 2024
@drummer83 drummer83 removed their assignment Mar 21, 2024
@dacook dacook force-pushed the dependabot/npm_and_yarn/stimulus_reflex-3.5.0-rc4 branch from 278a544 to c50b750 Compare March 27, 2024 01:00
@dacook dacook removed the blocked label Mar 27, 2024
@dacook
Copy link
Member

dacook commented Mar 27, 2024

Disabled StimulusReflex specs temporarily.
Unfortunately the testing framework doesn't support the latest version of StimulusReflex.
This is a third party framework that doesn't seem to be maintained. Maybe we should convert these to ActionCable tests.

@sigmundpetersen
Copy link
Contributor

There was a fix merged podia/stimulus_reflex_testing#22

I guess it's not a long term solution though...

@dacook
Copy link
Member

dacook commented Apr 10, 2024

Thanks, that might be worth using because the user_reflex_spec.rb will still be relevant, at least in the medium-term.

But I will pause this for now, until our usage of SR settles down.

Next steps:

Copy link
Contributor Author

dependabot bot commented on behalf of github May 13, 2024

A newer version of stimulus_reflex exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

dependabot bot and others added 3 commits May 14, 2024 13:54
Bumps [stimulus_reflex](https://github.com/stimulusreflex/stimulus_reflex) from 3.5.0-rc3 to 3.5.0-rc4.
- [Release notes](https://github.com/stimulusreflex/stimulus_reflex/releases)
- [Changelog](https://github.com/stimulusreflex/stimulus_reflex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stimulusreflex/stimulus_reflex/commits)

---
updated-dependencies:
- dependency-name: stimulus_reflex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Unfortunately the testing framework doesn't support the latest version of StimulusReflex.
This is a third party framework that doesn't seem to be maintained. Maybe we should convert these to ActionCable tests.
It contains a fix for stimulus_reflex 3.5.0-rc4, but hasn't been released yet.
podia/stimulus_reflex_testing#21

Now the user reflex spec works, but the products spec needs another fix. But we plan to remove it soon anyway.
@dacook dacook force-pushed the dependabot/npm_and_yarn/stimulus_reflex-3.5.0-rc4 branch 2 times, most recently from ba50e82 to 854091e Compare May 14, 2024 05:19
@dacook
Copy link
Member

dacook commented May 20, 2024

I'm pulling this from testing, because it's now superseded by #12472. Let's not waste time testing both.

@dacook dacook closed this May 20, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 20, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/stimulus_reflex-3.5.0-rc4 branch May 20, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants