Fork me on GitHub
#cljs-dev
<
2023-03-13
>
scarytom12:03:54

@thheller FYI considering you recently moved shadow-cljs to a newer version of the google-closure-library, I created a https://github.com/clojure/clojurescript/pull/200 to move clojurescript to match. We were nervous that they were on different versions. Hope that's okay.

dnolen14:03:23

@t.denley thanks but it’s odd that none of the tests ran

thheller15:03:01

note that there was one issue with goog.requireType in that release https://github.com/thheller/shadow-cljs/issues/1097

thheller15:03:33

it might not be an issue when loading code using the built-in debug loader though, could have just been the custom loader shadow-cljs uses

dnolen16:03:14

ok thanks!

thheller16:03:10

besides that no issues yet it seems. but probably wait till a few more people have upgraded.

borkdude16:03:10

I'd say just add pull_request to it and be done with it.

lread16:03:59

Yeah, depends on what you want. If you go that route GHA will trigger the tests twice for commits to PRs. I'm currently trying to figure out how to get GHA to not do this. So far I've only found that it does not seem easy.

borkdude16:03:47

it will only execute the tests twice if you push to your own repo's PR

lread16:03:31

You'll see the the duplicate tests run if pushing to a PR from a local branch in the GHA PR UI. They'll still be run twice if the PR is from a fork (if GHA is enabled for that fork). Once in the forked repo, once in the repo, but you won't see the duplication in the GHA PR UI.

borkdude16:03:28

I think I'd prefer having tests run too much rather than too few, until you find a good solution to deduplicate ;)

lread16:03:09

Yeah, I'm working on it. It is... annoying. Oddly, this use case is not one GitHub Actions team seems to have designed for. Use case being: please trigger workflow when pushing anywhere but only trigger once when commit is part of a PR.

scarytom19:03:30

@dnolen I assume the test run issue is being dealt with and you don't want me to do anything to the pull request?