Skip to content

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

fix: Local cache mutation build error in Swift 6

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

Triggered via pull request July 5, 2024 00:25
Status Success
Total duration 8m 1s
Artifacts 11

ci-tests.yml

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

Annotations

37 warnings and 12 notices
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 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/
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.
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/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/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
Apollo Unit Tests - macOS
No files were found with the provided path: ~/Library/Logs/DiagnosticReports. No artifacts will be uploaded.
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.
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/
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: "Apollo Unit Tests - macOS-logs", "Apollo Unit Tests - macOS-results", "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/
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
test__memory_management__givenOperation_withEarlyAndFinalInterceptorChainExit_shouldNotHaveRetainCycle_andShouldNotCrash on 'My Mac - xctest (5349)' (0.008 seconds)
Apollo Integration Tests - macOS
testDownloadingSchema_fromSchemaRegistry_shouldOutputSDL on 'My Mac - xctest (8320)' (0.004 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithDeferredInlineFragment_generatesDeferredPropertyTrue on 'My Mac - xctest (5912)' (0.015 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithDeferredNamedFragment_generatesDeferredPropertyTrue on 'My Mac - xctest (5912)' (0.011 seconds)
Codegen Lib Unit Tests - macOS
test__generate__givenQueryWithNamedFragment_withDeferredTypeCase_generatesDeferredPropertyTrue on 'My Mac - xctest (5912)' (0.003 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnDifferentTypeCase_rendersRootEntityType on 'My Mac - xctest (5912)' (0.003 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentOnSameTypeCase_rendersRootEntityType on 'My Mac - xctest (5912)' (0.009 seconds)
Codegen Lib Unit Tests - macOS
test__render_deferredTypeCase__givenDeferredInlineFragmentWithoutTypeCase_rendersRootEntityType on 'My Mac - xctest (5912)' (0.003 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5912)' (0.003 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentOnSameTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5912)' (0.006 seconds)
Codegen Lib Unit Tests - macOS
test__render_fieldAccessor__givenDeferredInlineFragmentWithoutTypeCase_rendersFieldsWithinDeferredTypeCase on 'My Mac - xctest (5912)' (0.009 seconds)
Codegen Lib Unit Tests - macOS
test__render_fragmentAccessor__givenDeferredInlineFragmentOnDifferentTypeCase_rendersDeferredFragmentAccessorAsOptional on 'My Mac - xctest (5912)' (0.004 seconds)

Artifacts

Produced during runtime
Name Size
Apollo Unit Tests - macOS-logs Expired
295 KB
Apollo Unit Tests - macOS-results Expired
628 KB
ApolloPagination Unit Tests - macOS-logs Expired
264 KB
ApolloPagination Unit Tests - macOS-results Expired
211 KB
Codegen CLI Unit Tests - macOS-logs Expired
354 KB
Codegen CLI Unit Tests - macOS-results Expired
263 KB
Codegen Lib Unit Tests - macOS-logs Expired
392 KB
Codegen Lib Unit Tests - macOS-results Expired
1010 KB
macOS-Integration-crashes Expired
1011 Bytes
macOS-Integration-logs Expired
401 KB
macOS-Integration-results Expired
364 KB