Skip to content

Conversation

@joostjager
Copy link
Contributor

@joostjager joostjager commented Jan 28, 2026

Summary

  • Modifies ci-tests.sh to accept an optional step name argument, running only that step when provided
  • Splits the single "Run CI script" workflow step into 18 individual steps in build.yml
  • Preserves backward compatibility: running ./ci/ci-tests.sh without arguments still executes all steps

Motivation

GitHub Actions UI now shows individual test step progress, making it easier to identify which specific test phase failed without scrolling through logs.

image

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 28, 2026

👋 Thanks for assigning @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@joostjager joostjager changed the title ci: Add GitHub Job Summary reporting to ci-tests.sh Add GitHub Job Summary reporting to ci-tests.sh Jan 28, 2026
ci/ci-tests.sh Outdated
}

# Initialize GitHub Actions Job Summary
if [ -n "$GITHUB_STEP_SUMMARY" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given this is just nice printing should we always turn it on rather than only for CI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can do that, but in which file would you want to save the output? The file is, during CI, in $GITHUB_STEP_SUMMARY

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh I just skimmed it and thought it printed didn't write to a file.

Copy link
Contributor Author

@joostjager joostjager Jan 29, 2026

Choose a reason for hiding this comment

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

Wasn't happy with the way github does the step summary. Now pushed a different approach that just splits up the workflow in more granular steps.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Bleh, no, ci-tests.sh exists so that we're not tied to github and so that people can run it locally. Splitting it into a million bits breaks those existing goals.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can still run ci-tests.sh

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.11%. Comparing base (9e91b2e) to head (6f524c7).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4357      +/-   ##
==========================================
+ Coverage   86.08%   86.11%   +0.03%     
==========================================
  Files         156      156              
  Lines      102428   102610     +182     
  Branches   102428   102610     +182     
==========================================
+ Hits        88179    88367     +188     
+ Misses      11754    11748       -6     
  Partials     2495     2495              
Flag Coverage Δ
tests 86.11% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joostjager
Copy link
Contributor Author

Not happy with this yet, exploring other options.

This allows GitHub Actions to show individual test step progress in the
UI, making it easier to identify which specific test phase failed
without scrolling through logs.

The ci-tests.sh script now accepts an optional step name argument. When
provided, it runs only that step. When omitted, it runs all steps as
before, preserving backward compatibility for local testing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@joostjager joostjager changed the title Add GitHub Job Summary reporting to ci-tests.sh Split CI script into separate GitHub Actions steps Jan 29, 2026
@joostjager joostjager marked this pull request as ready for review January 30, 2026 11:09
@joostjager joostjager requested a review from tnull January 30, 2026 11:09
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

I'm still not really sold on this - we're gonna end up missing a step that we add in CI or something and is more logic in ci-tests.sh really helpful - how often are you actually looking at individual steps to understand the performance profile of ci-tests.sh?

@joostjager
Copy link
Contributor Author

joostjager commented Jan 30, 2026

It's not so much about performance profile anymore. That was what I had initially. The current shape of it is to make it easy to see which test failed and jump to log files. It's friction that I experience with one big log file.

Adding things in CI is not something that happens very often. I think it is worth doing this change. If you add to CI and follow the pattern, it seems unlikely that something is forgotten.

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