Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-43472: Prompt Processing version 2 not compatible with Butler dimensions-config 6 #143

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

kfindeisen
Copy link
Member

@kfindeisen kfindeisen commented Mar 23, 2024

This PR adds a compatibility patch to keep Prompt Processing from crashing when working with version 6 central repositories.

Backwards-compatibility has been verified with unit tests, which emulate a version 4 repo.

To avoid potential deadlocks from trying to export all dimensions in
parallel, we instead export a hardcoded list of dimensions. This commit
adds a guard that ignores any dimensions that don't exist in the
current Butler version.

This guard is exercised by our unit tests, which use a version 4 repo.
This dimension is defined at ingest time, but our developer repos do
not guarantee that ingestion happens at all.
@kfindeisen kfindeisen merged commit 7079183 into main Mar 23, 2024
5 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-43472 branch March 23, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants