Skip to content

Merge main into releases/v3 #2357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 59 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
7feb9a0
Re-enable kotlin tests
aeisenberg Oct 10, 2023
e42f5e5
Revert "Disable flaky Swift autobuild checks"
henrymercer Mar 28, 2023
7a14c3b
Update tests
aeisenberg Oct 13, 2023
fcf7c47
Explicitly setup a kotlin version
aeisenberg Oct 13, 2023
72f5fb9
Merge branch 'main' into aeisenberg/enable-kotlin-tests
aeisenberg Apr 1, 2024
f1335fc
Add details of supported versions for GHES 3.13
henrymercer Jun 12, 2024
1a07754
Update changelog and version after v3.25.10
github-actions[bot] Jun 13, 2024
6e7a8f3
Update checked-in dependencies
github-actions[bot] Jun 13, 2024
3990b56
Merge pull request #2338 from github/mergeback/v3.25.10-to-main-23acc5c1
smowton Jun 13, 2024
2e69043
Remove sort-imports rule override
henrymercer Jun 13, 2024
d8f549d
Improve type safety by using more specific function types
henrymercer Jun 13, 2024
e7d04fd
Enable unsafe call rule
henrymercer Jun 13, 2024
2f54d9f
Enable no console rule
henrymercer Jun 13, 2024
1ea11ca
Enable `no-unsafe-return` rule
henrymercer Jun 13, 2024
cf20090
Update checked-in dependencies
github-actions[bot] Jun 13, 2024
bd2ebac
Merge pull request #2340 from github/henrymercer/code-quality-improve…
henrymercer Jun 14, 2024
3f41e06
Merge remote-tracking branch 'upstream/main' into aeisenberg/enable-k…
aeisenberg Jun 14, 2024
a449977
Update setup-kotlin
aeisenberg Jun 14, 2024
79f6e84
Ensure string argument instead of boolean
aeisenberg Jun 14, 2024
31a716b
Check setup-kotlin
aeisenberg Jun 14, 2024
2bee5fb
Merge pull request #2333 from github/henrymercer/ghes-3.13-readme
henrymercer Jun 17, 2024
c884bf6
Merge branch 'main' into henrymercer/reenable-swift-autobuild-checks
henrymercer Jun 17, 2024
e7ce02a
Regenerate PR checks
henrymercer Jun 17, 2024
1428e58
Merge pull request #1621 from github/henrymercer/reenable-swift-autob…
henrymercer Jun 17, 2024
eb17dc2
Add build mode to Swift autobuild check
henrymercer Jun 17, 2024
6f86b5d
Bump timeout
henrymercer Jun 17, 2024
de327e8
Remove macOS 11 check and add macOS 14
henrymercer Jun 17, 2024
ec1c05a
Specify a single category
henrymercer Jun 17, 2024
c82e245
Remove C++ TRAP caching feature flag in favour of CLI v2.17.5 check.
sashabu Jun 17, 2024
e8821c5
Bump the npm group with 2 updates
dependabot[bot] Jun 17, 2024
b530827
Update checked-in dependencies
github-actions[bot] Jun 17, 2024
35619fb
Merge pull request #1939 from github/aeisenberg/enable-kotlin-tests
aeisenberg Jun 17, 2024
b7574c1
Fix workflow
aeisenberg Jun 17, 2024
f45434f
Merge branch 'aeisenberg/fix-workflow' into dependabot/npm_and_yarn/n…
aeisenberg Jun 17, 2024
5b39968
Merge pull request #2343 from github/henrymercer/remove-macos-11
henrymercer Jun 18, 2024
208abc5
Merge branch 'main' into henrymercer/swift-autobuild-check-with-build…
henrymercer Jun 18, 2024
0d598e7
Merge pull request #2346 from github/aeisenberg/fix-workflow
henrymercer Jun 18, 2024
691e81d
Merge branch 'main' into henrymercer/swift-autobuild-check-with-build…
henrymercer Jun 18, 2024
b8a2269
Merge branch 'main' into dependabot/npm_and_yarn/npm-5c2f2cbc05
angelapwen Jun 18, 2024
2674782
Merge pull request #2342 from github/henrymercer/swift-autobuild-chec…
henrymercer Jun 18, 2024
0141077
Merge branch 'main' into sashabu/cpp-trap-cache
henrymercer Jun 18, 2024
c8f2e2d
Merge pull request #2345 from github/dependabot/npm_and_yarn/npm-5c2f…
angelapwen Jun 18, 2024
ce5603b
Merge pull request #2344 from github/sashabu/cpp-trap-cache
henrymercer Jun 18, 2024
9507482
Avoid failing when debug artifacts can't be uploaded
aeisenberg Jun 20, 2024
e572852
Update changelog
aeisenberg Jun 21, 2024
3ce5d00
Merge pull request #2349 from github/aeisenberg/no-fail-upload-artifacts
aeisenberg Jun 22, 2024
495201e
PR check generator: add `excludeOsAndVersionCombination`
angelapwen Jun 24, 2024
462c756
Switch `debug-artifacts` job back to `ubuntu`
angelapwen Jun 24, 2024
7c35b4f
Rename for clarity per PR review
angelapwen Jun 24, 2024
5d57660
Switch param order for clarity
angelapwen Jun 24, 2024
8723b5b
Merge pull request #2350 from github/angelapwen/add-exclude-pr-check-…
angelapwen Jun 24, 2024
9dcfde9
Bump the npm group with 2 updates
dependabot[bot] Jun 24, 2024
1895b29
Update checked-in dependencies
github-actions[bot] Jun 24, 2024
9cf3243
Rebuild
github-actions[bot] Jun 25, 2024
9b7c22c
Merge pull request #2351 from github/dependabot/npm_and_yarn/npm-6791…
angelapwen Jun 25, 2024
9ccc995
Update default bundle to codeql-bundle-v2.17.6
github-actions[bot] Jun 25, 2024
a32d305
Add changelog note
github-actions[bot] Jun 25, 2024
de94575
Merge pull request #2352 from github/update-bundle/codeql-bundle-v2.17.6
aibaars Jun 27, 2024
3e6431f
Update changelog for v3.25.11
github-actions[bot] Jun 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .github/workflows/__scaling-reserved-ram.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .github/workflows/__swift-custom-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions .github/workflows/__unset-environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions .github/workflows/debug-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,18 @@ jobs:
fail-fast: false
matrix:
version:
# TODO: Once CLI v2.17.4 is available and the platform is switched back to ubuntu,
# stable-20230403, stable-v2.13.5, and stable-v2.14.6 can be added back to this matrix,
# and the VERSIONS variable in the bash script below.
# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
- stable-20230403
- stable-v2.13.5
- stable-v2.14.6
- stable-v2.15.5
- stable-v2.16.6
- default
- linked
- nightly-latest
name: Upload debug artifacts
env:
CODEQL_ACTION_TEST_MODE: true
timeout-minutes: 45
runs-on: macos-latest # TODO: Switch back to ubuntu for `nightly-latest` and `linked` once CLI v2.17.4 is available.
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -73,7 +71,7 @@ jobs:
- name: Check expected artifacts exist
shell: bash
run: |
VERSIONS="stable-v2.15.5 stable-v2.16.6 default linked nightly-latest"
VERSIONS="stable-20230403 stable-v2.13.5 stable-v2.14.6 stable-v2.15.5 default linked nightly-latest"
LANGUAGES="cpp csharp go java javascript python"
for version in $VERSIONS; do
pushd "./my-debug-artifacts-${version//./}"
Expand Down
11 changes: 9 additions & 2 deletions pr-checks/checks/multi-language-autodetect.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: "Multi-language repository"
description: "An end-to-end integration test of a multi-language repository using automatic language detection"
# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available.
operatingSystems: ["macos"]
operatingSystems: ["macos", "ubuntu"]
excludeOsAndVersionCombination: [
# Known failure for Swift on Linux before CLI v2.17.4.
[ "ubuntu", "stable-20230403" ],
[ "ubuntu", "stable-v2.13.5" ],
[ "ubuntu", "stable-v2.14.6" ],
[ "ubuntu", "stable-v2.15.5" ],
[ "ubuntu", "stable-v2.16.6" ],
]
steps:
- uses: actions/setup-go@v5
with:
Expand Down
11 changes: 9 additions & 2 deletions pr-checks/checks/scaling-reserved-ram.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: "Scaling reserved RAM"
description: "An end-to-end integration test of a multi-language repository with the scaling_reserved_ram feature flag enabled"
# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available.
operatingSystems: ["macos"]
operatingSystems: ["macos", "ubuntu"]
excludeOsAndVersionCombination: [
# Known failure for Swift on Linux before CLI v2.17.4.
[ "ubuntu", "stable-20230403" ],
[ "ubuntu", "stable-v2.13.5" ],
[ "ubuntu", "stable-v2.14.6" ],
[ "ubuntu", "stable-v2.15.5" ],
[ "ubuntu", "stable-v2.16.6" ],
]
env:
CODEQL_ACTION_SCALING_RESERVED_RAM: true
steps:
Expand Down
3 changes: 1 addition & 2 deletions pr-checks/checks/swift-custom-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: "Swift analysis using a custom build command"
description: "Tests creation of a Swift database using custom build"
versions: ["linked", "default", "nightly-latest"]
# TODO: Add ubuntu back for `nightly-latest` and `latest` once CLI v2.17.4 is available.
operatingSystems: ["macos"]
operatingSystems: ["macos", "ubuntu"]
env:
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
steps:
Expand Down
13 changes: 10 additions & 3 deletions pr-checks/checks/unset-environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
name: "Test unsetting environment variables"
description: "An end-to-end integration test that unsets some environment variables"
# TODO: Switch back to all versions once CLI v2.17.4 is available and running on ubuntu again.
versions: ["stable-v2.14.6", "stable-v2.15.5", "stable-v2.16.6", "linked", "default", "nightly-latest"]
operatingSystems: ["macos"] # TODO: Switch back to ubuntu for `nightly-latest` and `latest` once CLI v2.17.4 is available.
operatingSystems: ["ubuntu"]
excludeOsAndVersionCombination: [
# Known failure for Swift on Linux before CLI v2.17.4.
[ "ubuntu", "stable-20230403" ],
[ "ubuntu", "stable-v2.13.5" ],
[ "ubuntu", "stable-v2.14.6" ],
[ "ubuntu", "stable-v2.15.5" ],
[ "ubuntu", "stable-v2.16.6" ],
]

