-
Notifications
You must be signed in to change notification settings - Fork 2
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
Patch main-ci workflow #434
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Suite Report(outdated run -- scroll down to next report 👇🏼 ) Template Generation
Manifest Validation
|
anngvu
force-pushed
the
patch/main-ci-workflow
branch
from
April 26, 2024 16:59
e346cee
to
7bb6837
Compare
anngvu
force-pushed
the
patch/main-ci-workflow
branch
from
April 26, 2024 20:06
7bb6837
to
f31c252
Compare
Test Suite Report 24.4.1Template Generation
Manifest Validation
|
Hey @allaway @cconrad8, I think we can merge this, just wanted you both to be aware that:
|
allaway
approved these changes
May 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this LGTM, thank you @anngvu !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this does
Update to schematic version 24.4.1, which supposedly should be faster for template generation and will appear soon in DCA
Better recognition of when to commit, easy fix for below instances (which happens 2-3% of the time?)
notes:
andsource:
in the src files inmodules
are like silent mutations and do not lead to meaningful changes in the jsonld, json filesRemove the
-rr
flag to exactly match our DCA config https://github.com/Sage-Bionetworks/data_curator_config/blob/prod/NF-OSI/dca_config.json#L25Notes for reviewers on interpreting results and followup investigation
Update 1
@allaway, it looks like generation works fine, something has changed with validation (compare with the tests from your recent PR #433 which used 24.2.1).
Error:
Looked a bit at the code around the indicated line... I will modify the mock manifests to understand what the expected behavior now when we specify a "num" rule.
https://github.com/Sage-Bionetworks/schematic/blob/c51af2d8419645fa04a13cc387e7811f1afe5b35/schematic/models/validate_attribute.py#L1025
Update 2
OK, I realized we need to remove the
-rr
flag now since we no longer want to restrict Great Expectations rules. Now the only issue is