Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2025 at 15:21 UTC
Updated:
30 Jul 2025 at 10:59 UTC
Jump to comment: Most recent
Comments
Comment #2
wim leersThis is very disruptive.
Comment #3
penyaskitoFor the MRs I'm working on this is failing like 90%. Pretty annoying.
Comment #4
penyaskitoI think we should run prettier and eslint on tests, but as a separate job (which might be allowed to fail?)
Comment #6
penyaskitoComment #7
penyaskitoPlease review. Do you agree we should spin-off prettier/eslint from this job?
Comment #8
wim leersPosted my thoughts. Let's let @justafish decide.
What's certain: the CI results in HEAD are definitely not clear enough. I understand how @isholgueras ended up believing that
playwrightwas broken in HEAD. It requires a very careful reading, because:… it's really just that one
ERROR: …line, that isn't even in red!Perhaps the better alternative solution is to run
prettierfirst, and hence refuse to run the tests altogether unless the code style requirements are met. Then at least there isn't an ocean of "yay"s followed by a tiny "nay".Doing a separate job would also allow reporting the code style checking results in a way that GitLab CI presents them correctly. Quoting the
UI eslintCI job:👆 That's what's missing. And we can't combine that into the
playwrightCI job, because it already needs to report actual test results; code style results are a different consideration.Comment #9
wim leersComment #10
lauriiiIt doesn't seem right that the tests shouldn't run due to prettier errors. There's nothing more annoying than to not get test results because of a silly code style error. Having a separate job would solve this.
Comment #11
wim leers#10: I know, I agree, which is what I wrote immediately after what you quoted 😉 I was merely acknowleding the infrastructure (and hence ecological) impact.
Comment #12
justafishThanks for opening and fixing this so quickly!
However, we have already split these jobs up in https://git.drupalcode.org/project/experience_builder/-/merge_requests/1...
If you're happy with the implementation above I'll close this one
Comment #13
justafishand also for a bit of background, it's because prettier and eslint in those forms (i.e. from the top level package.json) were only running on the Playwright tests as we have yet to reconcile this with the ui folder. However in the MR above it's now running on the new cli workspace too.
Comment #14
penyaskitoI'd still merge this as it fixes the prettier error + HEAD is actually broken while that MR has a larger scope + draft MR + needs reviews.
Let's unblock merging the beta blockers 🙏🏽
Comment #15
wim leers#14++
Comment #16
wim leersGot @justafish's +1 to go ahead and get HEAD green again, because
Comment #18
wim leersComment #19
wim leers