Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary workaround for "subtree" checkout errors on Windows #383

Merged
merged 1 commit into from
May 16, 2023

Conversation

kaidokert
Copy link
Member

@kaidokert kaidokert commented May 16, 2023

This switches Windows workers, which are not yet ephemeral to use a patched version of checkouts.

This guarantees always cleaning up repo state even in case of previous bad submodules-like repo operations done by a previous run.

In the long run, we should be using ephemeral workers, and switch to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

b/282361986
@kaidokert kaidokert merged commit 3c24834 into youtube:main May 16, 2023
287 checks passed
@kaidokert kaidokert added the cp-23.lts.1+ Cherry Pick to the 23.lts.1+ branch label May 16, 2023
cobalt-github-releaser-bot pushed a commit that referenced this pull request May 16, 2023
This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)
kaidokert added a commit that referenced this pull request May 16, 2023
…386)

This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)

Co-authored-by: Kert <kaidokert@google.com>
kaidokert added a commit to kaidokert/cobalt that referenced this pull request May 18, 2023
This uses the patched workaround version of checkout action to
sidestep submodules issues. In original PR youtube#383 we only fixed
Windows workflows that had issues due to peristent runners, but
similar problems also trip on Linux/other builds.

b/282361986
kaidokert added a commit to kaidokert/cobalt that referenced this pull request May 18, 2023
This uses the patched workaround version of checkout action to
sidestep submodules issues. In original PR youtube#383 we only fixed
Windows workflows that had issues due to persistent runners, but
similar problems also trip on Linux/other builds.

b/282361986
kaidokert added a commit that referenced this pull request May 18, 2023
This uses the patched workaround version of checkout action to
sidestep submodules issues. In original PR #383 we only fixed
Windows workflows that had issues due to persistent runners, but
similar problems also trip on Linux/other builds.

b/282361986
sherryzy pushed a commit to sherryzy/cobalt that referenced this pull request May 18, 2023
This uses the patched workaround version of checkout action to
sidestep submodules issues. In original PR youtube#383 we only fixed
Windows workflows that had issues due to persistent runners, but
similar problems also trip on Linux/other builds.

b/282361986
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-23.lts.1+ Cherry Pick to the 23.lts.1+ branch
Projects
None yet
3 participants