
What’s the best way to use xvfb on GHA?

Also, my current attempt to use GHA for typed-racket takes about 3x longer to set up than on travis, which is problematic

I’m doing it slightly differently, but I am surprised by the difference

@deactivateduser60718 has left the channel

@popa.bogdanp I think part of the difference is your setup-racket
action installs globally whereas previously I was installing “in-place”

When running pkgs/racket-test-core/tests/racket/test.rkt
, is there a way to disable specific sections?

no, the best way to disable specific sections is to run all the other sections one-by-one

ah, things ran much faster when I switched to the way I did it on Travis

But on Travis is, I think, how I am doing it for cgc at the moment.

I assume you’re referring to this change:
https://github.com/racket/typed-racket/commit/45a7fdba0ae6834fdc82e767bb8800b9d670058d
Is it the combination of -i
, --no-setup
and --skip-installed
that gets you the speed gains? Why is it necessary to create a custom catalog?

Yes, that change. I’m not totally sure, but I think it’s mostly not setting up all the packages that depend on TR. That’s accomplished with --no-setup
and then running raco setup
after.

And if there’s a better way than that custom catalog hack I’m happy to hear it.

Also, that might be something worth integrating into your Action.

@pocmatos it looks like the ‘upload-artifact’ action will zip for you if you give it a directory

Yeah, it would be nice if the action could do most of this for you. I’ll look into it this weekend

It might be that just the raco pkg update
could work without the catalog.

I should try that.

@pocmatos can you file a bug listing the tests that fail under cgc? Also, I expect testing on 3m to usually be the better/more important/more likely to work version.

Not sure you mean about the upload-artifact
but it’s already used to build 3m and cs from cgc.

Yes - thats the idea, to file a bug for all flaky tests with a reference to the reverted commit.

I am in the middle of getting my kids in bed so I will either do it later on or tomorrow morning.

Also send the meeting report to Jack to review and will post it tomorrow if he has nothing to add. Maybe all of us (at the moment it seems its me, you, @deactivateduser60718 and @notjack) should try to agree on a time to meet to discuss further steps. The very near-future steps I agree with Jack will be in the report I wrote.

Oh, it seems Sage left the channel.

Also relevant is how to deal with the spread of source code over several repos and create a unified CI story. For example, should we trigger Typed Racket tests when Racket code changes? Should we trigger Racket tests (in CS mode) when Chez code changes? I assume we need to repo-local triggers to do this.

go to go.

@deactivateduser60718 has joined the channel

I have lots of thoughts on cross-repo CI but they can wait until after the immediate next steps

Oh, it seems Sage left the channel. I stepped out since the timing didn’t seem right for what I thought I was offering. I just like keeping my channels lean, and I am still available.

Current short-term availability (Eastern Time) is all day tomorrow the 27th and Friday morning the 29th. Not available on the weekend.

@notjack if you get 5 mins, can you please take a look at the briefing I sent you of the meeting we had? Thanks.

@pocmatos Can do, but not until later today.

That’s fine. Thanks

@samth Can’t seem to run a single test section - do you know which command line I need to use?

[samth@huor:~/.../racket-test-core/tests/racket (master) plt] racket -f quiet.rktl vector.rktl
Section(vector)
SUMMARY ----------------------------
Performed 1602 expression tests (1406 value expressions, 196 exn expressions)
and 392 exception field tests.
Passed all tests.

Ah! -f
. Was using -l
.

need to check what -f
is all about…

yeah, those files need to be run with load

ah… interesting, always though -l
was for load.

turns out -l
is for lib and -f
is for load. TIL

I was just trying out tests on section expand
and got:

Section(expand)
ERROR: open-input-file: cannot open input file
path: /home/runner/work/racket/racket/pkgs/racket-test-core/tests/racket/mz-tests.rktl
system error: No such file or directory; errno=2

mz-tests.rktl
doesn’t seem to exist.

Am I missing something or is this the case for a new Issue.

?