- Issue created by @tedbow
- Merge request !1483Draft: Resolve #3543402 "Replace experience builder name" → (Closed) created by tedbow
- 🇺🇸United States tedbow Ithaca, NY, USA
I ran tests/src/Kernel/ApiLayoutControllerGetTest.php locally and only 1 test failed.
The failure was because the client "type" for components has some sort of hash at the end. So it changed from
'type' => 'sdc.cv_test_sdc.two_column@d99140cbd47c0b51',
to
'type' => 'sdc.cv_test_sdc.image@cc9b97c9370aabdf',
so only the hash after `@` I always ignored this. But is this because it is somehow related the file, module, or path that has changed?We could update all of these but also is it really more that these match exactly? Could we write `assertSameXB()` that would compare arrays and let "type" match more loosely? If so we could do this in another issue as prep
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Working on this for a bit.
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Proposal for a workflow to collaborate on this working with the two branches.
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Ok, I'm stepping back before I get on Ted's toes.
I wrote a proposal for collaborating on this on the IS. That should make possible to collaborate with less risk. Please review. - 🇺🇸United States tedbow Ithaca, NY, USA
@penyaskito another option for how to work would just be to remove of `scripts/src/ConverterCommand.php` from the 3543402-replace-experience-builder branch. The we change the script to have argument TARGET_DIRECTORY
Then to run the script you just have 2 clones of the repo locally
3543402-script-only - doesn't need to be a in drupal core directory, only used to run the script
3543402-replace-experience-builder is the actually version that will be changedso from inside 3543402-script-only you would run
composer rename -=TARGET_DIRECTORY=/path/to/other/clone
Or would it simpler to just have 1 MR? since the script doesn't change itself at all it could work.
I just made 2 MR's because the 3543402-replace-experience-builder hads thousands of file changes so I thought would be harder to look at just the script. - 🇺🇸United States tedbow Ithaca, NY, USA
So to be clear I didn't really have a reason to make 2 MRs versus just 1 expect when I saw the number of files changed I thought it would hard to find the script file and the changes need just for it, like composer.json scripts changes. Also wonder if gitlab UI would be laggy with so many changes.
So whatever works for people
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I'm aware Ted is not working on this ATM and I'm not planning to do so for a few hours.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
AMAZING WORK both of you! 🤯🤩
933+ files, +10082, −11279
🕺@tedbow in #5:
- Amazing that there's only such a trivial failure!
- Yes, those hashes are important. It's essential for data integrity. Observing the hashes change throughout the codebase is an important indicator of things either working correctly or being broken (depending on which code change triggers those versions changing).
Looking forward to continuing where y'all left off in ~1.5-2 hours. (@jessebaker and I will start pairing on it at his start of day.)
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Update with the gitlabci.yml restoring.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Identified blockers:
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Third blocker, already landed: 📌 In prep for renaming the module to Canvas rename things already called Canvas Active .
- 🇺🇸United States tedbow Ithaca, NY, USA
Been working on this for a while...
Just phpunit tests we have failures...- CollapseComponentInputsUpdate & CollapseComponentInputsUpdateTest- fails because update .gz fixture probably needs to remade, I guess in the converted version.
- ComponentValidationTest.php - fails at least because of component version strings
- SegmentFormTest.php - Form field with id|name|label|value "settings[theme]" not found. // not sure why
- SingleDirectoryComponentTest.php & CanvasTwigExtensionFiltersTest.php & ParametrizedImageStyleTest.php- probably itok replacements
- PropShapeToFieldInstanceTest.php mega array that needs reordering
Probably a few more but I tired of looking through the logs right now. I am probably done for the day
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I rebased 1.x and from #25 we are down to:
- C4 model diagrams failure. I gave this a try with no luck, I'm not that familiar with mermaid.
- 4 phpunit failures, all of them from the plugin updates. Will need to check with @wim what's the action plan with this.
- At least 2 legit playwright failures. Might need to check with @jesse
- since 📌 Port component-operations.cy.js tests to Playwright Active : Components sorting is expected in comparing aria snapshots, and those depend on the component provider (Canvas < SDC < XB).
- since ✨ Displaying and creating folders Active : Same for folders.
- Cypress tests are passing 🤯🎉
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Also filled 📌 CI: `CLI test` job failing 100% due to requiring node 20 Active and added an MR. That's not really blocking us though, as it's allowed to fail, but would be nice to land before the rename.
- Merge request !1Draft: Issue #3543402: The big rename (script-only) → (Closed) created by penyaskito
- 🇳🇱Netherlands balintbrews Amsterdam, NL
wim leers → credited balintbrews → .
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Crediting
- @balintbrews for helping to figure out
package.json
stuff. - @effulgentsia for organizing this rename
- @lauriii for the bikeshedding 😜
- @balintbrews for helping to figure out
-
wim leers →
committed 1bbb431d on 1.x authored by
penyaskito →
Issue #3543402 by penyaskito, tedbow, wim leers, jessebaker, balintbrews...
-
wim leers →
committed 1bbb431d on 1.x authored by
penyaskito →
- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
Couldn't be perfect so we needed a follow-up: 🐛 xBEditor evaded the rename script! Active