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

Workflow failure on windows-latest: Dotnet Filename too long #1322

Closed
guineveresaenger opened this issue Jan 27, 2025 · 1 comment · Fixed by #1323
Closed

Workflow failure on windows-latest: Dotnet Filename too long #1322

guineveresaenger opened this issue Jan 27, 2025 · 1 comment · Fixed by #1323
Assignees
Labels
kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed

Comments

@guineveresaenger
Copy link
Contributor

guineveresaenger commented Jan 27, 2025

When running the "Checking out the ref" stage of the Verify Provider Release Action, the Workflow fails with the following error:

Error: error: unable to create file sdk/dotnet/DataLoss/Inputs/PreventionDeidentifyTemplateDeidentifyConfigRecordTransformationsFieldTransformationInfoTypeTransformationsTransformationPrimitiveTransformationCryptoDeterministicConfigSurrogateInfoTypeSensitivityScoreArgs.cs: Filename too long

Failed run: https://github.com/pulumi/pulumi-gcp/actions/runs/12996285032/job/36244755521
PR with example: pulumi/pulumi-gcp#2905

More context here: actions/checkout#242 - the solution is to configure git to allow longPaths.

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Jan 27, 2025
@guineveresaenger guineveresaenger changed the title Workflow failure: Dotnet Filename too long Workflow failure on windows-latest: Dotnet Filename too long Jan 27, 2025
@guineveresaenger guineveresaenger transferred this issue from pulumi/verify-provider-release Jan 27, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 27, 2025
On windows Action runners, the actions/checkout action needs extra
configuration to be able to handle long file names.

This pull request adds this setting for the release-verification job,
which uses both Linux and Windows runners.

While this was discovered while trying to enact release verification for
pulumi-gcp, as it is just a configuration setting it's probably worth it
to enable nonconditionally (on every provider) so we don't have to
re-discover that we need to twist this knob when we enable release
verification elsewhere.

Fixes #1322
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Jan 27, 2025
@pulumi-bot pulumi-bot reopened this Jan 27, 2025
@pulumi-bot
Copy link

Cannot close issue:

  • does not have required labels: kind/

Please fix these problems and try again.

@guineveresaenger guineveresaenger added kind/engineering Work that is not visible to an external user and removed needs-triage Needs attention from the triage team labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/engineering Work that is not visible to an external user resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants