Skip to content

fix: lazy cross-module annotation imports in generated Python code #11118

fix: lazy cross-module annotation imports in generated Python code

fix: lazy cross-module annotation imports in generated Python code #11118

Triggered via pull request June 1, 2026 20:31
Status Cancelled
Total duration 1h 29m 54s
Artifacts 2

main.yml

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

Annotations

23 errors, 44 warnings, and 1 notice
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Test (baseline)
The run was canceled by @dgandhi62.
Test (Go 1.25)
The run was canceled by @dgandhi62.
Test (Node 22)
The run was canceled by @dgandhi62.
Test (Node 20)
The run was canceled by @dgandhi62.
pacmak-integration-test (5.9.x)
The run was canceled by @dgandhi62.
Test (.NET 10.0)
The run was canceled by @dgandhi62.
Test (.NET 8.0)
The run was canceled by @dgandhi62.
Test (Python 3.13)
The run was canceled by @dgandhi62.
Test (Go 1.26)
The run was canceled by @dgandhi62.
Test (.NET 9.0)
The run was canceled by @dgandhi62.
Test (Python 3.11)
The run was canceled by @dgandhi62.
Test (Python 3.10)
The run was canceled by @dgandhi62.
Test (.NET 7.0)
The run was canceled by @dgandhi62.
pacmak-integration-test (latest)
The run was canceled by @dgandhi62.
Test (Python 3.12)
The run was canceled by @dgandhi62.
Test (Node 24)
The run was canceled by @dgandhi62.
Test (Python 3.14)
The run was canceled by @dgandhi62.
Test (Java 11)
The run was canceled by @dgandhi62.
Main
The run was canceled by @dgandhi62.
Unit Tests
Process completed with exit code 1.
Integration test (jsii-pacmak)
Process completed with exit code 1.
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
Prefer 'IsKind' for checking syntax kinds
Create Release Package
Prefer 'IsKind' for checking syntax kinds
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
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
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
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
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
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 (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)
Prefer 'IsKind' for checking syntax kinds
Test (Windows)
Prefer 'IsKind' for checking syntax kinds
Test (Windows)
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 (Windows)
'Amazon.JSII.Analyzers.JsiiOptionalAnalyzer': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
Test (Windows)
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 (Windows)
Argument type 'AnalysisContext' is not CLS-compliant
Test (Windows)
Type of 'JsiiOptionalAnalyzer.SupportedDiagnostics' is not CLS-compliant
Test (Windows)
'JsiiOptionalAnalyzer': base type 'DiagnosticAnalyzer' is not CLS-compliant
Test (Windows)
Arrays as attribute arguments is not CLS-compliant
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.6 MB
sha256:a80b56207614cea674ee4cb6924a235d1111b4b8509f2f8069ba33e86995784c
release-package
4.97 MB
sha256:a70c9ff05509d082b59ec59d30ac3522ad32f0296e8a59c35bef172cae1c2752