Repository navigation
fix: update DataLad homes from origin only - #164
Merged
Merged
Conversation
Without a sibling, `datalad update` fetches from every remote of every dataset. Each template autoenables a git remote on GIN (gin-src), so a DataLad home failed to update whenever GIN refused one fetch, although the update merges from origin (GitHub) only. CircleCI's test_setup_home[on] failed this way when GIN answered 403 for all 30 templates. File contents are unaffected: git-annex still gets them from S3 or GIN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #164 +/- ##
=======================================
Coverage 77.62% 77.62%
=======================================
Files 9 9
Lines 447 447
Branches 82 82
=======================================
Hits 347 347
Misses 63 63
Partials 37 37
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
oesteban
marked this pull request as ready for review
December 3, 2026 18:52
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
oesteban
added a commit
that referenced
this pull request
Dec 3, 2026
#164 merged before its entry was pushed, so it comes here with this pull request's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DataLad homes failed to update whenever GIN refused a git fetch. Without a
sibling,datalad updatefetches from every remote of every dataset, and each template autoenables a git remote on GIN (gin-src,type=gitin itsremote.log). One refused fetch makes the update report an error, and the client'supdate()returnsFalse, although the update merges fromorigin(GitHub) only.File contents are unaffected:
datalad getstill goes through git-annex, which falls back between thes3export andgin-src.Evidence
testsfailed on docs: reorganize settings guidance #152, feat: read the v2 skeleton and resolve TemplateFlow 2.0 renames #160 and maint: require Python 3.13 or newer (SPEC 0) #162 withtest_setup_home[on] - assert False is True, after GIN answered 403 to thegin-srcfetches of the templates (all 30 on feat: read the v2 skeleton and resolve TemplateFlow 2.0 renames #160).gin.g-node.orgrewritten to an unreachable host (url.<x>.insteadOfin a private git config), DataLad 1.8.0, git-annex 10.20261113:tpl-onavgwere reset one commit back;DataladManager.update()returnedTrue(update (ok: 31)) and both came back toorigin's commits.test_datalad_update_fetches_origin(a stand-indatalad.api) fails on master and passes here;templateflow/tests/passes serially with DataLad installed (23 passed).Merge Danger
Door: two-way
Blast Radius: DataLad homes
A DataLad home now needs its
originsibling, whichdatalad installcreates for the superdataset and every template. Siblings a user added themselves are no longer fetched bytemplateflow update;datalad updatestill fetches them. No CHANGES entry here, to avoid a conflict with #160's 26.0.0 section: the line goes in with the release that carries this.