Skip to content

fix: allocate-definitive-ids builds the MONDO import module it reads - #2789

Merged
jamesamcl merged 1 commit into
masterfrom
fix-allocate-ids-imports
Sep 3, 2026
Merged

jamesamcl merged 1 commit into
masterfrom
fix-allocate-ids-imports

Conversation

@jamesamcl

Copy link
Copy Markdown
Member

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):

`owl:imports <http://www.ebi.ac.uk/efo/imports/mondo_import.owl>` maps to
src/ontology/imports/mondo_import.owl in the catalog, which does not exist

mondo_import.owl is gitignored, so a fresh checkout does not have it, and allocate-definitive-ids declared only efo-edit.owl as 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.owl to the target's needs in owlmake.yaml, so the plan builds it from the MONDO mirror before minting. No other import module is gitignored.

Verification

Ran om make allocate-definitive-ids locally with mondo_import.owl moved aside: the plan rebuilt the module, then allocated the two test terms (EFO_0990001 → EFO_0920136, EFO_0990002 → EFO_0920137) changing 22 lines of efo-edit.owl and 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

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]>
@jamesamcl
jamesamcl merged commit f9b1162 into master Sep 3, 2026
1 check passed
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.

1 participant