Skip to content

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

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

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

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

main.yml

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

Annotations

41 errors, 59 warnings, and 1 notice
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Test (macOS)
WARNING: Cache entry deserialization failed, entry ignored
Test (.NET 9.0)
The run was canceled by @dgandhi62.
Test (.NET 9.0)
The operation was canceled.
pacmak-integration-test (latest)
The run was canceled by @dgandhi62.
pacmak-integration-test (latest)
The operation was canceled.
Test (Node 24)
The run was canceled by @dgandhi62.
Test (Node 24)
The operation was canceled.
Test (baseline)
The run was canceled by @dgandhi62.
Test (baseline)
The operation was canceled.
Test (.NET 8.0)
The run was canceled by @dgandhi62.
Test (.NET 8.0)
The operation was canceled.
Test (.NET 10.0)
The run was canceled by @dgandhi62.
Test (.NET 10.0)
The operation was canceled.
pacmak-integration-test (5.9.x)
The run was canceled by @dgandhi62.
pacmak-integration-test (5.9.x)
The operation was canceled.
Test (Node 20)
The run was canceled by @dgandhi62.
Test (Node 20)
The operation was canceled.
Test (Go 1.25)
The run was canceled by @dgandhi62.
Test (Python 3.10)
The run was canceled by @dgandhi62.
Test (Python 3.10)
The operation was canceled.
Test (Go 1.25)
The operation was canceled.
Test (Node 22)
The run was canceled by @dgandhi62.
Test (Node 22)
The operation was canceled.
Test (Python 3.13)
The run was canceled by @dgandhi62.
Test (Python 3.13)
The operation was canceled.
Test (Java 11)
The run was canceled by @dgandhi62.
Test (Java 11)
The operation was canceled.
Test (Go 1.26)
The run was canceled by @dgandhi62.
Test (Go 1.26)
The operation was canceled.
Test (.NET 7.0)
The run was canceled by @dgandhi62.
Test (.NET 7.0)
The operation was canceled.
Test (Python 3.14)
The run was canceled by @dgandhi62.
Test (Python 3.14)
The operation was canceled.
Test (Python 3.12)
The run was canceled by @dgandhi62.
Test (Python 3.12)
The operation was canceled.
Test (Python 3.11)
The run was canceled by @dgandhi62.
Test (Python 3.11)
The operation was canceled.
Unit Tests
Process completed with exit code 1.
Integration test (jsii-pacmak)
Process completed with exit code 1.
Main
The run was canceled by @dgandhi62.
Build
'JsiiOptionalAnalyzer': base type 'DiagnosticAnalyzer' is not CLS-compliant
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
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
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
Arrays as attribute arguments is not CLS-compliant
Create Release Package
Prefer 'IsKind' for checking syntax kinds
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 (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)
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 (.NET 9.0)
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 (Node 24)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (baseline)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (.NET 8.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
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
Test (Node 20)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.10)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Go 1.25)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
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.13)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Java 11)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
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 7.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
Test (Python 3.14)
Restore cache failed: Dependencies file is not found in /home/runner/work/jsii/jsii. Supported file pattern: go.mod
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.11)
Restore cache failed: Dependencies file is not found in /home/runner/work/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:45f09194d9216f49102118cd401d82bead8977fe54ad712bf7e7cf22d8faf3a1
release-package
4.97 MB
sha256:350998852d66bb23f26884dd7f0e068fbe9c0e1999fea71e2670366c93cdc9ed