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

[CHORE] elixir format and auto format check #4333

Merged
merged 13 commits into from
Oct 20, 2023
Merged

Conversation

eliknebel
Copy link
Contributor

@eliknebel eliknebel commented Oct 19, 2023

Add a CI check to auto format if possible and also require correct formatting in build step.

Most of the changes here are a result of simon-bot running the auto formatter.

This PR also includes a fix for a failing, non-deterministic tests for ingest_live, where the test would wait 1 second for the JSON validation to complete before checking the rendered html. Because of the validation performance issues, depending on the resources of the system and size of the digest, this could take longer than 1 second to complete and fail. I set the default of bypass JSON validation to be true and removed to toggle JSON validation, since this feature is not working correctly, we haven't kept up with the schemas, and it likely is only a burden on the system more-so than it is helpful.

Previewing the merge conflicts that will be caused in nextgen-ux, the conflicts appear to be manageable as long as we integrate master in as soon as we land this one.

Screenshot 2023-10-19 at 2 44 23 PM

Copy link
Contributor

@nicocirio nicocirio left a comment

Choose a reason for hiding this comment

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

This is really great! 😄

@darrensiegel darrensiegel merged commit 1b8f1c5 into master Oct 20, 2023
@darrensiegel darrensiegel deleted the elixir-auto-format branch October 20, 2023 13:36
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