Repository navigation
perf(ci): Combine metadata collection and test planning - #26889
Merged
Merged
Conversation
Co-Authored-By: OpenAI Codex <codex@openai.com>
nicohrubec
force-pushed
the
feat/combine-ci-metadata-planning
branch
from
November 25, 2026 17:24
d3b9d8d to
54c6d53
Compare
Contributor
size-limit report 📦Compared: ed62f85 (PR test merge using develop at 6165592) Against: 99c8e16 (develop) · base run #68080
|
Contributor
Optional E2E testsAll optional checks were successful. 79 successful. See the run. Successful checks
|
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
nicohrubec
commented
Nov 26, 2026
| permissions: | ||
| pull-requests: read | ||
|
|
||
| job_get_test_matrix: |
Member
Author
There was a problem hiding this comment.
moves into ci-planning.yml
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
nicohrubec
commented
Nov 26, 2026
| @@ -0,0 +1,237 @@ | |||
| name: 'Plan CI jobs' | |||
Member
Author
There was a problem hiding this comment.
this is pretty much just what was before ci-metadata.yml + the test planning step moved here from build.yml
Co-Authored-By: OpenAI Codex <codex@openai.com>
nicohrubec
marked this pull request as ready for review
November 26, 2026 10:00
javascript-sdk-gitflow
Bot
requested review from
RulaKhaled,
andreiborza and
timfish
November 26, 2026 10:01
JPeer264
approved these changes
Nov 26, 2026
nicohrubec
pushed a commit
that referenced
this pull request
Nov 26, 2026
…ts (#26922) ## What `Plan CI jobs` checks out the PR base commit again before it computes affected Nx projects. It stops failing with `fatal: bad object <base.sha>`. ## Why #26889 moved planning into `ci-planning.yml`, and the base-commit checkout from the old test-matrix job didn't come along. The job now fetches only the merge commit at depth 2, so the affected-projects diff can't find the base for any PR whose merge-base isn't the current `develop` tip. That's most PRs once `develop` moves, for example #26904. This brings back the same step the other jobs in `build.yml` still use. <!-- junior-request-attribution:start --> via **Rola Abuhasna**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AD0C848BQ509%3A1795631065.014619 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AD0C848BQ509%3A1795631065.014619) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0C848BQ509%3A1795631065.014619/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Rola Abuhasna <rola.abuhasna@sentry.io>
51 tasks done
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.
What
flowchart LR subgraph before["Before"] direction TB B1[Metadata job] --> B2[Planning job] B2 --> B3[Test jobs] B1 --> B4[Central build] end subgraph after["After"] direction TB A1[Metadata and planning job] --> A2[Test jobs] A1 --> A3[Central build] end before ~~~ afterMost of the diff is just moving stuff around.
Why
Shorten the shared preparation path so test jobs can start earlier. The central build is not on the critical path so delaying this by a few seconds doesn't matter.
Before → after, using the same SDK code and matching manual triggers.