Repository navigation
Stabilize Code Sync submodule packaging in Clone commit and package job - #79802
Draft
XieYunshen with Copilot wants to merge 3 commits into
Draft
XieYunshen with Copilot wants to merge 3 commits into
XieYunshen with Copilot wants to merge 3 commits into
Conversation
|
|
1 similar comment
|
|
Co-authored-by: XieYunshen <32428676+XieYunshen@users.noreply.github.com>
Co-authored-by: XieYunshen <32428676+XieYunshen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Clone commit and package
Stabilize Code Sync submodule packaging in Clone commit and package job
Sep 22, 2026
risemeup1111
approved these changes
Sep 22, 2026
This branch has not been deployed
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.
The
Clone commit and packageActions job regressed after switchingcode_sync.ymltoactions/checkoutrecursive submodule fetching. On the HongKong clone runner, submodule checkout failed during external fetches (zlib,cccl), causing the packaging stage to never run.Root cause
actions/checkoutwithsubmodules: recursivepushed all submodule cloning through checkout's built-in path, which proved fragile on this runner/network path.curl 28,early EOF, andinvalid index-pack output.Workflow change
submodules: recursivefrom the initial checkout in.github/workflows/code_sync.yml.Retry behavior
git submodule sync --recursivegit submodule update --init --force --recursive --depth 1git submodule deinit -f --all, clear.git/modules, then retry onceFail-fast hardening
set -euo pipefailto the retry step so a failed retry cannot fall through to tarball packaging with incomplete submodules.