Skip to content

ci(compile): [perf] speed up /compile - #59375

Open
joshtrichards wants to merge 2 commits into
masterfrom
jtr/ci-cmd-compile-shallow-perf
Open

ci(compile): [perf] speed up /compile#59375
joshtrichards wants to merge 2 commits into
masterfrom
jtr/ci-cmd-compile-shallow-perf

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Apr 1, 2026

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

Checkout (fetch-depth: 0) currently takes ~5m. This PR adds a conditional fetch-depth (shallow default + unshallow for rebase).

This should improve /compile performance significantly under non-rebase scenarios.

Path Current Estimated
default ~5m ~30s
amend ~5m ~30s
rebase ~5m ~5m

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…ve broken git cache

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards
joshtrichards marked this pull request as ready for review April 1, 2026 13:23
@joshtrichards
joshtrichards requested a review from a team as a code owner April 1, 2026 13:23
@joshtrichards
joshtrichards requested review from artonge, icewind1991, leftybournes and salmart-dev and removed request for a team April 1, 2026 13:23
@joshtrichards joshtrichards added the 3. to review Waiting for reviews label Apr 1, 2026

@provokateurin provokateurin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be adjusted in https://github.com/nextcloud/.github/blob/master/workflow-templates/command-compile.yml and then we sync it to server.

@susnux susnux added the community pull requests from community label Jun 9, 2026
@susnux susnux added this to the Nextcloud 35 milestone Jun 9, 2026
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews CI community pull requests from community developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants