Skip to content

Remove orphaned agentmodels.org submodule gitlink - #237

Open
LeMurphant wants to merge 1 commit into
mainfrom
fix/remove-orphaned-agentmodels-gitlink
Open

Remove orphaned agentmodels.org submodule gitlink#237
LeMurphant wants to merge 1 commit into
mainfrom
fix/remove-orphaned-agentmodels-gitlink

Conversation

@LeMurphant

Copy link
Copy Markdown
Contributor

Problem

Every job in the daily dataset runs ends with a warning annotation:

fatal: No url found for submodule path 'data/raw/agentmodels.org' in .gitmodules
##[warning]The process '/usr/bin/git' failed with exit code 128

Example: run 32434577749 — 8 jobs, 8 identical annotations.

Cause

The repo tree contains a gitlink entry with no matching .gitmodules file:

160000 commit b0f5cd58faf279f53e3c1136e918e079cfaa6b1f	data/raw/agentmodels.org

It was added in 471fd8e (June 2023); .gitmodules was never committed alongside it. Any git submodule foreach consequently aborts with exit 128, and actions/checkout runs exactly that in its post-job cleanup ("Removing SSH command configuration").

Impact

Cosmetic only — the cleanup step swallows the failure, so jobs still report success. This just removes eight bogus annotations per daily run so real problems stay visible.

Why it's safe to drop

The gitlink is vestigial. AgentModels.setup() clones the upstream repo itself at runtime:

https://github.com/StampyAI/alignment-research-dataset/blob/main/align_data/sources/ebooks/agentmodels.py#L22-L28

Nothing reads a submodule at that path. After this change the repo has no gitlink entries at all.

🤖 Generated with Claude Code

The repo tree carried a gitlink entry for data/raw/agentmodels.org
(added in 471fd8e, June 2023) with no matching .gitmodules file. Any
`git submodule foreach` therefore aborted with:

    fatal: No url found for submodule path 'data/raw/agentmodels.org' in .gitmodules
    The process '/usr/bin/git' failed with exit code 128

actions/checkout runs `git submodule foreach` in its post-job cleanup,
so every CI job ended with that warning annotation. The jobs still
succeeded -- cleanup swallows the failure -- but it added eight noisy
annotations to each daily dataset run.

The gitlink is vestigial: AgentModels.setup() in
align_data/sources/ebooks/agentmodels.py clones the upstream repo into
raw_data_path itself at runtime, so nothing reads a submodule here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants