Skip to content

Conversation

@last-genius
Copy link
Contributor

Fixes compare.html not being generated for ysh-all on errors and makes it more informative so that it's clearer what caused the errors

Here's how osh-cpp's compare.html page looks like with this PR:
image

See https://op.oilshell.org/uuu/github-jobs/11017/cpp-spec.wwz/_tmp/spec/osh-cpp/compare.html for an example of "before", where it's unclear what the issue is.

ec1ae69 only fixed this issue for
osh-all, do the same for ysh-all - this should fix the 404 compare.html
issue from #2615

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@last-genius last-genius marked this pull request as ready for review December 16, 2025 16:56
Copy link
Contributor

@andychu andychu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you!

Glad you were able to decipher my old awk scripts :-) This was "research" for the YSH language design

which I still want to do :-)

regtest/aports and test/spec-cpp both use what I call the "parallel process table pattern" -- with xargs

But I want YSH to have something nicer than xargs ! i.e. the patterns in these scripts are basically "YSH in crappy shell syntax" :-)

I'll mention this on Zulip

@last-genius last-genius force-pushed the asv/friction-comparehtml branch from f4a23a6 to b5746e0 Compare December 17, 2025 16:35
Copy link
Contributor

@andychu andychu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a peek even though you didn't request review yet :-)

@andychu
Copy link
Contributor

andychu commented Dec 17, 2025

Also it looks like the Docker registry is flaky now, so we can just restart the job

https://github.com/oils-for-unix/oils/actions/runs/20310083784/job/58338811562

Adds two new columns to compare.html: cpp_num_failed and
cpp_failures_allowed - these can show what went wrong with the job.

Additionally, sets the background color of jobs with status!=0 to red to
make the failure clearer.

Fixes: #2615

Signed-off-by: Andrii Sultanov <sultanovandriy@gmail.com>
@last-genius last-genius force-pushed the asv/friction-comparehtml branch from b5746e0 to 56cea52 Compare December 17, 2025 16:52
@andychu andychu changed the base branch from master to soil-staging December 17, 2025 18:55
@andychu andychu merged commit 1a89287 into soil-staging Dec 17, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants