Repository navigation
perf(ci): partition Mac tests and admit long jobs first - #134847
Conversation
Co-authored-by: Vincent Koc <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
I am leaving #134710 and its branch unchanged while the focused replacements land. The existing native Swift ordering proof and CI/cache evidence remain available in that PR. The shared UI blocker has moved: untouched current main I have refreshed #134734 onto that checkpoint for native acceptance. The separately prepared lazy-translation shrink is parked because current main already passes; it is not a prerequisite for these CI changes. |
|
Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 1:19 AM ET / 05:19 UTC. ClawSweeper reviewWhat this changesThis branch partitions macOS CI tests into three jobs, schedules longer Node test jobs first, and expands the Swift build-cache input inventory with matching tests and documentation. Merge readinessKeep open: the branch still supplies CI scheduling and cache-input behavior absent from current main, and source review found no introduced functional defect. Exact-head GitHub Actions execution remains the material merge gate. Priority: P2 Review scores
Verification
How this fits togetherThe CI workflow turns package test scripts and test-plan metadata into runner matrices. Those matrices determine which macOS and Node checks run, in what order, while the Swift metadata determines when native build outputs can be safely reused. flowchart LR
A[Package test scripts] --> B[CI workflow matrix]
C[Test-plan metadata] --> B
B --> D[Longer jobs admitted first]
B --> E[Three macOS test jobs]
F[Swift source inputs] --> G[Cache validity metadata]
G --> H[Native build reuse]
D --> I[CI results]
E --> I
Before merge
Agent review detailsSecurityNone. PR surfaceTests +161, Docs +18, Config +19, Other +21. Total +219 across 20 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Run and inspect exact-head CI, confirming the three macOS partitions, preserved fallback behavior, and duration-ordered Node matrix before merge. Do we have a high-confidence way to reproduce the issue? Not applicable: this is CI scheduling and build-cache maintenance rather than a reported end-user defect. Is this the best way to solve the issue? Yes: the implementation preserves the prior macOS fallback, verifies partition completeness in tests, and keeps cache invalidation at the metadata owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b386a5fb5f75. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
) Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Vincent Koc <[email protected]>
Related: #134710
What Problem This Solves
Broad CI admits shorter work before several long Mac and plugin jobs, and the Swift build cache omits local inputs that can force avoidable recompilation.
Why This Change Was Made
This preserves Peter Steinberger’s reviewed CI patch as a maintainer-owned replacement after the contributor branch ancestry was replaced and later acquired unrelated macOS test stabilization. It partitions Mac test ownership, admits longer estimated jobs first, and completes the Swift cache input inventory without including the stabilization change.
User Impact
Developers should receive earlier results from the longest existing CI jobs. Application behavior is unchanged.
Evidence
cd77fe7b4ee09b3323c2fdc66f2ee714154ae6c4CI delta.actionlint, changed-file formatting, docs inventory, generated CI Git owner, composite-action interpolation, conflict-marker, dependency, SDK surface, plugin-boundary, wrapper, patch, script erasability, and UI i18n checks passed.tsgo:scriptspassed after materializing sparse dependencies.tsgo:test:rootis blocked by the shared source install resolving pre-current-main Telegram dependency types; repository policy forbids reconciling dependencies inside this worktree.348433 Bin54183c0c; this refreshed head passesbuild-artifacts. This pull request does not change UI assets, budgets, or thresholds.Authorship
Peter Steinberger is the commit author. Vincent Koc is the signing committer and co-author.