Skip to content

[BUG]: checkout virtual commit unexpected code execution #5301

@FrancescElies

Description

@FrancescElies

What happened?

To my knowledge the checkout task lives in this repo.

We had kind of an odd situation with this checkout step where the virtual merged commit 0e0ada60 executes code which doesn't exist.

0e0ada60 should run ruff check . see here instead we get an error further down in our pipeline that ruff . in unrecognized, see here ruff . doesn't exist in 0e0ada60.

Unless I missed something, it seems like the checkout step did not properly check out our code but something else.

Not sure if related, but despite of an error in the checkout the step is marked as successful.

Having git throw an error and having a green checkout doesn't seem right to me but please feel free to correct my assumptions.

This is the error, see here.

error: pathspec '.lfsconfig' did not match any file(s) known to git

What's going on?

Thanks

Versions

Agent name: 'Hosted Agent'
Agent machine name: 'runnervm4snjc'
Current agent version: '4.260.0'
Runner Image Provisioner
Hosted Compute Agent
Version: 20250825.382

Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter

Runner Image
Image: windows-2022
Version: 20250825.1.0
Current image version: '20250825.1.0'

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

NOTES

Yes, this is a private repo (paying customer) so you might need extra rights to access the links provided.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions