Skip to content

Sync eng/common directory with azure-sdk-tools for PR 16644 - #7283

Open
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sync-eng-common-perf/regen-shallow-checkout-16644
Open

Sync eng/common directory with azure-sdk-tools for PR 16644#7283
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sync-eng-common-perf/regen-shallow-checkout-16644

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#16644 See eng/common workflow

Wei Hu (live1206) and others added 2 commits August 4, 2026 06:14
The regeneration jobs do not read repository history. Fetch only the checked-out
commit and skip tags to reduce checkout time and aggregate agent consumption.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 03:32
@azure-sdk-automation
azure-sdk-automation Bot requested a review from a team as a code owner August 5, 2026 03:32
@azure-sdk-automation azure-sdk-automation Bot added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the TypeSpec emitter pipeline archetype to perform shallow, tagless repository checkouts to reduce fetch time and network usage during regeneration/publishing jobs.

Changes:

  • Configure checkout: self to use fetchDepth: 1 and fetchTags: false in the Initialize job.
  • Configure checkout: self to use fetchDepth: 1 and fetchTags: false in the emitter-related job checkout.

Comment on lines +306 to +311
# Regeneration does not read repository history, so fetch only the
# checked-out commit. git-branch-push.ps1's retry path diffs the branch
# tip against its parent, which stays inside the depth-1 boundary.
- checkout: self
fetchDepth: 1
fetchTags: false
Comment on lines 406 to +408
- checkout: self
fetchDepth: 1
fetchTags: false
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
8 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants