Skip to content

Github-hosted agents struggle due to missing LFS #3271

@basilevs

Description

@basilevs

AI agents are confused by LFS test links and have to investigate them in every session:

Ah, the .so files are ASCII text, not binary ELF files! They're likely Git LFS pointers or some kind of placeholder. That's why they fail with "invalid ELF header".I need to build the native libraries from source. Let me try the native build:

Would it be better to enable LFS support, if the repository is using LFS?

https://github.com/eclipse-platform/eclipse.platform.swt/blame/cf3719499a6732cfcb91587bc0aefc04b5a85e35/.github/workflows/copilot-setup-steps.yml#L18-L21

      - name: Checkout code
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
        with:
          lfs: false # why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions