Repository navigation
fix: allocate-definitive-ids builds the MONDO import module it reads - #2789
Merged
Merged
Conversation
The target loads efo-edit.owl's import closure so the rewritten edit file keeps the imports' declarations out of its stubs, but its only declared prerequisite was the edit file. mondo_import.owl is gitignored, so in a fresh CI checkout the catalog pointed at a file that did not exist and the first real run of the migrated target failed (master dffe357, the two EFO_099 test terms from #2786). Naming the module as a prerequisite makes the plan build it from the MONDO mirror before minting. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This was referenced Sep 3, 2026
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
The "Allocate definitive EFO IDs" workflow failed on the merge of #2786 (the first time the owlmake target actually ran with temporary IDs present):
mondo_import.owlis gitignored, so a fresh checkout does not have it, andallocate-definitive-idsdeclared onlyefo-edit.owlas a prerequisite. The mint step loads the import closure so the reserialised edit file does not gain declaration stubs for every referenced imported class, so the module is a real input of the target.Change
Adds
src/ontology/imports/mondo_import.owlto the target'sneedsinowlmake.yaml, so the plan builds it from the MONDO mirror before minting. No other import module is gitignored.Verification
Ran
om make allocate-definitive-idslocally withmondo_import.owlmoved aside: the plan rebuilt the module, then allocated the two test terms (EFO_0990001→EFO_0920136,EFO_0990002→EFO_0920137) changing 22 lines ofefo-edit.owland nothing else. The local edit file was restored afterwards; the allocation itself should happen on master via the workflow.After merge
This PR does not touch
efo-edit.owl, so the workflow's path filter will not fire on the merge; I will dispatch it manually and confirm the two test terms get definitive IDs.🤖 Generated with Claude Code