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

🐛 (grapher) delete stackMode=null from chart configs #3926

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

sophiamersmann
Copy link
Member

@sophiamersmann sophiamersmann commented Sep 5, 2024

In #3793, I removed null as an option from the Grapher schema. I thought I checked that we didn't have any nulls in the database, but apparently, I was wrong (see the validation error in Slack). This PR writes a migration to remove nulls from the database. I'm only doing this for chart configs since none of our indicator charts has the stackMode set to null.

I don't think null values currently have a way to get into the database. But if it happens, the validator will warn us again, and we can act then.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sophiamersmann and the rest of your teammates on Graphite Graphite

@sophiamersmann sophiamersmann marked this pull request as ready for review September 5, 2024 13:08
@sophiamersmann sophiamersmann force-pushed the cleanup-stack-mode-null branch from 32a948d to 5037f76 Compare September 5, 2024 13:10
@owidbot
Copy link
Contributor

owidbot commented Sep 5, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-cleanup-stack-mode-null

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-09-05 13:17:32 UTC
Execution time: 1.21 seconds

Copy link
Contributor

@danyx23 danyx23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good!

@sophiamersmann sophiamersmann merged commit d8f907c into master Sep 5, 2024
25 checks passed
@sophiamersmann sophiamersmann deleted the cleanup-stack-mode-null branch September 5, 2024 14:01
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.

3 participants