Schemas for connection config, and test script#512
Schemas for connection config, and test script#512cognite-bulldozer[bot] merged 5 commits intomasterfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces several new JSON schemas to formally define various configuration structures within the project, such as connection details, retry policies, and scheduling options. Additionally, it includes a new testing script designed to validate the proper generation of documentation and bundled versions for these schemas. These changes aim to improve configuration consistency, clarity, and maintainability by providing explicit schema definitions and automated verification. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces several new JSON schemas for configuration and a test script to validate them. My review focuses on improving the correctness and robustness of these schemas. I've identified a few areas for improvement: using standard JSON Schema keywords for better compatibility, adding missing validation for required properties, and enforcing specific string formats with patterns to prevent invalid configuration and potential runtime errors. These changes will make the schemas more reliable and easier to use.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #512 +/- ##
=======================================
Coverage 81.25% 81.25%
=======================================
Files 43 43
Lines 4210 4210
=======================================
Hits 3421 3421
Misses 789 789
🚀 New features to boost your workflow:
|
915047f to
af91747
Compare
|
🦄 |
We should verify that we can properly build docs and bundled schemas for the separate config schemas in this project.