steps:
- uses: ./../action/init
id: init
Expand Down
49 changes: 30 additions & 19 deletions pr-checks/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
"nightly-latest"
]

def is_os_and_version_excluded(os, version, exclude_params):
for exclude_param in exclude_params:
if exclude_param[0] == os and exclude_param[1] == version:
return True
return False

# When updating the ruamel.yaml version here, update the PR check in
# `.github/workflows/pr-checks.yml` too.
header = """# Warning: This file is generated automatically, and should not be modified.
Expand Down Expand Up @@ -56,27 +62,32 @@ def writeHeader(checkStream):
for file in (this_dir / 'checks').glob('*.yml'):
with open(file, 'r') as checkStream:
checkSpecification = yaml.load(checkStream)

matrix = []
excludedOsesAndVersions = checkSpecification.get('excludeOsAndVersionCombination', [])
for version in checkSpecification.get('versions', defaultTestVersions):
runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"]
if checkSpecification.get('operatingSystems', None):
runnerImages = [image for image in runnerImages for operatingSystem in checkSpecification['operatingSystems']
if image.startswith(operatingSystem)]

for runnerImage in runnerImages:
# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
# "macos-latest" is now an ARM runner, so we run tests on the old CLIs on Intel runners instead.
if version in ["stable-20230403", "stable-v2.13.4", "stable-v2.13.5", "stable-v2.14.6"] and runnerImage == "macos-latest":
matrix.append({
'os': "macos-12",
'version': version
})
else:
matrix.append({
'os': runnerImage,
'version': version
})
runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"]
operatingSystems = checkSpecification.get('operatingSystems', ["ubuntu", "macos", "windows"])

for operatingSystem in operatingSystems:
runnerImagesForOs = [image for image in runnerImages if image.startswith(operatingSystem)]

for runnerImage in runnerImagesForOs:
# Skip appending this combination to the matrix if it is explicitly excluded.
if is_os_and_version_excluded(operatingSystem, version, excludedOsesAndVersions):
continue

# Prior to CLI v2.15.1, ARM runners were not supported by the build tracer.
# "macos-latest" is now an ARM runner, so we run tests on the old CLIs on Intel runners instead.
if version in ["stable-20230403", "stable-v2.13.4", "stable-v2.13.5", "stable-v2.14.6"] and runnerImage == "macos-latest":
matrix.append({
'os': "macos-12",
'version': version
})
else:
matrix.append({
'os': runnerImage,
'version': version
})

useAllPlatformBundle = "false" # Default to false
if checkSpecification.get('useAllPlatformBundle'):
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy