- Issue created by @wim leers
- ๐ณ๐ฑNetherlands balintbrews Amsterdam, NL
wim leers โ credited balintbrews โ .
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
And MR for the race condition too now.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Crediting @lauriii for the original bug report.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
I intend to merge https://git.drupalcode.org/project/experience_builder/-/merge_requests/702 in ~15 mins, when CI confirms it's green. It includes comprehensive test coverage. Also: @balintbrews was right all along โ this is something we missed in manual testing ๐ โ and worse, the
JsComponent::renderComponent()
test gave us a false sense of it actually being fairly thoroughly tested.It is tested fairly thoroughly, but it failed to account
renderComponent(isPreview: TRUE)
not necessarily meaning that an auto-save actually exists.@larowlan: ๐ hope that makes sense to you too.
-
wim leers โ
committed 0ec7f8ad on 0.x
Issue #3508922 by wim leers, balintbrews, lauriii: Regression after #...
-
wim leers โ
committed 0ec7f8ad on 0.x
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Back to for the less critical race condition โ .
- Status changed to Needs review
13 days ago 8:29am 30 April 2025 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
So this is still open >2 months later since #12 ๐ฌ
A lot of changes have happened recently on this front:
- ๐ Auto-saved Javascript Components CSS changes do not work with CSS aggregation Active
- โจ [PP-1] Build import maps for code component dependencies, attach their CSS Postponed
- โฆ
So checking this again.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Solution for this: don't perform a 307 redirect, but instead just serve the stored JS. That way, we can guarantee there's no scope mismatch.
โฆ AFAICT this MR is still accurate? ๐
Already has the +1 from @larowlan, let's get final sign-off from @tedbow, while his head is still kinda in this space ๐
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
To be practical, I am going to implement my last MR comment then mark it back it as RTBC, since it is only naming comment changes.
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
Marking back as RTBC since I just changed to variable names for clarity. When tests are green I will merge
-
tedbow โ
committed d8f95c00 on 0.x authored by
wim leers โ
Issue #3508922 by wim leers, tedbow, balintbrews, lauriii: Regression...
-
tedbow โ
committed d8f95c00 on 0.x authored by
wim leers โ
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
Tested locally and the 1 e2e test that failed passed
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks for renaming those variables in the test coverage โ I agree it was confusing, much better now! ๐