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

[MAINTENANCE] Enforce consistent JSON schema through usage stats #4499

Merged
merged 5 commits into from
Mar 22, 2022

Conversation

cdkini
Copy link
Member

@cdkini cdkini commented Mar 22, 2022

Please annotate your PR title to describe what the PR does, then give a brief bulleted description of your PR below. PR titles should begin with [BUGFIX], [FEATURE], [DOCS], or [MAINTENANCE]. If a new feature introduces breaking changes for the Great Expectations API or configuration files, please also add [BREAKING]. You can read about the tags in our contributor checklist.

Changes proposed in this pull request:

Definition of Done

Please delete options that are not relevant.

  • My code follows the Great Expectations style guide
  • I have performed a self-review of my own code
  • I have run any local integration tests and made sure that nothing is broken.

Thank you for submitting!

@netlify
Copy link

netlify bot commented Mar 22, 2022

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit 48837b4
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/623a4522833a23000a4269e3
😎 Deploy Preview https://deploy-preview-4499--niobium-lead-7998.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@cdkini cdkini self-assigned this Mar 22, 2022
@cdkini cdkini marked this pull request as draft March 22, 2022 13:50
Comment on lines -262 to +264
"$schema": "https://json-schema.org/schema#",
"$schema": SCHEMA,
Copy link
Member Author

Choose a reason for hiding this comment

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

This minor deviation was causing an issue and defaulting to the latest schema (which is version 8 or so?). This was caught during the War on Warnings.

Copy link
Member Author

Choose a reason for hiding this comment

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

Note that JSONSchema doesn't love HTTPS in these keys for some reason - following the docs, I kept the HTTP consistent.

@cdkini cdkini marked this pull request as ready for review March 22, 2022 15:25
Copy link
Member

@anthonyburdi anthonyburdi left a comment

Choose a reason for hiding this comment

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

LGTM! Very DRY

@cdkini cdkini enabled auto-merge (squash) March 22, 2022 17:40
@cdkini cdkini merged commit 599a660 into develop Mar 22, 2022
@cdkini cdkini deleted the maintenance/ensure-consistent-schema-in-usage-stats branch March 22, 2022 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants