Skip to content

fix: centralize and lazy-load typeguard to improve Python import times #11120

fix: centralize and lazy-load typeguard to improve Python import times

fix: centralize and lazy-load typeguard to improve Python import times #11120

Triggered via pull request June 1, 2026 21:20
Status Success
Total duration 1h 8m 12s
Artifacts 2

main.yml

on: pull_request
Matrix: pacmak-integration-test
Matrix: test
Integration test (jsii-pacmak)
3s
Integration test (jsii-pacmak)
Unit Tests
4s
Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 85 warnings, and 1 notice
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Build
Arrays as attribute arguments is not CLS-compliant
Build
Prefer 'IsKind' for checking syntax kinds
Build
Prefer 'IsKind' for checking syntax kinds
Build
'Amazon.JSII.Analyzers.JsiiOptionalAnalyzer': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
Build
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
Build
Rule 'JSII001' has a changed 'Category' or 'Severity' from the last release. Either revert the update(s) in source or add a new up-to-date entry to unshipped release file. (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Build
Argument type 'AnalysisContext' is not CLS-compliant
Build
Type of 'JsiiOptionalAnalyzer.SupportedDiagnostics' is not CLS-compliant
Build
'JsiiOptionalAnalyzer': base type 'DiagnosticAnalyzer' is not CLS-compliant
Build
Arrays as attribute arguments is not CLS-compliant
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Create Release Package
Arrays as attribute arguments is not CLS-compliant
Create Release Package
Prefer 'IsKind' for checking syntax kinds
Create Release Package
Prefer 'IsKind' for checking syntax kinds
Create Release Package
Rule 'JSII001' has a changed 'Category' or 'Severity' from the last release. Either revert the update(s) in source or add a new up-to-date entry to unshipped release file. (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Create Release Package
'Amazon.JSII.Analyzers.JsiiOptionalAnalyzer': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
Create Release Package
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
Create Release Package
Argument type 'AnalysisContext' is not CLS-compliant
Create Release Package
Type of 'JsiiOptionalAnalyzer.SupportedDiagnostics' is not CLS-compliant
Create Release Package
'JsiiOptionalAnalyzer': base type 'DiagnosticAnalyzer' is not CLS-compliant
Create Release Package
Arrays as attribute arguments is not CLS-compliant
Create Release Package
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.11)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Python 3.11)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Python 3.11)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Node 24)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Node 24)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Node 24)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.12)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Python 3.12)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Python 3.12)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.13)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Python 3.13)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Python 3.13)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Node 22)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Node 22)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Node 22)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.14)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Python 3.14)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Python 3.14)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (.NET 9.0)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (.NET 9.0)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (.NET 9.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (baseline)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (baseline)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (baseline)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (.NET 7.0)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (.NET 7.0)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (.NET 7.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Java 11)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Java 11)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Java 11)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.10)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Python 3.10)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Python 3.10)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (macOS)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (macOS)
Prefer 'IsKind' for checking syntax kinds
Test (macOS)
Prefer 'IsKind' for checking syntax kinds
Test (macOS)
Rule 'JSII001' has a changed 'Category' or 'Severity' from the last release. Either revert the update(s) in source or add a new up-to-date entry to unshipped release file. (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Test (macOS)
'Amazon.JSII.Analyzers.JsiiOptionalAnalyzer': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
Test (macOS)
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
Test (macOS)
Argument type 'AnalysisContext' is not CLS-compliant
Test (macOS)
Type of 'JsiiOptionalAnalyzer.SupportedDiagnostics' is not CLS-compliant
Test (macOS)
'JsiiOptionalAnalyzer': base type 'DiagnosticAnalyzer' is not CLS-compliant
Test (macOS)
Arrays as attribute arguments is not CLS-compliant
Test (macOS)
Restore cache failed: Dependencies file is not found in /Users/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Node 20)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Node 20)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Node 20)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (.NET 8.0)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (.NET 8.0)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (.NET 8.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Go 1.25)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Go 1.25)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Go 1.25)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Go 1.26)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (Go 1.26)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Go 1.26)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (.NET 10.0)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId
Test (.NET 10.0)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (.NET 10.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
pacmak-integration-test (5.9.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
pacmak-integration-test (latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Windows)
'IStringable._Proxy.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Test (Windows)
Restore cache failed: Dependencies file is not found in D:\a\jsii\jsii. Supported file pattern: go.mod
Test (Windows)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
built-tree
43.5 MB
sha256:06dbae81ca2e08aef9e8a2d6349d23f8bdd9ef3e49d6cc9a7423a5d73d9691b1
release-package
4.98 MB
sha256:56896de594b531bd5bb28175eef529490dde57621871e9e6bc9d125726e5453e