Skip to content

fix: Local cache mutation build error in Swift 6 #1251

fix: Local cache mutation build error in Swift 6

fix: Local cache mutation build error in Swift 6 #1251

Triggered via pull request July 5, 2024 00:38
Status Failure
Total duration 8m 50s
Artifacts 9

ci-tests.yml

on: pull_request
changes
6s
changes
Codegen Test Configurations - macOS
7m 8s
Codegen Test Configurations - macOS
Cocoapods Integration Tests - macOS
12s
Cocoapods Integration Tests - macOS
Matrix: Run swift build for SPM packages
Run Tuist Generation
3m 7s
Run Tuist Generation
Verify Frontend Bundle Latest - macOS
23s
Verify Frontend Bundle Latest - macOS
Verify CLI Binary Archive - macOS
9s
Verify CLI Binary Archive - macOS
Apollo Integration Tests - macOS
4m 28s
Apollo Integration Tests - macOS
Matrix: build-and-unit-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 36 warnings, and 12 notices
Apollo Unit Tests - macOS
testCancellingTaskThroughClientDoesNotCallCompletion on 'My Mac - xctest (5642)' (0.000 seconds)
Apollo Unit Tests - macOS
Process completed with exit code 65.
changes
The following actions uses Node.js version which is deprecated and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Cocoapods Integration Tests - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Verify CLI Binary Archive - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run swift build for SPM packages (apollo-ios)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run swift build for SPM packages (apollo-ios-codegen)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run swift build for SPM packages (apollo-ios-pagination)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Verify Frontend Bundle Latest - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run Tuist Generation
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Codegen CLI Unit Tests - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Codegen CLI Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
ApolloPagination Unit Tests - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ApolloPagination Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
Codegen Test Configurations - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Apollo Integration Tests - macOS
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Codegen Lib Unit Tests - macOS: Tests/ApolloCodegenTests/CodeGeneration/Templates/SelectionSet/SelectionSetTemplateTests.swift#L7709
need more tests here - same test cases as IRRootFieldBuilderTests (inline fragment only
Codegen Lib Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
Apollo Unit Tests - macOS: Tests/ApolloTests/GraphQLMapEncodingTests.swift#L7
TODO: Do we refactor these for [String: InputValue] or delete them?
Apollo Unit Tests - macOS: Tests/ApolloTests/RequestBodyCreatorTests.swift#L99
TODO: Test generated input objects converted to variables correctly.
Apollo Unit Tests - macOS: Tests/ApolloTests/WebSocket/GraphqlTransportWsProtocolTests.swift#L7
When SubscriptionAPI target is regenerated and compiles then decide what to do here
Apollo Unit Tests - macOS: Tests/ApolloTests/WebSocket/GraphqlWsProtocolTests.swift#L7
When SubscriptionAPI target is regenerated and compiles then decide what to do here
Apollo Unit Tests - macOS: Tests/ApolloTests/WebSocket/WSProtocolTestsBase.swift#L8
When SubscriptionAPI target is regenerated and compiles then decide what to do here
Apollo Unit Tests - macOS: Tests/ApolloTests/AutomaticPersistedQueriesTests.swift#L187
TODO: write test to test this case actually happens
Apollo Unit Tests - macOS: Tests/ApolloTests/RequestBodyCreatorTests.swift#L99
TODO: Test generated input objects converted to variables correctly.
Apollo Unit Tests - macOS: Tests/ApolloTests/RequestChainTests.swift#L876
code after 'throw' will never be executed
Apollo Unit Tests - macOS: Tests/ApolloTests/WebSocket/GraphqlTransportWsProtocolTests.swift#L7
When SubscriptionAPI target is regenerated and compiles then decide what to do here
Apollo Unit Tests - macOS: Tests/ApolloTests/WebSocket/GraphqlWsProtocolTests.swift#L7
When SubscriptionAPI target is regenerated and compiles then decide what to do here
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "ApolloPagination Unit Tests - macOS-logs", "ApolloPagination Unit Tests - macOS-results", "Codegen CLI Unit Tests - macOS-logs", "Codegen CLI Unit Tests - macOS-results", "Codegen Lib Unit Tests - macOS-logs", "Codegen Lib Unit Tests - macOS-results", "macOS-Integration-crashes", "macOS-Integration-logs", "macOS-Integration-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Apollo Integration Tests - macOS
testDownloadingSchema_fromSchemaRegistry_shouldOutputSDL on 'My Mac - xctest (7011)' (0.013 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithDeferredInlineFragment_generatesDeferredPropertyTrue on 'My Mac - xctest (5982)' (0.012 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithDeferredNamedFragment_generatesDeferredPropertyTrue on 'My Mac - xctest (5982)' (0.009 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithNamedFragment_withDeferredTypeCase_generatesDeferredPropertyTrue on 'My Mac - xctest (5982)' (0.006 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnDifferentTypeCase_rendersRootEntityType on 'My Mac - xctest (5982)' (0.003 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnSameTypeCase_rendersRootEntityType on 'My Mac - xctest (5982)' (0.007 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentWithoutTypeCase_rendersRootEntityType on 'My Mac - xctest (5982)' (0.005 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5982)' (0.004 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnSameTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5982)' (0.005 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentWithoutTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5982)' (0.005 seconds)
Codegen Lib Unit Tests - macOS
test__render_fragmentAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersDeferredFragmentAccessorAsOptional on 'My Mac - xctest (5982)' (0.008 seconds)
Apollo Unit Tests - macOS
test__memory_management__givenOperation_withEarlyAndFinalInterceptorChainExit_shouldNotHaveRetainCycle_andShouldNotCrash on 'My Mac - xctest (5642)' (0.016 seconds)

Artifacts

Produced during runtime
Name Size
ApolloPagination Unit Tests - macOS-logs Expired
263 KB
ApolloPagination Unit Tests - macOS-results Expired
239 KB
Codegen CLI Unit Tests - macOS-logs Expired
358 KB
Codegen CLI Unit Tests - macOS-results Expired
274 KB
Codegen Lib Unit Tests - macOS-logs Expired
393 KB
Codegen Lib Unit Tests - macOS-results Expired
1020 KB
macOS-Integration-crashes Expired
1011 Bytes
macOS-Integration-logs Expired
404 KB
macOS-Integration-results Expired
385 KB