CI: split test_libraries into per-package parallel jobs (Phase 1)#43
Open
bzajzon-laserfiche wants to merge 1 commit into
Open
CI: split test_libraries into per-package parallel jobs (Phase 1)#43bzajzon-laserfiche wants to merge 1 commit into
bzajzon-laserfiche wants to merge 1 commit into
Conversation
Replaces the single sequential test_libraries job with eight per-package
jobs that fan out from build_libraries in parallel:
test_lf_js_utils
test_lf_api_client_core_cloud
test_lf_api_client_core_self_hosted
test_v1_cloud
test_v1_self_hosted
test_v2_node
test_v2_browser
test_lf_api_js
A failure in one package no longer blocks any other package's tests
from running, so e.g. an OAuth flake in lf-api-client-core or a
self-hosted-secret regression in V1 doesn't gate V2 cloud coverage.
Each job runs the same checkout/install/build prelude as the previous
test_libraries job; artifact-sharing optimization is deferred. Test
report names are disambiguated where two jobs share a package
("Client Core (cloud)", "Api Client v1 (self-hosted)", etc.).
Downstream needs: arrays in build_documentation, publish-all-preview-
packages, publish-updated-production-packages, and publish_documentation
are updated to reference the new job names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work item: #657996
Phase 1 of the CI decoupling: replaces the monolithic
test_librariesjob with eight per-package jobs that fan out frombuild_librariesin parallel. A failure in one package no longer blocks any other package's tests.New jobs:
test_lf_js_utils,test_lf_api_client_core_cloud,test_lf_api_client_core_self_hosted,test_v1_cloud,test_v1_self_hosted,test_v2_node,test_v2_browser,test_lf_api_js.Phase 2 (
continue-on-error: trueon self-hosted jobs + branch-protection update) lands in a follow-up.