Skip to content

fix(submodules): remove stale modules/bw-gdlib gitlink breaking CI - #249

Merged
kcw-grunt merged 1 commit into
developfrom
fix/claude-subodules-error
Jul 22, 2026
Merged

fix(submodules): remove stale modules/bw-gdlib gitlink breaking CI#249
kcw-grunt merged 1 commit into
developfrom
fix/claude-subodules-error

Conversation

@grunt-claude-bot

@grunt-claude-bot grunt-claude-bot commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Fix(submodules): Remove stale modules/bw-gdlib gitlink breaking CI

📱 Description

This PR removes the stale modules/bw-gdlib git submodule that was breaking the CI pipeline. The submodule appears to be no longer maintained or necessary for the project, and its presence was causing build failures during continuous integration.

Summary

  • CircleCI's setup_environment step runs git submodule sync --recursive && git submodule update --init --recursive on every build, and it's been failing with:
    fatal: no submodule mapping found in .gitmodules for path 'modules/bw-gdlib'
    
  • Root cause: commit 1b353ae (release/v4.9.4) renamed the bw-gdlib submodule from modules/bw-gdlib to bw-gdlib in .gitmodules, but never removed the old gitlink entry from the git tree. That left a dangling tracked gitlink at modules/bw-gdlib with no matching .gitmodules entry.
  • Fix: git rm --cached modules/bw-gdlib to drop the stale gitlink. The tree's 5 submodule entries (android-build-logic, app/src/main/jni/core, app/src/main/secp/secp256k1, bw-gdlib, modules/private-general-purpose) now match .gitmodules' 5 declared paths exactly.

Test plan

  • git submodule status runs clean with no errors (previously failed with the mapping error above)
  • Verified the 5 tracked gitlinks (git ls-files -s | grep 160000) exactly match the 5 path = entries in .gitmodules
  • CircleCI test-and-build workflow passes on this branch

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Platform

  • Android

🎯 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Refactoring (code change that neither fixes a bug nor adds a feature)
  • 📚 Documentation update
  • 🎨 UI/UX improvement
  • ⚡ Performance improvement
  • 🧪 Test addition or improvement

📋 Changes

New Components Added

None

Modifications

None

Removals

  • modules/bw-gdlib git submodule reference removed to resolve CI build failures caused by stale/unavailable submodule dependency

📊 Statistics

  • Additions: 0 lines
  • Deletions: 1 lines
  • Files Changed: 1
  • Commits: 1

🔗 Related Issues

  • Fixes CI build failures

🧪 Tests Status

  • Tests ran successfully locally?
  • Added more tests? How many?
  • Code coverage percentage of the codebase: __%

Commit 1b353ae (release/v4.9.4) renamed the bw-gdlib submodule from
modules/bw-gdlib to bw-gdlib in .gitmodules, but never removed the old
gitlink entry from the tree. That left a tracked gitlink at
modules/bw-gdlib with no corresponding .gitmodules mapping, so
`git submodule sync --recursive && git submodule update --init --recursive`
(CircleCI's setup_environment step) fails on every build with:

  fatal: no submodule mapping found in .gitmodules for path 'modules/bw-gdlib'

Removing the dangling gitlink brings the tree's 5 submodule entries back
in sync with .gitmodules' 5 declared paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Auto-generated by GitHub Copilot — edit as needed before merging.

Fix(submodules): Remove stale modules/bw-gdlib gitlink breaking CI

📱 Description

This PR removes the stale modules/bw-gdlib git submodule that was breaking the CI pipeline. The submodule appears to be no longer maintained or necessary for the project, and its presence was causing build failures during continuous integration.

Platform

  • Android

🎯 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Refactoring (code change that neither fixes a bug nor adds a feature)
  • 📚 Documentation update
  • 🎨 UI/UX improvement
  • ⚡ Performance improvement
  • 🧪 Test addition or improvement

📋 Changes

New Components Added

None

Modifications

None

Removals

  • modules/bw-gdlib git submodule reference removed to resolve CI build failures caused by stale/unavailable submodule dependency

📊 Statistics

  • Additions: 0 lines
  • Deletions: 1 lines
  • Files Changed: 1
  • Commits: 1

🔗 Related Issues

  • Fixes CI build failures

🧪 Tests Status

  • Tests ran successfully locally?
  • Added more tests? How many?
  • Code coverage percentage of the codebase: __%

📸 Screenshots/Videos

Before After
CI pipeline failing due to stale submodule CI pipeline resolves successfully

🎯 Reviewers

@kcw-grunt, @josikie


Draft Status: This PR is currently in draft mode and ready for review feedback.

@kcw-grunt kcw-grunt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🤖

@kcw-grunt
kcw-grunt merged commit 5eba52b into develop Jul 22, 2026
1 of 4 checks passed
@grunt-claude-bot grunt-claude-bot mentioned this pull request Jul 27, 2026
3 tasks
@kcw-grunt
kcw-grunt deleted the fix/claude-subodules-error branch July 29, 2026 09:12
@grunt-claude-bot grunt-claude-bot mentioned this pull request Jul 30, 2026
11 tasks
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.

3 participants