Skip to content

Git LFS fails to run correctly #6135

Closed
Closed

Description

@joshka

What version of Codex is running?

Cloud

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

No response

What issue are you seeing?

For ratatui/ratatui-website we use git lfs. I have an environment with a custom install script:

mise trust
mise install
git lfs install
git lfs pull
npm install
npx playwright install-deps
npm run build

It consistently fails during environment setup (try + retry), but succeeds when connecting to the interactive terminal on the environment page.

Causes this task to fail:
https://chatgpt.com/s/cd_69080e02c8d8819186acddc747da898b
ratatui/ratatui-website#905 (comment)

What steps can reproduce the bug?

See above

What is the expected behavior?

git lfs pull should work in the environment both interactive and automatic

Additional information

No response

Activity

  1. added
    bug
    on Nov 3, 2025
  2. added
    codex-web
    on Nov 3, 2025
  3. etraut-openai commented on Jan 17, 2026

    @etraut-openai
    Contributor

    Closing out old bugs.

  4. alexaka1 commented on Feb 26, 2026

    @alexaka1

    @etraut-openai This is not fixed, just because it is old. I am running into the same issue.

    has_lfs_endpoint() {
      local endpoint
      endpoint="$(git lfs env 2>/dev/null | awk -F': ' '/Endpoint/{print $2; exit}')"
      [ -n "$endpoint" ] && printf '%s' "$endpoint" | grep -Eq '^[a-zA-Z][a-zA-Z0-9+.-]*://' 
    }
    if [ -f .gitattributes ] && grep -q "filter=lfs" .gitattributes && command -v git-lfs >/dev/null 2>&1; then
      log 'Enable Git LFS support'
      git lfs install --local
      if has_lfs_endpoint; then
        log 'Refresh Git LFS content'
        git lfs pull
      else
        log 'Skipping Git LFS content refresh (no LFS endpoint configured in this session)'
      fi
    fi

    results in Skipping Git LFS content refresh (no LFS endpoint configured in this session).
    And of course lfs files are not checked out in the setup phase of the cloud env.

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

    bugcodex-web

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions