Skip to content

More tooling updates & fixes#37177

Merged
peppy merged 2 commits intoppy:masterfrom
bdach:fix-test-reporter
Apr 2, 2026
Merged

More tooling updates & fixes#37177
peppy merged 2 commits intoppy:masterfrom
bdach:fix-test-reporter

Conversation

@bdach
Copy link
Copy Markdown
Collaborator

@bdach bdach commented Apr 2, 2026

Adjust CI test reporting to upstream action changes

It's been semi-broken since I bumped it a few weeks ago. Paper trail for this is at dorny/test-reporter#750, but to TL;DR it: dorny/test-reporter@>=v2.0.0 migrated from creating new check runs via the GitHub API to job summaries by default.

The main difference is that compared to check runs, job summaries do not appear to require extra GITHUB_TOKEN permissions, but in exchange are limited to the job that called it. This broke visibility of the test reports because due to GITHUB_TOKEN permissions foibles the test reporter was running in a separate workflow.

I see migrating as a plus here, since:

  • The visibility of results is comparable-to-better (example available for preview at https://github.com/bdach/osu/actions/runs/23892493152)
  • No longer required to have a completely separate workflow for test result reporting
  • No longer required to give checks: write permissions to the action (I'd hope, we'll see, untested on a public repository with PRs involved)

One downside is there'll be no in-code annotations for failing tests anymore but that's whatever IMO. Half the time they weren't even very helpful, test results pretty much require maintainer interpretation anyway.

This needs to be applied to a few other repos but I'm starting here because this is the one where the traffic is highest and therefore unbreaking the report is of most value (and also the one where I'll see if it works with public PRs the fastest).

Side note, I was hoping to remove the artifact upload/download games by just attaching the summary inside each individual test job in the matrix, but it looks like crap because only the first three summaries are loaded by default, so if there are more, you have to click each remaining one to see its output. Wow. Awesome.

Also updates the action to v3.0.0 to resolve node deprecation warnings.

Update inspectcode version to resolve deprecation warnings

More node deprecation warning fixes.

bdach added 2 commits April 2, 2026 11:54
It's been semi-broken since I bumped it a few weeks ago. Paper trail for
this is at dorny/test-reporter#750, but to
TL;DR it: dorny/test-reporter@v2.0.0 migrated from creating new check
runs via the GitHub API (https://docs.github.com/en/rest/checks/runs) to
job summaries
(https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#adding-a-job-summary)
by default.

The main difference is that compared to check runs, job summaries do not
*appear to* require extra `GITHUB_TOKEN` permissions, but in exchange
are limited to the job that called it. This broke visibility of the test
reports because due to `GITHUB_TOKEN` permissions foibles the test
reporter was running in a separate workflow.

I see migrating as a plus here, since:

- The visibility of results is comparable-to-better (example available
  for preview at https://github.com/bdach/osu/actions/runs/23892493152)
- No longer required to have a completely separate workflow for test
  result reporting
- No longer required to give `checks: write` permissions to the action
  (I'd hope, we'll see)

One downside is there'll be no in-code annotations for failing tests
anymore but that's whatever IMO. Half the time they weren't even very
helpful, test results pretty much require maintainer interpretation
anyway.

This needs to be applied to a few other repos but I'm starting here
because this is the one where the traffic is highest and therefore
unbreaking the report is of most value.

Side note, I was hoping to remove the artifact upload/download games by
just attaching the summary inside each individual test job in the
matrix, but it looks like crap
(https://github.com/bdach/osu-framework/actions/runs/23888384309)
because only the first three summaries are loaded by default, so if
there are more, you have to click each remaining one to see its output.
Wow. Awesome.
@bdach bdach self-assigned this Apr 2, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants