Skip to content

Commit bae60bb

Browse files
Merge branch 'develop-2.0.0' into experimental/v2-x-x/ngo-and-n4e
2 parents cc5c3a6 + 07dd61a commit bae60bb

95 files changed

Lines changed: 2077 additions & 1651 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ AssemblyInfo.cs @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
1010
.github/ @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
1111
.yamato/ @NoelStephensUnity @EmandM @Unity-Technologies/netcode-qa
1212
com.unity.netcode.gameobjects/Documentation*/ @jabbacakes
13+
com.unity.netcode.gameobjects/Runtime/Transports/UTP/ @Unity-Technologies/multiplayer-workflows

.github/workflows/pr-description-validation.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,29 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525

2626
- name: Check PR description
2727
uses: actions/github-script@v8
2828
with:
2929
script: |
3030
const pr = context.payload.pull_request;
3131
const body = pr.body || '';
32+
33+
// List of users to skip description validation
34+
// This should be automations where we don't care that much about the description format
35+
const skipUsersPrefixes = [
36+
'unity-renovate',
37+
'svc-'
38+
];
39+
40+
// If PR author is in the skip list, exit early
41+
const author = pr.user.login;
42+
console.log(`PR author: ${author}`);
43+
if (skipUsersPrefixes.some(prefix => author.startsWith(prefix))) {
44+
console.log(`Skipping PR description check for user: ${author}`);
45+
return;
46+
}
3247
3348
// List of mandatory PR sections
3449
const requiredSections = [

.github/workflows/pr-supervisor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 720
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

3030
- name: Wait and Verify Yamato Job Status
3131
env:

.yamato/_run-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ run_quick_checks:
1616
name: Run Quick Initial Checks
1717
dependencies:
1818
# Ensure the code is running to our current standards
19-
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
19+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
2020
# This is needed for most of the jobs to execute tests + it runs xray PVP checks (all fast checks)
2121
- .yamato/package-pack.yml#package_pack_-_ngo_win
2222

.yamato/_triggers.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
pr_minimal_required_checks:
5252
name: Minimal PR checks
5353
dependencies:
54-
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
54+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
5555
- .yamato/package-pack.yml#package_pack_-_ngo_win
5656
triggers:
5757
expression: |-
@@ -87,10 +87,8 @@ pr_code_changes_checks:
8787
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
8888
# desktop_standalone_test and cmb_service_standalone_test are both reusing desktop_standalone_build dependency so we run those in the same configuration on PRs to reduce waiting time.
8989
# Note that our daily tests will anyway run both test configurations in "minimal supported" and "trunk" configurations
90-
91-
# TODO: Move these tests back to trunk once CMB Service has addressed https://jira.unity3d.com/browse/MTTB-1680
92-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_6000.4
93-
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_testproject_ubuntu_il2cpp_6000.4
90+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_trunk
91+
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_testproject_ubuntu_il2cpp_trunk
9492
triggers:
9593
expression: |-
9694
(pull_request.comment eq "ngo" OR
@@ -130,7 +128,7 @@ develop_nightly:
130128
rerun: always
131129
dependencies:
132130
# Run project standards to verify package/default project
133-
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
131+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
134132
# Run APV jobs to make sure the change won't break any dependants
135133
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
136134
# Run package EditMode and Playmode tests on desktop platforms on trunk and 6000.0
@@ -190,4 +188,4 @@ develop_weekly_trunk:
190188
# Run Runtime tests against CMB service
191189
- .yamato/_run-all.yml#run_all_project_tests_cmb_service
192190
# Run code coverage test
193-
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk
191+
- .yamato/code-coverage.yml#code_coverage_ubuntu_{{ validation_editors.default }}

.yamato/cmb-service-standalone-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}
5454

5555
commands:
5656
# run_cmb_service.sh builds and starts a release version of the full CMB service (along with the limited echo server)
57-
- ./Tools/CI/service.cmb/run_cmb_service.sh -e $ECHO_SERVER_PORT -s $CMB_SERVICE_PORT
57+
- ./Tools/CI/service.cmb/run_cmb_service.sh -e $ECHO_SERVER_PORT -s $CMB_SERVICE_PORT -l artifacts
5858

5959
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if backend == "il2cpp" %} -c il2cpp {% endif %} {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
6060
- UnifiedTestRunner --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --editor-location=.Editor --playergraphicsapi=Null --fail-on-assert --rerun-strategy=Test --retry={{ num_test_retries }} --clean-library-on-rerun --timeout={{ test_timeout }}

.yamato/console-standalone-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ console_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4545
agent:
4646
type: {{ platform.type }}
4747
image: {{ platform.image }}
48-
flavor: {{ platform.flavor }}
48+
flavor: {{ platform.larger_flavor }}
4949
{% if platform.model %}
5050
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
5151
{% endif %}

.yamato/desktop-standalone-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
3838
agent:
3939
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }} {% endif %}
4040
image: {{ platform.image }}
41-
flavor: {{ platform.flavor }}
41+
flavor: {{ platform.larger_flavor }}
4242
{% if platform.name == "mac" %}
4343
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
4444
{% endif %}

.yamato/generated-scripts/infrastructure-instability-detection-linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ if [ -d "infrastructure_instability_detection_standalone" ]; then
1313
rm -rf "infrastructure_instability_detection_standalone" || true
1414
fi
1515

16-
echo "downloading and extracting infrastructure_instability_detection_standalone@1.0.0"
17-
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/ubuntu.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
16+
echo "downloading and extracting infrastructure_instability_detection_standalone@1.2.2"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.2.2/ubuntu.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
1818

1919
if [ -d "infrastructure_instability_detection" ]; then
2020
echo "removing infrastructure_instability_detection folder to avoid name clash"

.yamato/generated-scripts/infrastructure-instability-detection-mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ if [ -d "infrastructure_instability_detection_standalone" ]; then
1313
rm -rf "infrastructure_instability_detection_standalone" || true
1414
fi
1515

16-
echo "downloading and extracting infrastructure_instability_detection_standalone@1.0.0"
17-
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/macos.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
16+
echo "downloading and extracting infrastructure_instability_detection_standalone@1.2.2"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.2.2/macos.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
1818

1919
if [ -d "infrastructure_instability_detection" ]; then
2020
echo "removing infrastructure_instability_detection folder to avoid name clash"

0 commit comments

Comments
 (0)