Skip to content

Support large test result files - #134

Open
idg10 wants to merge 5 commits into
mainfrom
feature/large-test-result-files
Open

Support large test result files#134
idg10 wants to merge 5 commits into
mainfrom
feature/large-test-result-files

Conversation

@idg10

@idg10 idg10 commented May 13, 2025

Copy link
Copy Markdown

In Corvus.JsonSchema we routinely saw test result publication fail because of the large .trx files produced in that project.

The GitHub Action we're using has a large_files setting that avoids this problem.

This change enables the use of that by default, but provides a new setting that enables the old behaviour to be reinstated. We have made the new behaviour the default because as far as we can tell, there is no behaviour change, and if there is a performance cost, it is too small for us to detect in the overall cost of a build.

idg10 added 2 commits May 13, 2025 12:04
This is a temporary test to see if this setting will fix the test result publication failures we consistently see in Corvus.JsonSchema
@idg10
idg10 requested a review from JamesDawson May 13, 2025 11:31
@idg10 idg10 self-assigned this May 13, 2025
@github-actions

github-actions Bot commented May 13, 2025

Copy link
Copy Markdown

Test Results

1 tests   1 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit e61d7ed.

♻️ This comment has been updated with latest results.

@JamesDawson JamesDawson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good - have you tried testing it with the Corvus.JsonSchema repo to see if it has the desired affected? You can point its build to use the workflow from this branch instead of main.

The CI checks here are all green so it looks fine from a backwards-compatibility perspective.

For completeness, can we also add the new largeTestResultFiles input to the 'single job' flavour of workflow.

mwadams and others added 3 commits July 21, 2025 09:57
# Conflicts:
#	.github/workflows/scripted-build-matrix-pipeline.yml
#	.github/workflows/scripted-build-pipeline.yml
#	actions/run-build-process/action.yml
Main restructured the publish-unit-test-result-action steps (single `files:`
input, action bumped to v2.24.0) so the original hunks no longer applied.
Reapplied `large_files: ${{ inputs.largeTestResultFiles }}` to the Linux and
Windows publish steps in both the standard and matrix scripted-build pipelines
and in the run-build-process composite action.

Also addresses the review feedback: the new `largeTestResultFiles` input is now
plumbed through the single-job workflow to the run-build-process action.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVkgD5WPoviz5LwSjNN4ge
@JamesDawson

Copy link
Copy Markdown
Contributor

Picking this up. Pushed two commits:

  • Merge main – since this PR was opened, main restructured the EnricoMi/publish-unit-test-result-action steps (the nunit_files/trx_files/junit_files inputs were collapsed into a single files: list, and the action was bumped to v2.24.0), so the original hunks no longer applied. Reapplied large_files on the Linux and Windows publish steps in scripted-build-pipeline.yml, scripted-build-matrix-pipeline.yml and the run-build-process composite action.
  • Single-job workflow – per the review feedback, largeTestResultFiles is now also exposed on scripted-build-single-job-pipeline.yml and passed through to run-build-process.

Default remains true (opt-out). The in-repo CI (ci, ci-matrix, ci-single-job, ci-composite-action) exercises the default path with no consumer changes, so green checks confirm backwards compatibility.

Still outstanding: validating against Corvus.JsonSchema by pointing its build at ...@feature/large-test-result-files.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Code Coverage Summary Report - Linux (net8.0)

Summary
Generated on: 09/01/2026 - 13:04:03
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Code Coverage Summary Report - Linux (No TFM)

Summary
Generated on: 09/01/2026 - 13:04:28
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Code Coverage Summary Report - Windows (net8.0)

Summary
Generated on: 9/1/2026 - 1:05:53 PM
Parser: Cobertura
Assemblies: 2
Classes: 2
Files: 2
Line coverage: 100% (4 of 4)
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Covered branches: 0
Total branches: 0
Method coverage: Feature is only available for sponsors

Coverage

TestLib - 100%
Name Line Branch
TestLib 100% ****
TestLib.Class1 100%
TestLib.Tests - 100%
Name Line Branch
TestLib.Tests 100% ****
TestLib.Tests.Tests 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants