Skip to content

Keep loading a profile under the name datasets recorded it as - #226

Merged
sorenwacker merged 1 commit into
mainfrom
jerm-name-still-resolves
Aug 4, 2026
Merged

Keep loading a profile under the name datasets recorded it as#226
sorenwacker merged 1 commit into
mainfrom
jerm-name-still-resolves

Conversation

@sorenwacker

Copy link
Copy Markdown
Owner

Renaming jerm to seek (#225) would have stopped every dataset built against it from opening. A dataset stores the profile it was built with; the lookup would find nothing and it would refuse to load — not merely appear under a different label.

I could not check whether any production dataset uses the old name: the site responds 200 but SSH to the host is unreachable, so the database is not inspectable from here. A breaking change to live data should not rest on an assumption about that data.

SpecLoader.RENAMED_PROFILES maps a previous name to the current one, consulted only after the direct lookup fails. So a rename is a rename, rather than a migration every dataset owner has to perform.

An unknown profile still raises SpecLoadError, so the mapping cannot turn a typo into a silent fallback — that is one of the three tests.

2701 tests pass.

Renaming jerm to seek would have stopped every dataset built against it from
opening: a dataset stores the profile it was built with, the lookup would find
nothing, and it would refuse to load rather than simply being labelled
differently. Production could not be inspected to see whether any dataset uses
the old name -- the site is up but SSH is unreachable -- and a breaking change
to live data should not rest on an assumption.

A rename is now a rename. An unknown profile still raises, so the mapping
cannot turn a typo into a silent fallback.
@sorenwacker
sorenwacker merged commit cce2494 into main Aug 4, 2026
1 check passed
@sorenwacker
sorenwacker deleted the jerm-name-still-resolves branch August 4, 2026 18:47
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