Skip to content

CI: split test_libraries into per-package parallel jobs (Phase 1)#43

Open
bzajzon-laserfiche wants to merge 1 commit into
mainfrom
ci/split-test-libraries
Open

CI: split test_libraries into per-package parallel jobs (Phase 1)#43
bzajzon-laserfiche wants to merge 1 commit into
mainfrom
ci/split-test-libraries

Conversation

@bzajzon-laserfiche
Copy link
Copy Markdown
Contributor

@bzajzon-laserfiche bzajzon-laserfiche commented May 2, 2026

Work item: #657996

Phase 1 of the CI decoupling: replaces the monolithic test_libraries job with eight per-package jobs that fan out from build_libraries in 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: true on self-hosted jobs + branch-protection update) lands in a follow-up.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant