Skip to content

Bazel analysis fails calling io_fread on a directory #13718

@redsun82

Description

@redsun82

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

bazel

Package manager version

8.4.2

Language version

No response

Manifest location and content before the Dependabot update

/MODULE.bazel

dependabot.yml content

dependabot configuration

Updated dependency

No response

What you expected to see, versus what you actually saw

The updater failed with

updater | 2025/12/05 09:52:30 ERROR <job_1175020137> Error during file fetching; aborting: Is a directory @ io_fread - /home/dependabot/dependabot-updater/repo/java/kotlin-extractor/src
updater | 2025/12/05 09:52:30 ERROR <job_1175020137> Is a directory @ io_fread - /home/dependabot/dependabot-updater/repo/java/kotlin-extractor/src
2025/12/05 09:52:30 ERROR <job_1175020137> /home/dependabot/common/lib/dependabot/file_fetchers/base.rb:235:in 'IO.read'
2025/12/05 09:52:30 ERROR <job_1175020137> /home/dependabot/common/lib/dependabot/file_fetchers/base.rb:235:in 'Dependabot::FileFetchers::Base#load_cloned_file_if_present'
...

I wonder if this repository rule here is what threw the updater off.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

https://github.com/github/codeql/actions/runs/19959165523/job/57235136213

Smallest manifest that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions