Skip to content

The agent that grows with you

perf(release): blobless history for release checkouts

ethernet1ca75fe47268
diff --git a/.github/workflows/desktop-bundled-release.yml b/.github/workflows/desktop-bundled-release.yml
index 8492555259b..e4d5dfd6dff 100644
--- a/.github/workflows/desktop-bundled-release.yml
+++ b/.github/workflows/desktop-bundled-release.yml
@@ -270,6 +270,7 @@ jobs:
# so it can't see the branch that actually carries build_commit.
# Tag admission runs merge-base against origin/main and needs tags.
fetch-depth: 0
+ filter: blob:none
fetch-tags: true
- name: Print the release.py command for this run
@@ -514,6 +515,7 @@ jobs:
with:
ref: ${{ needs.validate.outputs.sha }}
fetch-depth: ${{ (inputs.build_commit != '' || needs.validate.outputs.channel-build != '') && 1 || 0 }}
+ filter: blob:none
fetch-tags: ${{ inputs.build_commit == '' && needs.validate.outputs.channel-build == '' }}
- name: Check out trusted channel controller
@@ -898,6 +900,7 @@ jobs:
# Channel/commit builds derive versions from the request/env, not
# git tags; tag builds need tags for the canary MSIX number.
fetch-depth: ${{ (inputs.build_commit != '' || needs.validate.outputs.channel-build != '') && 1 || 0 }}
+ filter: blob:none
fetch-tags: ${{ inputs.build_commit == '' && needs.validate.outputs.channel-build == '' }}
- name: Check out trusted channel controller
@@ -1272,6 +1275,7 @@ jobs:
ref: ${{ needs.validate.outputs.sha }}
# Claim custody is re-checked in place: full history and the tags.
fetch-depth: 0
+ filter: blob:none
fetch-tags: true
- uses: ./.github/actions/setup-pm
with:
@@ -1306,6 +1310,7 @@ jobs:
ref: ${{ needs.validate.outputs.sha }}
# Claim custody is re-checked in place: full history and the tags.
fetch-depth: 0
+ filter: blob:none
fetch-tags: true
- uses: ./.github/actions/setup-pm
with:
@@ -1500,6 +1505,7 @@ jobs:
# object + release-line ancestry). A canary's version is the stamp in its
# tag name, and channel/commit builds take theirs from the request/env.
fetch-depth: ${{ inputs.release-phase != 'candidate' && 1 || 0 }}
+ filter: blob:none
fetch-tags: ${{ inputs.release-phase == 'candidate' }}
- name: Retrieve pinned channel request
@@ -1682,6 +1688,7 @@ jobs:
# require_pushed proves commit-build ancestry from local history;
# a shallow clone fails after main advances past the built SHA.
fetch-depth: 0
+ filter: blob:none
- name: Publish tested disposable receiver without promoting T
if: needs.validate.outputs.receiver-candidate == 'true'
run: python -m scripts.releases.channel_publish receiver-publish --root "$RUNNER_TEMP/channel-publish"
@@ -1873,6 +1880,7 @@ jobs:
ref: ${{ needs.validate.outputs.sha }}
# Commit builds only rev-parse HEAD; tag builds verify ancestry.
fetch-depth: ${{ inputs.build_commit != '' && 1 || 0 }}
+ filter: blob:none
fetch-tags: ${{ inputs.build_commit == '' }}
- name: Set up the locked build toolchain
@@ -2333,6 +2341,7 @@ jobs:
# Runs from the admitted commit so the renderer matches the built bytes.
ref: ${{ needs.validate.outputs.sha }}
fetch-depth: 0
+ filter: blob:none
- name: Render the full expected-binary matrix
env:
HERMES_BUNDLE_ENV_JSON: ${{ inputs.bundle_env }}
@@ -2365,6 +2374,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- name: Publish the post-build commit receipt
env:
BUILD_COMMIT: ${{ needs.validate.outputs.sha }}
@@ -2552,6 +2562,7 @@ jobs:
with:
ref: ${{ needs.validate.outputs.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false
diff --git a/.github/workflows/stable-release-publication.yml b/.github/workflows/stable-release-publication.yml
index ad50c874ade..a54209d184d 100644
--- a/.github/workflows/stable-release-publication.yml
+++ b/.github/workflows/stable-release-publication.yml
@@ -40,6 +40,7 @@ jobs:
with:
ref: ${{ github.event.repository.default_branch }}
fetch-depth: 0
+ filter: blob:none
persist-credentials: false
- uses: ./.github/actions/setup-pm
with:
diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml
index 0dabed97529..6344ddd8cbf 100644
--- a/.github/workflows/stable-release.yml
+++ b/.github/workflows/stable-release.yml
@@ -57,6 +57,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false
@@ -305,6 +306,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false
@@ -340,6 +342,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false
@@ -375,6 +378,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false
@@ -425,6 +429,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
fetch-tags: true
- uses: ./.github/actions/setup-pm
with:
@@ -615,6 +620,7 @@ jobs:
with:
ref: ${{ github.sha }}
fetch-depth: 0
+ filter: blob:none
- uses: ./.github/actions/setup-pm
with:
cache-python: false