Skip to content

Error creating blob for some files #3577

Closed

Description

@tangrufus

On the same job, some blobs are created for certain files but not all.

Create or update the pull request branch
  /usr/bin/git symbolic-ref HEAD --short
  main
  Working base is branch 'main'
  /usr/bin/git checkout --progress -B 6b59eeb1-d933-42d4-a4f2-7b330fabcb49 HEAD --
  M	"tests/.pest/snapshots/E2E/Console/CommandTest/_TypistTech_PhpMatrix_Console_Command__\342\206\222_it_success_with_data_set_____7_3_1____________auto_______full_______7_3_1_________auto____full__.snap"


// ...

Creating tree objects for local commit ce4063d1922ccfd6c2573e7a7139553116777ef6
  Error: Error creating blob for file '"tests/.pest/snapshots/E2E/Console/CommandTest/_TypistTech_PhpMatrix_Console_Command__\342\206\222_it_success_with_data_set_____7_3_1____________auto_______full_______7_3_1_________auto____full__.snap"': ENOENT: no such file or directory, lstat '/home/runner/work/php-matrix/php-matrix/"tests/.pest/snapshots/E2E/Console/CommandTest/

// ...

Creating tree object for blob at 'resources/all-versions.json' with status 'M'
Creating tree object for blob at 'tests/data/releases-8.json' with status 'M'

Example: https://github.com/typisttech/php-matrix/actions/runs/12451384164/job/34759263479#step:7:539

On the same repo, another job successfully created the PR with a very similar setup. See: https://github.com/typisttech/php-matrix/actions/runs/12451464051/job/34759436280

Is there anything I can do to debug the issue?

Activity

  1. changed the title [-]Error creating blob for some files.[/-] [+]Error creating blob for some files[/+] on Dec 22, 2024
  2. peter-evans commented on Dec 27, 2024

    @peter-evans
    Owner

    Hi @tangrufus

    Thank you for opening this issue. I'll take a look at this when I have chance. My guess is that those long, strange looking file names are causing an issue.

  3. peter-evans commented on Dec 27, 2024

    @peter-evans
    Owner

    I think I've figured out the issue and I'm making a fix for it. When using sign-commits, unicode is not correctly preserved in filepaths.

  4. peter-evans commented on Dec 27, 2024

    @peter-evans
    Owner

    Released a fix in v7.0.6 / v7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions